Skip to content

Commit

Permalink
more perm adds
Browse files Browse the repository at this point in the history
  • Loading branch information
timothy-ellis-ky committed Sep 19, 2024
1 parent 35f1420 commit 0983b64
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion ops/terraform/env/mgmt/cloudwatch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ resource "aws_iam_policy" "github_actions_ci_ops" {
"ec2:DescribeRouteTables",
"ec2:DescribeVpcs",
"ec2:GetEbsEncryptionByDefault",
"ec2:GetEbsDefaultKmsKeyId",
"ec2:GetManagedPrefixListEntries",
"route53:ListHostedZones",
"s3:ListAllMyBuckets",
Expand Down Expand Up @@ -119,9 +120,26 @@ resource "aws_iam_policy" "github_actions_ci_ops" {
Effect = "Allow"
Action = [
"quicksight:Get*",
"quicksight:Describe*"
"quicksight:Describe*",
"quicksight:List*"
]
Resource = "*"
},
{
Sid = "AllowGetRootHostedZone"
Effect = "Allow"
Action = [
"route53:GetHostedZone"
]
Resource = aws_route53_zone.zones["root"].arn
},
{
Sid = "AllowListingRoute53ResourceRecordSets"
Effect = "Allow"
Action = [
"route53:ListResourceRecordSets"
]
Resource = "arn:aws:route53:::hostedzone/*"
}
]
Version = "2012-10-17"
Expand Down

0 comments on commit 0983b64

Please sign in to comment.