Terraform is a famous declarative infrastructure as code IAC tool.
-
terraform version
-
terraform init
-
terraform plan
-
terraform apply ls terraform.tfstate*
-
terraform version
-
terraform init && terraform version
-
vi xxx.tf
-
terraform validate && terraform plan -out /tmp/plan
-
terraform apply /tmp/plan
-
terraform validate && terraform plan -out /tmp/plan
-
terraform plan -var 'cluster_size="2"'
-
terraform remote push (minio) S3 / consul from iac book
katakoda