Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terraform is trying to modify account IAM Policy even if service_account_token_creator_list is not set #68

Open
sebastianrtb opened this issue Aug 7, 2024 · 1 comment

Comments

@sebastianrtb
Copy link

When running terraform for adtech setup, it modifies service IAM policy even though service_account_token_creator_list is not set in adtech_setup.auto.tfvars

It is problematic because we are running periodically terraform plan to check if there were no manual modifications in our environment. Unfortunately we need to add some IAM permissions to our service account configured in adtech_setup.aut.tfvars as deploy_service_account_email.

Could you change the terraform script so that if service_account_token_creator_list is not set (or is empty), then you will skip modification of account IAM policy?

@nlrussell
Copy link
Collaborator

Hi @sebastianrtb, thanks for the feedback. Let me investigate if there's a any known issues with the GCP Terraform provider, or if there's changes that can be made to resolve this. I'll reach back out with some follow up questions if I have any!

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

No branches or pull requests

2 participants