Skip to content

Commit

Permalink
feat: Add permissions to access repository credentials to `ecs_task_a…
Browse files Browse the repository at this point in the history
…ccess_secrets` (terraform-aws-modules#306)

Co-authored-by: Michael Kania <[email protected]>
Co-authored-by: Bryant Biggs <[email protected]>
  • Loading branch information
3 people authored Nov 3, 2022
1 parent e6dd6cd commit 15e9d9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,8 @@ data "aws_iam_policy_document" "ecs_task_access_secrets" {
aws_ssm_parameter.atlantis_github_user_token[*].arn,
aws_ssm_parameter.atlantis_gitlab_user_token[*].arn,
aws_ssm_parameter.atlantis_bitbucket_user_token[*].arn,
aws_ssm_parameter.atlantis_github_app_key[*].arn
aws_ssm_parameter.atlantis_github_app_key[*].arn,
try(var.repository_credentials["credentialsParameter"], [])
])

actions = [
Expand Down

0 comments on commit 15e9d9b

Please sign in to comment.