Skip to content

Commit

Permalink
fix SSM actions
Browse files Browse the repository at this point in the history
  • Loading branch information
timothy-ellis-ky committed Sep 19, 2024
1 parent eaa182c commit a9d298d
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions ops/terraform/env/mgmt/cloudwatch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,12 @@ resource "aws_iam_policy" "github_actions_ci_ops" {
]
Resource = "*"
},
{
Sid = "AllowGetHostedZoneParams"
Effect = "Allow"
Action = [
"ssm:GetParameter"
]
Resource = [
"arn:aws:ssm:${local.region}:${local.account_id}:parameter/bfd/mgmt/common/sensitive/r53_hosted_zone_root_domain",
"arn:aws:ssm:${local.region}:${local.account_id}:parameter/bfd/mgmt/common/sensitive/r53_hosted_zone_root_is_private"
]
},
{
Sid = "AllowGetParams"
Effect = "Allow"
Action = [
"ssm:GetParametersByPath"
"ssm:GetParametersByPath",
"ssm:GetParameter"
]
Resource = [
"arn:aws:ssm:${local.region}:${local.account_id}:parameter/bfd/*"
Expand Down

0 comments on commit a9d298d

Please sign in to comment.