Skip to content

Commit

Permalink
move policy
Browse files Browse the repository at this point in the history
  • Loading branch information
abikouo committed Nov 15, 2022
1 parent c9a638e commit 251ccf6
Showing 1 changed file with 23 additions and 24 deletions.
47 changes: 23 additions & 24 deletions aws/policy/application-services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,29 @@ Statement:
- cloudformation:ListResources
- cloudformation:UpdateResource
###
- cloudfront:CreateDistribution
- cloudfront:CreateDistributionWithTags
- cloudfront:DeleteDistribution
- cloudfront:UpdateDistribution
- cloudfront:GetDistribution
- cloudfront:GetDistributionConfig
- cloudfront:GetStreamingDistribution
- cloudfront:GetStreamingDistributionConfig
- cloudfront:ListCloudFrontOriginAccessIdentities
- cloudfront:ListDistributions
- cloudfront:ListDistributionsByWebACLId
- cloudfront:ListStreamingDistributions
- cloudfront:CreateCloudFrontOriginAccessIdentity
- cloudfront:DeleteCloudFrontOriginAccessIdentity
- cloudfront:GetCloudFrontOriginAccessIdentity
- cloudfront:GetCloudFrontOriginAccessIdentityConfig
- cloudfront:UpdateCloudFrontOriginAccessIdentity
- cloudfront:GetInvalidation
- cloudfront:CreateInvalidation
- cloudfront:TagResource
- cloudfront:UntagResource
- cloudfront:ListTagsForResource
- cloudfront:DeleteStreamingDistribution
- codebuild:BatchGetProjects
- codebuild:ListProjects
- codecommit:ListRepositories
Expand Down Expand Up @@ -113,29 +136,6 @@ Statement:
- cloudformation:SetStackPolicy
- cloudformation:UpdateStack
- cloudformation:UpdateTerminationProtection
- cloudfront:CreateDistribution
- cloudfront:CreateDistributionWithTags
- cloudfront:DeleteDistribution
- cloudfront:UpdateDistribution
- cloudfront:GetDistribution
- cloudfront:GetDistributionConfig
- cloudfront:GetStreamingDistribution
- cloudfront:GetStreamingDistributionConfig
- cloudfront:ListCloudFrontOriginAccessIdentities
- cloudfront:ListDistributions
- cloudfront:ListDistributionsByWebACLId
- cloudfront:ListStreamingDistributions
- cloudfront:CreateCloudFrontOriginAccessIdentity
- cloudfront:DeleteCloudFrontOriginAccessIdentity
- cloudfront:GetCloudFrontOriginAccessIdentity
- cloudfront:GetCloudFrontOriginAccessIdentityConfig
- cloudfront:UpdateCloudFrontOriginAccessIdentity
- cloudfront:GetInvalidation
- cloudfront:CreateInvalidation
- cloudfront:TagResource
- cloudfront:UntagResource
- cloudfront:ListTagsForResource
- cloudfront:DeleteStreamingDistribution
- cloudwatch:DeleteAlarms
- cloudwatch:DescribeAlarms
- cloudwatch:PutMetricAlarm
Expand Down Expand Up @@ -190,7 +190,6 @@ Statement:
Resource:
- 'arn:aws:ssm:{{ aws_region }}:{{ aws_account_id }}:document/*'
- 'arn:aws:cloudformation:{{ aws_region }}:{{ aws_account_id }}:stack/*'
- 'arn:aws:cloudfront::{{ aws_account_id }}:distribution/*'
- 'arn:aws:cloudwatch:{{ aws_region }}:{{ aws_account_id }}:alarm:*'
- 'arn:aws:codebuild:{{ aws_region }}:{{ aws_account_id }}:*'
- 'arn:aws:codecommit:{{ aws_region }}:{{ aws_account_id }}:*'
Expand Down

0 comments on commit 251ccf6

Please sign in to comment.