terragrunt icon indicating copy to clipboard operation
terragrunt copied to clipboard

Create a built-in function to get the GCP project id

Open bschaatsbergen opened this issue 2 years ago • 0 comments

Similar to the existing AWS built-in functions (e.g. get_aws_account_id(), it would be nice to add some more GCP built-in functions.

To start with, getting the GCP project ID. If I recall correctly FindDefaultCredentials returns Credentials which contains a ProjectID.

Proposed new built-in function: get_gcp_project_id()

bschaatsbergen avatar Jul 10 '22 09:07 bschaatsbergen