2018-03-07 17:16:04 +01:00
|
|
|
{
|
|
|
|
"Version": "2012-10-17",
|
|
|
|
"Statement": [
|
|
|
|
{
|
|
|
|
"Sid": "ManageRoute53ForTests",
|
|
|
|
"Effect": "Allow",
|
|
|
|
"Action": [
|
|
|
|
"route53:CreateHostedZone",
|
2019-11-18 14:48:59 +01:00
|
|
|
"route53:ChangeResourceRecordSets",
|
2018-03-07 17:16:04 +01:00
|
|
|
"route53:DeleteHostedZone",
|
|
|
|
"route53:GetHostedZone",
|
|
|
|
"route53:ListHostedZones",
|
2019-11-18 14:48:59 +01:00
|
|
|
"route53:ListResourceRecordSets",
|
2018-03-07 17:16:04 +01:00
|
|
|
"route53:UpdateHostedZoneComment"
|
|
|
|
],
|
|
|
|
"Resource": "*"
|
2019-03-14 00:42:33 +01:00
|
|
|
},
|
2019-11-13 21:27:35 +01:00
|
|
|
{
|
|
|
|
"Sid": "AllowInternetGatewayManagement",
|
|
|
|
"Effect": "Allow",
|
|
|
|
"Action": [
|
|
|
|
"ec2:CreateInternetGateway",
|
|
|
|
"ec2:DeleteInternetGateway",
|
|
|
|
"ec2:DescribeInternetGateways"
|
|
|
|
],
|
|
|
|
"Resource": "*"
|
|
|
|
},
|
2019-03-14 00:42:33 +01:00
|
|
|
{
|
|
|
|
"Sid": "AllowTransitGatewayManagement",
|
|
|
|
"Effect": "Allow",
|
|
|
|
"Action": [
|
|
|
|
"ec2:CreateTransitGateway",
|
|
|
|
"ec2:DeleteTransitGateway",
|
|
|
|
"ec2:DescribeTransitGateways"
|
|
|
|
],
|
|
|
|
"Resource": "*"
|
2019-07-04 21:25:19 +02:00
|
|
|
},
|
2019-10-08 22:27:25 +02:00
|
|
|
{
|
|
|
|
"Sid": "AllowUnspecifiedEC2NetworkingResource",
|
|
|
|
"Effect": "Allow",
|
|
|
|
"Action": [
|
|
|
|
"ec2:AllocateAddress",
|
|
|
|
"ec2:AssociateAddress",
|
|
|
|
"ec2:AssociateDhcpOptions",
|
|
|
|
"ec2:AssociateRouteTable",
|
|
|
|
"ec2:AssociateVpcCidrBlock",
|
|
|
|
"ec2:AssociateSubnetCidrBlock",
|
|
|
|
"ec2:AttachInternetGateway",
|
|
|
|
"ec2:AttachNetworkInterface",
|
|
|
|
"ec2:AttachVpnGateway",
|
|
|
|
"ec2:CreateCustomerGateway",
|
|
|
|
"ec2:CreateDhcpOptions",
|
|
|
|
"ec2:CreateNatGateway",
|
|
|
|
"ec2:CreateNetworkAcl",
|
|
|
|
"ec2:CreateNetworkAclEntry",
|
|
|
|
"ec2:CreateNetworkInterface",
|
|
|
|
"ec2:CreateRoute",
|
|
|
|
"ec2:CreateRouteTable",
|
|
|
|
"ec2:CreateSubnet",
|
|
|
|
"ec2:CreateVpc",
|
|
|
|
"ec2:CreateVpnConnection",
|
|
|
|
"ec2:CreateVpnGateway",
|
|
|
|
"ec2:DeleteCustomerGateway",
|
|
|
|
"ec2:DeleteDhcpOptions",
|
|
|
|
"ec2:DeleteInternetGateway",
|
|
|
|
"ec2:DeleteNatGateway",
|
|
|
|
"ec2:DeleteNetworkAcl",
|
|
|
|
"ec2:DeleteNetworkAclEntry",
|
|
|
|
"ec2:DeleteNetworkInterface",
|
|
|
|
"ec2:DeleteRoute",
|
|
|
|
"ec2:DeleteRouteTable",
|
|
|
|
"ec2:DeleteSubnet",
|
|
|
|
"ec2:DeleteVpc",
|
|
|
|
"ec2:DeleteVpnConnection",
|
|
|
|
"ec2:DeleteVpnGateway",
|
|
|
|
"ec2:DetachInternetGateway",
|
|
|
|
"ec2:DetachVpnGateway",
|
|
|
|
"ec2:Describe*",
|
|
|
|
"ec2:DisassociateAddress",
|
|
|
|
"ec2:DisassociateRouteTable",
|
|
|
|
"ec2:DisassociateSubnetCidrBlock",
|
2019-11-14 21:36:42 +01:00
|
|
|
"ec2:DisassociateVpcCidrBlock",
|
2019-10-08 22:27:25 +02:00
|
|
|
"ec2:ModifySubnetAttribute",
|
|
|
|
"ec2:ModifyVpcAttribute",
|
|
|
|
"ec2:ReleaseAddress",
|
|
|
|
"ec2:ReplaceNetworkAclAssociation",
|
|
|
|
"ec2:ReplaceNetworkAclEntry",
|
|
|
|
"ec2:ReplaceRouteTableAssociation"
|
|
|
|
],
|
|
|
|
"Resource": "*"
|
|
|
|
},
|
2019-07-04 21:25:19 +02:00
|
|
|
{
|
|
|
|
"Sid": "AllowCloudfrontUsage",
|
|
|
|
"Effect": "Allow",
|
|
|
|
"Action": [
|
|
|
|
"cloudfront:CreateDistribution",
|
|
|
|
"cloudfront:CreateDistributionWithTags",
|
|
|
|
"cloudfront:CreateCloudFrontOriginAccessIdentity",
|
|
|
|
"cloudfront:DeleteDistribution",
|
|
|
|
"cloudfront:GetDistribution",
|
|
|
|
"cloudfront:GetStreamingDistribution",
|
|
|
|
"cloudfront:GetDistributionConfig",
|
|
|
|
"cloudfront:GetStreamingDistributionConfig",
|
|
|
|
"cloudfront:GetInvalidation",
|
|
|
|
"cloudfront:ListDistributions",
|
|
|
|
"cloudfront:ListDistributionsByWebACLId",
|
|
|
|
"cloudfront:ListInvalidations",
|
|
|
|
"cloudfront:ListStreamingDistributions",
|
|
|
|
"cloudfront:ListTagsForResource",
|
|
|
|
"cloudfront:TagResource",
|
|
|
|
"cloudfront:UntagResource",
|
|
|
|
"cloudfront:UpdateDistribution"
|
|
|
|
],
|
|
|
|
"Resource": "*"
|
2018-03-07 17:16:04 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|