【AWS】CloudFormation ~ 開発環境 ~

■ はじめに

https://dk521123.hatenablog.com/entry/2021/10/26/224812
https://dk521123.hatenablog.com/entry/2021/12/01/170326

の続き。

CloudFormation のテンプレート作成は
テキストエディタ さえ開発できるが、
サポートしてくれるツールもあるらしいので、メモ。

https://youtu.be/Viyqh9fNBjw?t=1070

の 17:50 以降で説明されている。

目次

【1】開発環境
 1)Editor : VS Code
 2)Lint tool:CloudFormation Linter (cfn-lint)
 3)自動補完機能 : CloudFormation template schema

【1】開発環境

環境サンプル

1)Editor : VS Code
2)Lint tool:CloudFormation Linter (cfn-lint)
3)自動補完機能 : CloudFormation template schema

1)Editor : VS Code

* 以下の関連記事を参照のこと。

https://dk521123.hatenablog.com/entry/2019/10/20/230323

2)Lint tool:CloudFormation Linter (cfn-lint)

 VS Code のプラグインにおいて
「cfn」で検索すると出てくるのでインストールする

https://aws.amazon.com/jp/blogs/news/git-pre-commit-validation-of-aws-cloudformation-templates-with-cfn-lint/

3)自動補完機能 : CloudFormation template schema

* 設定の仕方は、以下を参照。

https://github.com/aws-cloudformation/cloudformation-template-schema/blob/master/docs/vscode/instructions.md

関連記事

CloudFormation ~ 入門編 ~
https://dk521123.hatenablog.com/entry/2021/10/26/224812
CloudFormation ~ 基本編 ~
https://dk521123.hatenablog.com/entry/2021/12/01/170326