0
0

terraform -target=module.xxx コマンドで一部のモジュールだけ実行する

Last updated at Posted at 2023-09-26

tfファイルの例

module "s3_log" {
  source = "modules/s3"
}

この例であれば s3_log をコマンドで指定すれば良い

コマンド例

terraform apply -target=module.s3_log

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

Twitter

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