Terraform
流れ state ファイルをローカルに持ってくる backend をローカルに変更 terraform state mv を実行 terraform state push を実行 backend を Terraform Cloud に戻す(この時に、state を overwrite する) state ファイルをローカルに持ってくる terraform st…
方法 モジュール random_password を使う https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/password ほぼ同じ random_string もある。 random_password は生成結果を標準出力に出さないため、 random_string よりセキュア …
久しぶりに使うことになったのでアンラーニングを兼ねてメモ Terraformって何? クラウドインフラに対するinfrastructure as code。クラウドインフラの設定をコード化して、保存/実行できる www.terraform.io infrastructure as codeできると何が良いの? コー…