How to provide acce...
 
Notifications
Clear all

How to provide access to enable termination protection through AWS policy

2 Posts
1 Users
0 Likes
872 Views
amrit_3327
(@amrit_3327)
Trusted Member
Joined: 4 years ago
Posts: 65
Topic starter  

Policy to give the mentioned permissions.


   
Quote
amrit_3327
(@amrit_3327)
Trusted Member
Joined: 4 years ago
Posts: 65
Topic starter  

{
"Sid": "AllowTerminationProtectionDisable",
"Effect": "Allow",
"Action": "ec2:ModifyInstanceAttribute",
"Resource": "*",
"Condition": {
"ForAnyValue:StringLike": {
"ec2:Attribute/DisableApiTermination": "*"
}
}


   
ReplyQuote
Share: