Merging remote state file objects in Terraform 0.12.x
@moorichardmoo wrote: Using Terraform v0.12.9 I’m working on upgrading a project from version 0.11.x to 0.12.9. In this project, each terraform stack references a large number of remote state files....
View ArticleAzure provider information requested for a connection prerequisite for Azure...
@kimdav111 wrote: #Unable to find information regarding azure provider information in ARM or using azure CLI? #I looked in the portal and google but none are providing the information? #needing the...
View ArticleAttache different multiple policies to multiple users with for_each
@mo-saeed wrote: Terraform Version 0.12.7 Terraform Configuration Files resource "aws_iam_user" "test" { for_each = "${var.svcMap}" name = "${var.svcMap[each.key]}" } resource...
View ArticleGet matching element
@KalyanSista wrote: Hi - This is my remote state file output. How can I find value matching the string ‘APPGATEWAYS’. Any help is appreciated. "vnet_subnet_ids": { "value": [...
View ArticleUnable to delete Redshift Cluster because it require a FinalSnapshotIdentifier
@hdryx wrote: Hi, I created a module for Redshift, it works very well until today when i wanted to do a destroy. I’m getting this error : Error: Redshift Cluster Instance FinalSnapshotIdentifier is...
View ArticleUnnecessary destruction when attributes depend on another resource that is...
@tmccombs wrote: It seems that if a resource would be created if an attribute changes, and that attribute is unknown during the plan phase, because an upstream dependency is recreated, then the...
View ArticleUnable to export service account key in Terraform #GCP
@MeghanaSrinath wrote: I have downloaded the GCP service account key to my local system. In Terraform, I have set the GOOGLE_APPLICATION_CREDENTIALS as a path to this file in the startup-script part...
View Article#AWS#terraform: Updating compute environment
@mangin wrote: Hi there, What I have? aws terraform compute environment batch queue launch template What is the problem? I had tried to update some properties of launch template (for example updating...
View ArticleRemote plans using Terraform Cloud ask for variables that are already loaded
@juan-pascale wrote: Hi all! Running a plan locally stopped working a couple of hours ago. Now is asking for variables and when the plan runs directly on Terraform Cloud it works. Someone else is...
View ArticleTerraform not assigning public ip to all instances
@kpskohli wrote: The below code should create 3 VM’s with 3 public IP’s. It is not doing that? I have following terraform code: resource "aws_subnet" "public_subnet" { count = "3" vpc_id =...
View ArticleIs there a list of source ip addresses/networks for Terraform Cloud runs?
@guhcampos wrote: My use case should be fairly common I guess: I want to manage a Google Cloud SQL instance using the Terraform PostgreSQL provider. I don’t want to open my instance to the whole world...
View ArticleTerraform to connect VM instance with Cloud SQL in GCP
@maheshsubramanian52 wrote: I am able to write a terraform script to create VPC, Subnetwork and VM instance in Google cloud. Able to write a script to create Cloud SQL and then ‘mysql’ instance. Now I...
View ArticleCustom provider contribution to the Terraform Community providers - how long...
@jenyss wrote: Hi, I have submitted a request to add a new community provider here https://www.terraform.io/docs/providers/type/community-index.html I did it more than a week ago and have not received...
View ArticleALL aws_volume_attachment getting recreated when adding new EBS disk to the list
@vmorkunas wrote: Hello, I have a code which works fine on all cases except when new EBS disk is added to the list. On second apply it destroys all EBS attachments and creates them again. I also build...
View ArticleAws iam access key rotation
@mo-saeed wrote: Hello, I am trying to implement automation for rotation iam_access_key, is there anyway of doing this with terraform ? Thanks a lot Posts: 1 Participants: 1 Read full topic
View ArticleError when running terraform init
@andymadge wrote: This is basically the same issue as reported here and here When I run terraform init I get the following error: $ terraform init monitoring/S3Bucket/ Initializing the backend......
View ArticleNew to Terraform error with backend.tf and s3 bucket
@stubbsy07 wrote: Hi I am new to terraform and have tried to config a s3 bucket as a backend repository by setting the following in backend.tf: Terraform { Backend “s3” { bucket = “bucketname/” region...
View ArticleShellscript variable to another resource in terraform
@dhineshbabuelango wrote: Hi All, We are planning to create a terraform resource for creating private hosted Zone and associate a load balancer to the private hosted zone but to get the load balancer...
View ArticleForcing a dependancy between local_file and null_resource resources
@wgoulet wrote: Hi, I’ll explain my use case first so that my problem is understood (and perhaps others can suggest a better way to solve it than what I’ve come up with!). I need to upload a base64...
View ArticleUse module to return nested block
@ashepherd-mvf wrote: Is there a way for modules to output nested blocks that would be used within resources the calling terraform template? From what i’ve read modules can create resources and output...
View Article