From e21f7b79052315c0161ee0a8d5b94af39c0ecb10 Mon Sep 17 00:00:00 2001 From: GlennChia Date: Wed, 6 Jul 2022 10:47:36 +0800 Subject: [PATCH] feat(cfn): vpc DeletionPolicy Retain --- .../change-cfn-stack-name/02-vpc-retain.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 blog-assets/change-cfn-stack-name/02-vpc-retain.yaml diff --git a/blog-assets/change-cfn-stack-name/02-vpc-retain.yaml b/blog-assets/change-cfn-stack-name/02-vpc-retain.yaml new file mode 100644 index 0000000..7b6658b --- /dev/null +++ b/blog-assets/change-cfn-stack-name/02-vpc-retain.yaml @@ -0,0 +1,13 @@ +AWSTemplateFormatVersion: 2010-09-09 + +Description: Deploys a VPC + +Resources: + Vpc: + Type: AWS::EC2::VPC + DeletionPolicy: Retain + Properties: + CidrBlock: 10.0.0.0/16 + Tags: + - Key: Name + Value: rename-stack-demo \ No newline at end of file