CU-DBMI / gc-cloud-storage-bucket

Template for creating Cloud Storage bucket on Google Cloud.
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Use cookiecutter variable for TF operations `backend` specification #12

Closed d33bs closed 6 months ago

d33bs commented 7 months ago

Terraform does not appear to allow the use of variables within backend specifications. This issue highlights the need to fix https://github.com/CU-DBMI/gc-cloud-storage-bucket/blob/main/%7B%7B%20cookiecutter.project_name%20%7D%7D/terraform/operations/backend.tf#L4 with a cookiecutter substitution to avoid issues during TF implementation.

d33bs commented 7 months ago

Same applies to account specifications here https://github.com/CU-DBMI/gc-cloud-storage-bucket/blob/main/%7B%7B%20cookiecutter.project_name%20%7D%7D/terraform/operations/accounts.tf#L4

This was encountered due to service account character limits.