Terraform remote-exec provisioner not working
@kaushalshriyan wrote: Hi, I am referring to https://www.terraform.io/docs/provisioners/remote-exec.html#script-arguments to install the Nginx web server on the remote server. cat main.tf variable...
View ArticleAzure Key Vault - Certificate Authority
@theRyanElliott wrote: Currently, we have an Azure Key Vault, storing certificates for 2 of our domains (app service, plan, etc. all within Azure). My questions are: Can you provision a Certificate...
View ArticleOutput used availability zones
@throwaway8787 wrote: I have a VPC module. I have an RDS module. In the RDS module I want to specify the ‘availability_zones’ option. In my VPC module I decide which availability zones to use by: Get...
View ArticleError: Reserved block type name in provider block
@mod0gsm1th wrote: The block type name “locals” is reserved for use by Terraform in a future version. Code below; locals { backend_address_pool_name = “azurerm_virtual_network.MDSVnet.name-beap”...
View ArticleHelp assigning multiple IP addresses to an Azure NIC with for_each
@michaelmathisjr wrote: Hi, I am trying to create a NIC in Azure with multiple assigned IP addresse using the for_each to iterate the ip_configuration. However, the resulting configuration in Azure is...
View ArticleHow do I pass sensitive variable values when running a command locally
@dancrumb wrote: I have Terraform Cloud set up to store my state and manage my workspaces. I need to import a resource into one of my resources, so I thought I’d try terraform import <addr>...
View ArticleMysql table creation in terraform
@sarath5075 wrote: Hi Team, I have created AWS RDS, Database, schema and users in mysql through terraform. I want to create the tables and insert the data, is it possible? If so please provide me...
View ArticleDefault in variable object
@FernandoMiguel wrote: should this work, if the var passed on, doesn’t have the default value filled in? variable “variable” { description = “configs” type = list( object( { arg1 = string arg2 =...
View ArticleAlert and policies dependency problem
@arashbi wrote: I am trying to change an alert which is buggy. The alert is used in a few policies of course. When I change the alert, and run terraform plan it shows all the changes, and it seems...
View ArticleHow to associate multiple Floating ip address to multiple instance in openstack
@allaboutsunil wrote: i am using terraform 0.12 version with the openstack rocky version. I know we are not using “count” in this version so how can we get the 5 instance to get the 5 floating ip...
View ArticleHow to call the data defined in the data source
@allaboutsunil wrote: i have created a image using packer with the tags=packer-terraform now i would like to call the image_id in my terraform file (.tf). provider is openstack version rocky and...
View ArticleConnection Blocks and destroy-time provisioners
@ajchiarello wrote: I’m in the process of converting all my scripts to be compatible with the changes to destroy-time provisioners, and I have a question about connection blocks. I have one defined...
View ArticleLearning YAML and JSON
@timstspry wrote: I am completely new to Terraform. That being said, I am beginning my education with how to use Terraform and I have seen lots of references to using YAML. I have also seen lots of...
View ArticleTerraform destroy duration: huge difference between local and remote
@cloudmaniac wrote: Hi there, I continue my exploration of Terraform Cloud capabilities. There is one thing that is weird: when I destroy AWS resources (such as an S3 bucket) using Terraform Cloud, it...
View ArticleProblem with creating lambda_layer
@nan008 wrote: I am trying to create lambda_layer and according to your Notes on https://www.terraform.io/docs/providers/aws/r/lambda_function.html#lambda-layers it can import layer_arn instead of the...
View ArticleHow to allow a user to specify an arbitrary number of resources for an...
@monocongo wrote: I am attempting to provide the ability to specify an arbitrary number of resources in a variables file and based on the configuration specified therein use various Terraform...
View ArticleTerraform registry unable to publish a module
@okgolove wrote: Hi. I have a public repo in organization https://github.com/DevopsCare/terraform-jenkins I’ve authorized hashicorp app for organization successfully but I can’t publish the module to...
View ArticleLinux profile configuration while creating kubernetes cluster
@thgsiddhimorajkar wrote: While creating a kubernetes cluster using Terraform, i want to make use of admin username and admin password instead of the SSK key path. Is that possible? Posts: 1...
View ArticleHow to loop through dashboard template files
@virtualbubble wrote: I there a way to loop through template files? I would like to provide a list of filenames and get terraform to loop through them. Is it possible to use the for or foreach?...
View ArticleTesting the property's value of a list item in an acceptance test
@nboukeffa wrote: Hi guys, I would like to know if it’s possible to test the property’s value of a list item in an acceptance test. In the following example I want to verify that the networks list has...
View Article