Notifications
Clear all

How to provide access to enable termination protection through AWS policy


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

Policy to give the mentioned permissions.


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

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


ReplyQuote
Share: