Skip to content

Instantly share code, notes, and snippets.

@kei-q
Created September 1, 2015 08:58
Show Gist options
  • Save kei-q/2d3c6673b69ec6437ba5 to your computer and use it in GitHub Desktop.
Save kei-q/2d3c6673b69ec6437ba5 to your computer and use it in GitHub Desktop.
cloudFormationで新しいresource追加したいけどうっかり既存のresourcesが更新されたら困る!!!!ときのpolicy
{
"Statement" : [
{
"Effect" : "Allow",
"Principal" : "*",
"Action" : "Update:*",
"Resource" : "*"
},
{
"Effect": "Deny",
"Action": "Update:*",
"Principal": "*",
"Resource": "LogicalResourceId/*"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment