Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #56 from GlennChia/feature/cfn-change-stack-name-blog
Browse files Browse the repository at this point in the history
Feature/cfn change stack name blog
  • Loading branch information
annaone authored Jul 11, 2022
2 parents 4df6bae + ae7850e commit 328d491
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
12 changes: 12 additions & 0 deletions blog-assets/change-cfn-stack-name/01-vpc-basic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
AWSTemplateFormatVersion: 2010-09-09

Description: "Deploys a VPC (qs-1t72ibrq5)"

Resources:
Vpc:
Type: AWS::EC2::VPC
Properties:
CidrBlock: 10.0.0.0/16
Tags:
- Key: Name
Value: rename-stack-demo
13 changes: 13 additions & 0 deletions blog-assets/change-cfn-stack-name/02-vpc-retain.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 328d491

Please sign in to comment.