python terraform destroy auto approve not working
I have a python code that performs terraform plan, apply and destroy.
Terraform plan and apply work fine, but destroy crashes with error
Terraform SSH from local machine
I am trying to find a way of setting up ssh connection when creating a vm with terraform. I would like to be able to to copy my ssh key stored on my local machine to the remote machine being created by terraform.
Terraform command to download configuration of resources that is compatible to the module main.tf format
I have a lab system where I have some resources. I want to replicate that into another system and manage it in the new system using terraform.
Is there a terraform command that downloads the configuration of the resources from the lab system, that I can then use in the resource module main.tf file?
calling issue from terraform to source bitbucket in terraform
module “abc” {
source = “ssh::git//[email protected]:7999/abc/modules.git//terraform-aws-security-group-master?ref=master”
}
Terraform for partial api (only delete and read)
im having resource with only read and delete API,
considering that the create and update are not accessible to the terraform users how should the terraform code should be look for this resource?
Terraform “strcontains” not working, is this “strcontains” correct?
When I trying to using tf strcontains to find the sub string on given string getting below exception.
Filter list on given attribute value
I have a list like this :
Invalid expression
Here is my code
Optional dynamic block in Terraform module
I built a Terraform module ‘aws-lambda-with-role’ that pretty much does what it says. I’ve used it quite a bit and it suits my needs well.
What does migrate state mean in terraform?
I have been using terraform for a few months now, but I still dont get, why I would need migrate-state and what the difference is to reconfigure. Can please someone explain this in simple terms, when and why this is needed?