Skip to content

Using Read-Only User 'planner' for Terraform Plans #74

Discussion options

You must be logged in to vote

I see. Yes you added the the data team correctly to assume the planner team role, but you also need to grant the data permission to access Terraform State (arn:aws:iam::xxx:role/org-core-gbl-root-tfstate)

You'll need to add data to var.allowed_roles for your given terraform backend

# stacks/catalog/tfstate-backend.yaml
components:
  terraform:
    tfstate-backend:
...
      vars:
...
        access_roles:
          default: &access-template
            write_enabled: true
            allowed_roles:
              core-root:
                - "admin"
              core-identity:
                - "devops"
                - "developers"
                - "managers"
                - "planners"

Replies: 2 comments 4 replies

Comment options

milldr
May 27, 2025
Maintainer Sponsor

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@milldr
Comment options

milldr May 27, 2025
Maintainer Sponsor

Answer selected by mtb-xt
@AleksandrMatveev
Comment options

@mtb-xt
Comment options

@milldr
Comment options

milldr May 28, 2025
Maintainer Sponsor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants