LoginSignup
3
4

More than 5 years have passed since last update.

清書はそのうちやる。

cfn-initとは

この記事読むといいと思う
http://dev.classmethod.jp/cloud/aws/cfn-init/

何に使う?

CloudFormationテンプレートのMetadataに書いた内容を読み込んで処理してくれる。
※MetadataないLogical_IDを指定すると怒られる

$ cfn-init -s STACK_NAME -r Logical_ID --region REGION
Param 入れるプロパティ
STACK_NAME CloudFormationのスタック名
Logical ID テンプレートの名前
REGION リージョン

Logical IDって?

こいつ
CloudFormation_Management_Console.png

JSONファイルだとここ
anegawa-hvm_json_-__Users_dc_hideokamoto_develop_amimot-enterprise-cfn_-_Atom.png

MetadataとかUserDataってどう書けばいいの?

今触ってるところだからちょい待ち

3
4
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
3
4