0
0

CloudShell で cfn-lint と cfn-nag を使う

Posted at

使ってみたかったけど環境を準備するのが面倒だったので CloudShell で使えるようにする方法を調べました。

CloudFormation のテンプレートは template に格納しているとします。

cfn-lint
pip install cfn-lint

# バージョン確認
cfn-lint --version

# 使い方
cfn-lint template/*
cfn-nag
sudo dnf install -y ruby ruby-devel gcc
sudo gem update --system
sudo gem install cfn-nag

# バージョン確認
cfn_nag --version

# 使い方
cfn_nag_scan --input-path template
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