指定したスタックのスタックポリシーを設定します。 詳細は次のリンクを参照してください。 https://docs.aws.amazon.com/ja_jp/cli/latest/reference/cloudformation/set-stack-policy.html
aws cloudformation set-stack-policy --stack-name hoge-stack --stack-policy-body=file://./hoge_policy.json |
CloudFormationのスタックポリシーでUpdate:*をDenyしててもやはり消える時は消える、という話及び削除への対処 - でこてっくろぐ ねお : http://dekotech.dekokun.info/entry/2017/04/16/222314 |
aws cloudformation set-stack-policy --stack-name YourStackName --stack-policy-url https://s3-ap-northeast-1.amazonaws.com/YourBucketName/DenyUpdateSt |
[小ネタ]AWS CloudFormationでアップデートスタックを禁止してみた | Developers.IO : http://dev.classmethod.jp/cloud/aws/disable-update-stack/ |
aws cloudformation set-stack-policy --profile |
Secure your stack from accidental deletion of resources like EC2 instance. Enable and Disable stack policy during updates. 揃 GitHub : http://gist.github.com/dcloud9/8510774f1c24e80722fa |
aws cloudformation set-stack-policy --stack-name |
amazon web services - Clear stack policy in Cloudformation? - Stack Overflow : http://stackoverflow.com/questions/50852308/clear-stack-policy-in-cloudformation |