Skip to content

feat(infra): provision cloud run and artifact registry via terraform - #7

Merged
Dawacode merged 1 commit into
mainfrom
feature/terraform-cloudrun
Oct 10, 2026
Merged

Dawacode merged 1 commit into
mainfrom
feature/terraform-cloudrun

Conversation

@Dawacode

Copy link
Copy Markdown
Collaborator

Summary

Provisions Google Cloud Run and Artifact Registry infrastructure using Terraform, enabling automated container deployments with public invoker access.

Changes

  • Configured Terraform provider for Google Cloud (europe-north1).
  • Added google_artifact_registry_repository (devops-repo) for private container images.
  • Added google_cloud_run_v2_service (devops-app) configured for container port 8000.
  • Configured IAM member granting roles/run.invoker to allUsers for public HTTP traffic.
  • Defined outputs for the Artifact Registry path and Cloud Run service URL.
  • Added Terraform state and binary patterns to .gitignore.

Verification

  • Executed terraform apply successfully in europe-north1.
  • Built and pushed custom Docker image (app:v1) to Artifact Registry.
  • Validated that Cloud Run successfully handles traffic on port 8000 via the public service URL.
  • Verified zero configuration drift with terraform plan.

@Dawacode
Dawacode merged commit 298ef5b into main Oct 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant