hashicorp / terraform

Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
https://www.terraform.io/
Other
42.33k stars 9.49k forks source link

Remote state object acls #18909

Open joe-boyce opened 5 years ago

joe-boyce commented 5 years ago

Hoping someone has a suggestion or has come across this issue before

Basically we have the following setup:

This works fine once the object acl's are set on the particular state file BUT when a change is made to that resource core/teamA/firewall_rules such as adding a new rule, terraform writes the file with the default object acls and removes the existing acl's set for teamA

We can't add teamA to the default object acl's though as they should only have access to read their relevant state files

Any ideas or workarounds?

Thanks,

Joe

joe-boyce commented 5 years ago

Any idea's on this one?