2020-05-01から1ヶ月間の記事一覧
gitignoreの設定をせずにcommitしていたら、100MBを超えるファイルをコミットしてしまい、 githunにpushができなくなってしまった、、 $ git push Counting objects: 29, done. Delta compression using up to 4 threads. Compressing objects: 100% (24/24)…
variable 変数を定義することができる。 variable "example_instancetype" { default = "t3.micro" } resource "aws_instance" "example" { ami = "ami-0c3fd0f5d33134a76" instance_type = var.example_instancetype } variableで定義した変数は実行する際…
Terraformのインストール brew installするだけ $brew install terraform # インストールできたらバージョンを確認 $ terraform --version Terraform v0.12.25 tfenvのインストール tfenvはTerraformのバージョンマネージャ。 tfenvを使うと、Terraformのバ…