CloudFormation Designer
- CodeCommit, CodeBuildは扱えない
- CloudFormation自体では対応しているので,テンプレートに直書きは可能
CloudFormation from CLI
環境
- Windows 10 Pro
- PoserShell
- aws cli は下記2つを両方試し,どちらでも後述のエラー発生
- pip経由で導入したCLI
- MSIインストーラで導入したCLI
PowerShellでの
aws cloudformation validate ...
実行時に下記エラー
Error parsing parameter '--template-body': Unable to load paramfile (filename.yaml), text contents cloud not be decoded.
- ファイル形式をShift JISにするとエラーが消える
- ファイル形式をUTF-8にするとエラーが出る
- 結局修正方法まではたどり着かず…
次に試すこと
Test-CFNTemplate
Cmdletを試す
他作業中に気づきがあったら随時追記
Tagged: #AWS #CloudFormation