mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
2.3 KiB
JSON
69 lines
2.3 KiB
JSON
7 years ago
|
{
|
||
|
"Version": "2012-10-17",
|
||
|
"Statement": [
|
||
|
{
|
||
|
"Sid": "AllowRDSModuleTests",
|
||
|
"Effect": "Allow",
|
||
|
"Action": [
|
||
|
"rds:DescribeDBInstances",
|
||
|
"rds:CreateDBInstance",
|
||
|
"rds:ModifyDBInstance",
|
||
|
"rds:ListTagsForResource",
|
||
|
"rds:DeleteDBInstance"
|
||
|
],
|
||
|
"Resource": [
|
||
|
"arn:aws:rds:{{aws_region}}:{{aws_account}}:db:ansible-testing*"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"Sid": "AllowRDSInstanceManageOwnInstance",
|
||
|
"Effect": "Allow",
|
||
|
"Action": [
|
||
|
"rds:CreateDBInstance",
|
||
|
"rds:ModifyDBInstance",
|
||
|
"rds:ListTagsForResource",
|
||
|
"rds:DescribeDBInstances"
|
||
|
],
|
||
|
"Resource": [
|
||
|
"arn:aws:rds:{{aws_region}}:{{aws_account}}:db:rds-*"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"Sid": "AllowRDSSnapshotManageSnapshots",
|
||
|
"Effect": "Allow",
|
||
|
"Action": [
|
||
|
"rds:DescribeDBSnapshots",
|
||
|
"rds:DescribeDBInstances",
|
||
|
"rds:DescribeDBSnapshots",
|
||
|
"rds:DeleteDBInstance",
|
||
|
"rds:CreateDBSnapshot",
|
||
|
"rds:DeleteDBSnapshot",
|
||
|
"rds:RestoreDBInstanceFromDBSnapshot",
|
||
|
"rds:CreateDBInstanceReadReplica"
|
||
|
],
|
||
|
"Resource": [
|
||
|
"arn:aws:rds:{{aws_region}}:{{aws_account}}:snapshot:snapshot-*",
|
||
|
"arn:aws:rds:{{aws_region}}:{{aws_account}}:snapshot:rds-*",
|
||
|
"arn:aws:rds:{{aws_region}}:{{aws_account}}:db:rds-*"
|
||
|
]
|
||
7 years ago
|
},
|
||
|
{
|
||
|
"Sid": "AllowRDSParameterGroupManagement",
|
||
|
"Effect": "Allow",
|
||
|
"Action": [
|
||
|
"rds:DescribeDBParameterGroups",
|
||
|
"rds:DescribeDBParameters",
|
||
|
"rds:CreateDBParameterGroup",
|
||
|
"rds:DeleteDBParameterGroup",
|
||
|
"rds:ModifyDBParameterGroup",
|
||
|
"rds:ListTagsForResource",
|
||
|
"rds:AddTagsToResource",
|
||
|
"rds:RemoveTagsFromResource"
|
||
|
],
|
||
|
"Resource": [
|
||
|
"arn:aws:rds:{{aws_region}}:{{aws_account}}:pg:*"
|
||
|
]
|
||
7 years ago
|
}
|
||
|
]
|
||
|
}
|