Who should be able to read Terraform state?
BeginnerProductionSecurity, Secrets and Access
Answer
Only the pipeline roles and a small audited group, because state contains secrets and a full inventory of the environment. If many teams need outputs, publish them through SSM or a read-only outputs stack rather than granting state access.
More on Security, Secrets and Access
How do you avoid hardcoded credentials in Terraform?BeginnerIs reading a secret with a data source safe?IntermediateHow do ephemeral resources and write-only arguments keep secrets out of state?AdvancedWhat is the better pattern for RDS master passwords?BeginnerHow do you scope IAM for the Terraform deploy role?IntermediateWhat are dynamic provider credentials in HCP Terraform?Intermediate