Create the tags and assign to ECS
Create the users and groups in RAM
Create the custom policy and grant the permissions to group
{ "Statement": [ { "Action": "ecs:*", "Effect": "Allow", "Resource": "*", "Condition": { "StringEquals": { "ecs:tag/app": "Demoapp" "ecs:tag/team": "om" } } }, { "Action": "ecs:DescribeTag*", "Effect": "Allow", "Resource": "*" }, { "Action": "rds:*", "Effect": "Allow", "Resource": "*", "Condition": { "StringEquals": { "rds:ResourceTag/app": "Demoapp", "rds:ResourceTag/team": "om" } } }, { "Action": "rds:DescribeTag*", "Effect": "Allow", "Resource": "*" } ], "Version": "1" }
Test the authorization
|
|
Latest likes:![]() |