Skip to content

Commit

Permalink
CCL-509 updated aws_iam_role to use environment
Browse files Browse the repository at this point in the history
  • Loading branch information
mynampatinaveen committed Sep 5, 2024
1 parent ca02f29 commit bb87c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/products/static-site/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ resource "aws_iam_role" "static_site_actions_push" {
}
Condition = {
StringLike = {
"token.actions.githubusercontent.com:sub" : "repo:${var.tenant_vars.repository}:environment:${var.tenant_vars.environment}"
"token.actions.githubusercontent.com:sub" : "repo:${var.tenant_vars.repository}:environment:${var.tenant_vars.github_environment_name}"
"sts:RoleSessionName" : "GitHubActions"
}
StringEquals = {
Expand Down

0 comments on commit bb87c26

Please sign in to comment.