2020-07-13から1日間の記事一覧
たとえば、Terraformで外部モジュールをGitリポジトリで参照している場合を考えます。 Module Sources / Generic Git Repository module "vpc" { source = "git::https://example.com/vpc.git" } module "storage" { source = "git::ssh://username@example.…
これは、なにをしたくて書いたもの? Terraformを使っていると、自分でモジュールを作ることがあります。 最初は、自前のルートモジュール内にサブモジュールを作り、こんな感じで使うのだと思います。 module "my_module" { source = "./modules/my_module"…