AWS CloudFormation Concepts: Difference between revisions
Jump to navigation
Jump to search
(→Stack) |
(→Stack) |
||
Line 11: | Line 11: | ||
{{External|[https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html Working with Stacks]}} | {{External|[https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html Working with Stacks]}} | ||
A stack is a collection of AWS resources that can be managed (create, update or delete) as a single unit. All resources in a stack are defined by the stack's [[#Template|AWS CloudFormation template]]. | A stack is a collection of AWS resources that can be managed (create, update or delete) as a single unit. All resources in a stack are defined by the stack's [[#Template|AWS CloudFormation template]]. Because AWS CloudFormation treats the stack resources as a single unit, they must all be created or deleted successfully for the stack to be created or deleted. If a resource cannot be created, AWS CloudFormation rolls the stack back and automatically deletes any resources that were created. If a resource cannot be deleted, any remaining resources are retained until the stack can be successfully deleted. | ||
=Template= | =Template= |
Revision as of 19:36, 11 March 2019
External
Internal
Stack
A stack is a collection of AWS resources that can be managed (create, update or delete) as a single unit. All resources in a stack are defined by the stack's AWS CloudFormation template. Because AWS CloudFormation treats the stack resources as a single unit, they must all be created or deleted successfully for the stack to be created or deleted. If a resource cannot be created, AWS CloudFormation rolls the stack back and automatically deletes any resources that were created. If a resource cannot be deleted, any remaining resources are retained until the stack can be successfully deleted.