LoginSignup
0
0

More than 3 years have passed since last update.

CloudFormation 基本 リソースのみ指定の場合

Posted at

Resources(リソース)
 論理ID(なんて名前にする?)
  リソースタイプ(何を作る?)
  プロパティ(設定リスト)
   プロパティ(設定①): xxxxxx
    -埋め込みプロパティ(設定)
   プロパティ(設定②): xxxxxx
    -埋め込みプロパティ(設定)
   プロパティ(設定③): xxxxxx
    -埋め込みプロパティ(設定)
       

AWSTemplateFormatVersion: '2010-09-09' #CloudFormationテンプレートの指定(1つしかない)
Resources: #リソース指定
  FirstVPC: #名前を指定する(任意)あとで参照する機会あり
    Type: AWS::EC2::VPC
    Properties:
      CidrBlock: 10.0.0.0/16 
      tags:
        Key: Name
        Value: 任意で名前を指定

※インデントを気をつけないとエラーをはく
 

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0