-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Amazon EC2 Cookbook
By :
When you update a stack using AWS CloudFormation, it compares the current version of the template with the previous one and then updates the AWS resources accordingly. You can specify stack policies to avoid accidental updates to your AWS resources. You can also use a single stack policy to specify the restrictions for multiple resources. However, you can only apply one stack policy for the stack at any given time. Stack policies are specified in the JSON format. If you don't specify a stack policy for your stack then, by default, you will be able to update any of the resources. Also, if a stack policy is specified, then, by default, it will restrict all updates unless you explicitly specify Allow statements for your resources.
Follow these steps to update your stack:
webserverautoscalingpolicy.json) with the following content:{
"Statement" : [
{
"Effect" : "Deny",
"Action...
Change the font size
Change margin width
Change background colour