1 Answer
- Newest
- Most votes
- Most comments
0
I havent tried this before, however in the documentation the Case is different than your policy..
Try blockDeviceMapping
Your Instance policy may need to have instance/* for any Instance unless you remove that due to being sensitive
Relevant content
- asked 10 months ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 3 years ago
this is my policy now, it still doesnt work
{ "Version": "2012-10-17", "Statement": [ { "Sid": "VisualEditor0", "Effect": "Allow", "Action": "ec2:ModifyInstanceAttribute", "Resource": "*", "Condition": { "StringEquals": { "ec2:Attribute": "blockDeviceMapping" } } } ] }
What about "BlockDeviceMappings"? Is there any chance that your policy will not work because it is not in the plural?