FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

main.tf: don't ignore changes in name

Merged Dr Rich Wareham requested to merge hotfix-cloud-run-name into master

Ignoring changes in name means that one can never run terraform deployments beyond the initial creation of the webapp service. Terraform will always modify a service in-place but try to use the same name which negates the point of setting the name in the google_cloud_run_service.webapp resource.

The downside of this is that one can't then deploy changes without deleting and re-creating random_id.webapp_revision_name resource but that is at least documented in the README.

This is due to be fixed in an upcoming Google provider for terraform: https://github.com/terraform-providers/terraform-provider-google/issues/5898

Edited by Dr Rich Wareham

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading