FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

remove random generated name hack

Merged Dr Rich Wareham requested to merge issue-4-autogenerate-name into master

We no longer need the random id hack for generating Cloud Run resource names as the provider now supports an autogenerate_revision_name flag which allows Google to generate the appropriate resource name for us.

Tested with the card database development instance by alternately re-deploying the development environment from the GitLab UI and then changing the max_scale parameter of the service. Previously attempting to modify a service once GitLab had deployed to it caused an error about name re-use. This is no longer the case with this MR applied.

Note: deployments making use of this will have to use a Google provider version > 3.16 and so a minimum provider version has been specified for the module. I'll prepare a related MR for the boilerplate although terraform init should be clever enough to install the Right Thing (TM) without changing existing deployments.

Closes #4 (closed)

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
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading