Skip to content

Instantly share code, notes, and snippets.

@overnew
Last active March 25, 2024 04:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save overnew/526109bfeeb3f870e14a76cad127ab6e to your computer and use it in GitHub Desktop.
Save overnew/526109bfeeb3f870e14a76cad127ab6e to your computer and use it in GitHub Desktop.
AWS_VPC yaml example
AWSTemplateFormatVersion: 2010-09-09
Description: Deploy VPC
Resources:
VPC:
Type: AWS::EC2::VPC
Properties:
CidrBlock: 10.0.0.0/16 # CIDR 범위를 하드 코딩, 입력 값으로 받을 수도 있다.
EnableDnsHostnames: true # DNS를 할당하도록 활성화
Tags: #태깅 작업
- Key: Name
Value: Test VPC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment