0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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

Last updated at Posted at 2024-09-16

使ってみたかったけど環境を準備するのが面倒だったので 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 -N

# バージョン確認
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?