seahaven-org-baseline/lib/hcptf-bootstrap/trust-apply.json.tmpl

19 lines
506 B
Cheetah
Raw Normal View History

{
"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"
}
}
}
]
}