Skip to content

Instantly share code, notes, and snippets.

@takat0-h0rikosh1
Last active April 28, 2022 03:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takat0-h0rikosh1/dcd5192b26eaca6f9710455a0487cdbc to your computer and use it in GitHub Desktop.
Save takat0-h0rikosh1/dcd5192b26eaca6f9710455a0487cdbc to your computer and use it in GitHub Desktop.
Terraform の階層化フィールドの ignore_changes 備忘録

cloud composer の terraform リソース定義において pypi_packages の階層化がキツすぎて ignore するのに手こずったのでメモしておく。

  lifecycle {
    ignore_changes = [
      config[0].software_config[0].pypi_packages,
    ]
  }

ちなみに ignore したかったのは pypi ライブラリの管理は dag 管理用のリポジトリにおまかせしたかったため。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment