Answers for "terraform"

0

terraform init

#Commands from Terraform Init
#upgrade modules and plugins
terraform init -upgrade
#Skip Backend Initialization
terraform init -backend=false
#Skip Child Module Initialization
terraform init -get=false
#Skip Plugin initialization
terraform init -get-plugins=false
#Copy a Source Module
terraform init -from-module=MODULE-SOURCE

#During initialization the plugins are stored in below location

On most operationg systems :         ~/.terraform.d/plugins
on Windows                 :         %APPDATA%\terraform.d\plugins
Posted by: Guest on September-17-2020
0

terraform taint

#Commands for Terraform Taint
terraform taint [options] address

#Read State file from different path
terraform taint -state=path

#Tainting a single resource
terraform taint aws_security_group.allow_all

#tainting resource within a module
terraform taint "module.couchbase.aws_instance.cb_node[9]
Posted by: Guest on September-17-2020
0

terraform

terraform destroy -target=resource_type.resource_name
Posted by: Guest on June-21-2021
0

terraform

terraform init
terraform plan
terraform apply    \\for show and save s
terraform apply --auto-approve   //withot write yes
terraform destroy
Posted by: Guest on October-07-2021

Browse Popular Code Answers by Language