This is a terraform tutorial for docker and kubenates.
Ref: https://www.terraform.io/docs/ -> provider: to choose infrastructure
terraform apply "docker-config.tfplan"
terraform apply "k8s-config.tfplan"
- terraform plan => check *.tf and create plan
- terraform apply "plan" => start terraform deployment
- terraform destroy "plan"
- terrafrom show
Note: To specify need to save plan by terraform plan -target module.name -out name.tfplan
- download package from https://www.terraform.io/downloads.html
- extract file
- make as binary
- set executable path like $PATH