<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ggen-yutakei</author_name>
  <author_url>https://blog.hatena.ne.jp/ggen-yutakei/</author_url>
  <blog_title>G-gen Tech Blog</blog_title>
  <blog_url>https://blog.g-gen.co.jp/</blog_url>
  <categories>
    <anon>トラブルシューティング</anon>
    <anon>Cloud Build</anon>
    <anon>Google Cloud</anon>
  </categories>
  <description>G-gen の武井です。組織のポリシーでリソースロケーションに制約のあるプロジェクトで gcloud builds submit (Cloud Build のビルドコマンド) を実行したところ、HTTPError 412 エラーが出力され Docker イメージのビルドに失敗する事象が起きました。 当記事では、事象の原因と対策をご紹介します。 事象 構成 実行内容 エラーの詳細 原因 調査 判明した原因 対処法 その他 事象 構成 今回問題のあった環境は、組織 example.co.jp のツリー構造に属するプロジェクトの一つです。 組織レベルで constraints/gcp.resourc…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.g-gen.co.jp%2Fentry%2Ftroubleshoot-cloudbuild-with-org-policy-resource-locations&quot; title=&quot;リソースロケーションに制約のある環境でCloud Buildがエラーになる(HTTPError 412) - G-gen Tech Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/g/ggen-sugimura/20240524/20240524090014.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-05-24 09:00:00</published>
  <title>リソースロケーションに制約のある環境でCloud Buildがエラーになる(HTTPError 412)</title>
  <type>rich</type>
  <url>https://blog.g-gen.co.jp/entry/troubleshoot-cloudbuild-with-org-policy-resource-locations</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
