seahaven-org-baseline/lib/hcptf-bootstrap/trust-apply.json.tmpl
Adam Moussa 4f0d84cddb
Some checks are pending
Deploy / deploy-management (push) Waiting to run
Deploy / deploy-external-dev (push) Waiting to run
Deploy / deploy-security (push) Waiting to run
Deploy / deploy-dev (push) Waiting to run
Deploy / deploy-prod (push) Waiting to run
fix(iam): use unique HCP bootstrap workspace names (PLAT-143) (#138)
HCP workspace names are org-unique, so prod and dev cannot both be iam-bootstrap. Pin trust to iam-bootstrap-prod and iam-bootstrap-dev.
2026-09-02 15:51:39 +00:00

18 lines
506 B
Cheetah

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Federated": "arn:aws:iam::__ACCOUNT_ID__:oidc-provider/app.terraform.io"
},
"Action": "sts:AssumeRoleWithWebIdentity",
"Condition": {
"StringEquals": {
"app.terraform.io:aud": "aws.workload.identity",
"app.terraform.io:sub": "organization:seahaven:project:__HCP_PROJECT__:workspace:__BOOTSTRAP_WORKSPACE__:run_phase:apply"
}
}
}
]
}