Quantcast
Channel: Terraform - HashiCorp Discuss
Browsing all 11361 articles
Browse latest View live

Terraform custom provider: how to get the resource name

@sandrose wrote: (topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) Posts: 1 Participants: 1 Read full topic

View Article


Looping through a map, multiple keys?

@davidcsi wrote: Fairly new to terraform, but loving it! I need to create mulitple healthcheck with different configuration each. for instance: say i have 2 servers that need to have HC: ip_address =...

View Article


An argument named "Upgrade_Policy_Mode" is not expected here

@GaryTrembath wrote: were is the correct placement of the option upgrade_policy_mode = “Manual” Within the azurerm_windows_virtual_machine_scale_set resource Ive complied the following resource...

View Article

Can Terraform be used to provision a Hyper-V machine

@timstspry wrote: Hello, I am reading the book Terraform Up & Running and it says that Terraform can be used to provision infrastructure on virtualization platforms such as OpenStack and VMWare....

View Article

Rename windows 2016 instances on bootup/creation

@tdubb123 wrote: How do I rename the windows 2016 instances in the guest VM after they have been creasted? Posts: 1 Participants: 1 Read full topic

View Article


Output without resource

@davidcsi wrote: Hello, Is it possible to generate outputs WITHOUT resources?? something like: # Configure the AWS Provider provider "aws" { alias = "use1" version = "~> 2.0" } variable "servers" {...

View Article

Image may be NSFW.
Clik here to view.

Terraform_0.12.24 Cannot find AWS plugin v2.56.0

@timstspry wrote: Hello, I upgraded to this version of Terraform yesterday. When I do Terraform init, it checks for available provider plugins and I get an error message stating “Failed to find plugin...

View Article

Image may be NSFW.
Clik here to view.

Build map using 2 list(string)

@opsrom wrote: Hi all, Hope all are well during this difficult context I don’t find a good solution to build a map using 2 list of strings, sorry, perhaps I’m bad I have : variable A list(string) with...

View Article


Terrafrom on azure vertual machine scale setextenstion

@elias-p wrote: I have used azurerm_virtual_machine_scale_set for while and when I install the azure vmss extension automatically update/create with newer_modle on the instance image. however, the...

View Article


Switching between local and remote states

@jdtommy wrote: We are looking at using localstack to test and develop some of our deployed resources from Terraform without affecting the resources in our AWS dev account. This seems like a nice...

View Article

Looking for a way to exclude a resource unless explicitly targeted

@RoyceTheBiker wrote: Is there a way to mark a resource so that normal actions of plan & apply will ignore it unless it is explicitly targeted? when = target Would be ideal. Posts: 2 Participants:...

View Article

Templatefile JSON input for aws tag policy

@hansarh wrote: I’m trying to create a tag policy of using “aws_organizations_policy” resource. I’m trying to create this structure: { "tags": { "tag1": { "tag_key": { "@@assign": "tag1",...

View Article

Mysql 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 Article


Inconsistent syntaxing?

@davidcsi wrote: Hello, I’m working with # terraform -v Terraform v0.12.24 + provider.aws v2.56.0 + provider.random v2.2.1 if i go into the console and do: > { "a"= "b", "c"= "d"} { "a" = "b" "c" =...

View Article

From a list of maps, retrieve the values of the same key from each object as...

@yetanotherbug wrote: This occurs with the AWS provider, but it is a basic aspect of HCL data wrangling. Using Terraform v0.12.24. I have a data source defined as follows that gives me a map of maps:...

View Article


Enable SSH password authentication in cloned vSphere CentOS 7 VM

@lauracaruso2408 wrote: Hello, I need help for this: the VM cloned from a vSphere CentOS template does not come with the SSH password authentication enabled, so that I can not SSH to the machine for...

View Article

How can we delete single resource type entry

@allaboutsunil wrote: i would like to destroy single resource from my openstack cloud. i want to destroy the image created in the openstack using the command: terraform destroy...

View Article


How to run an AWS CLI command with local-exec in Terraform cloud?

@cvrabie wrote: Is there any way to configure and run a raw AWS CLI command in Terraform Cloud? I need something not supported by the AWS provider, but normally easily done via the local-exec...

View Article

Azure application Insights

@manojsgh wrote: azurerm version “~> 2.3.0” terraform version = v0.12.24 azurerm = “>=1.40” resource “azurerm_resource_group” “test” { name = “rg-test” location = “westus” } resource...

View Article

Oci provider no longer attaching compartment_id

@tgruben wrote: (topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) Posts: 1 Participants: 1 Read full topic

View Article
Browsing all 11361 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>