Answer: For Amazon Bedrock, configure AWS to allow GitLab CI jobs to assume an IAM role via OIDC (no static keys), using GitLab CI/CD variables AWS_ROLE_TO_ASSUME and AWS_REGION. For Google Cloud's Agent Platform, configure Google Cloud to allow GitLab CI jobs to impersonate a service account via Workload Identity Federation, using variables GCP_WORKLOAD_IDENTITY_PROVIDER, GCP_SERVICE_ACCOUNT, and GCP_PROJECT_ID. Status: Confirmed Entry: tool/claude-code/integrations/gitlab-bedrock-google-cloud Revision: 1 Digest: sha256:18d9de616e04245f (changes whenever the content changes) Timeline: Created: 2026-11-13T03:04:16Z Last changed: 2026-11-13T03:04:16Z Last verified: 2026-11-20T12:20:59Z Next check: 2026-11-21T12:20:59Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Bedrock role variable | AWS_ROLE_TO_ASSUME | [1] | 2026-11-20 Bedrock region variable | AWS_REGION | [1] | 2026-11-20 Bedrock auth method | OIDC | [1] | 2026-11-20 GCP workload identity provider variable | GCP_WORKLOAD_IDENTITY_PROVIDER | [1] | 2026-11-20 GCP service account variable | GCP_SERVICE_ACCOUNT | [1] | 2026-11-20 GCP project ID variable | GCP_PROJECT_ID | [1] | 2026-11-20 GCP auth method | Workload Identity Federation | [1] | 2026-11-20 Sources: [1] Anthropic. "Claude Code GitLab CI/CD". https://code.claude.com/docs/en/gitlab-ci-cd.md Role: primary. Accessed: 2026-11-20T12:20:59Z Quote: "`AWS_ROLE_TO_ASSUME` (role ARN)" (Supports: Bedrock role variable) Quote: "`AWS_REGION` (Amazon Bedrock region)" (Supports: Bedrock region variable) Quote: "Configure AWS to allow GitLab CI jobs to assume an IAM role via OIDC (no static keys)." (Supports: Bedrock auth method) Quote: "`GCP_WORKLOAD_IDENTITY_PROVIDER` (provider resource name without the `//iam.googleapis.com/` prefix" (Supports: GCP workload identity provider variable) Quote: "`GCP_SERVICE_ACCOUNT` (service account email)" (Supports: GCP service account variable) Quote: "`GCP_PROJECT_ID` (Google Cloud project ID)" (Supports: GCP project ID variable) Quote: "Configure Google Cloud to allow GitLab CI jobs to impersonate a service account via Workload Identity Federation." (Supports: GCP auth method) Published: 2026-11-20T03:10:58Z Snapshot SHA-256: 0511eaba5a9b283724ccfdd0e421e54491f7a90e0494f7e5df3d5c8d3728a69a (captured 2026-11-19T12:16:34Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:04:16Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:20:59Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:20:59Z Last attempt: 2026-11-20T12:20:59Z Notes and limitations: Extracted automatically from a single official source (section "Using with Amazon Bedrock and Google Cloud"). Related: https://latestn.com/tool/claude-code/integrations/gitlab-cicd-setup How do I set up Claude Code with GitLab CI/CD? https://latestn.com/tool/claude-code/integrations/install-capture-hook How do I install the capture hook on my test runner for Claude Code self-hosted environment testing? https://latestn.com/tool/claude-code/integrations/manage-code-review-repositories How do I add repositories or turn off Code Review for a repository in Claude? https://latestn.com/tool/claude-code/integrations/github-actions-cloud-provider-prerequisites What prerequisites do I need before setting up Claude Code GitHub Actions with a cloud provider? https://latestn.com/tool/claude-code/integrations/github-actions-oidc-cloud-setup How do I set up OIDC authentication so Claude Code GitHub Actions can access my cloud provider without storing long-lived credentials? https://latestn.com/tool/claude-code/integrations/github-trigger-events Which GitHub events can trigger a Claude Code scheduled task? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:04:16Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/integrations/gitlab-bedrock-google-cloud/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/integrations/gitlab-bedrock-google-cloud POST: https://latestn.com/dispute/tool/claude-code/integrations/gitlab-bedrock-google-cloud with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/integrations/gitlab-bedrock-google-cloud?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure Claude Code to use Amazon Bedrock or Google Cloud in GitLab CI/CD? Revision 1, last verified 2026-11-20T12:20:59Z. https://latestn.com/tool/claude-code/integrations/gitlab-bedrock-google-cloud (accessed 2026-11-21T09:53:23Z). @misc{LatestN_tool_claude_code_integrations_gitlab_bedrock_google_cloud_r1, title = {How do I configure Claude Code to use Amazon Bedrock or Google Cloud in GitLab CI/CD?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/integrations/gitlab-bedrock-google-cloud}}, note = {Revision 1; digest sha256:18d9de616e04245f; last verified 2026-11-20T12:20:59Z; accessed 2026-11-21T09:53:23Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/integrations/gitlab-bedrock-google-cloud