Welcome to the forum - please reformat your message

Welcome to the HashiCorp Discuss forum!

This post is intended as a instructions for users about how to successfully include copy/pasted code, commands, and error messages in their posts here.

If you’ve been directed to it, it means the person sending you here would like you to take this information into account, and edit your post.

Very often, new users copy/paste these things into posts as-is … and the forum software then:

  • Removes all of the indentation, making them hard to read, and actually removing useful information, in the case of languages such as YAML, where indentation is meaningful!
  • Converts all the quote marks to left/right angled quotes, making it difficult for potential question-answerers to try out what is pasted locally.
  • Renders certain sequences of characters into weird formatting, such as subscript, and square boxes, severely obfuscating what you intended to show.

The answer is simple:

You just need to type three backtick characters, together, on a line by themselves, to start a code block, and the same again to end it - like this:

```​
Your code
goes between
the two marker lines
```​

You can normally find the backtick (`) key at the top left of QWERTY keyboards.

With this in mind, please have another look at your post, and see the not-so-great formatting the forum has done on it. Please edit your post, and insert the code marker lines now.

3 Likes
Azurerm_role_assignment not imported in azurerm provider 2.90.0
Terraform local exec Error: Missing newline after argument
CloudSearch integration via API Gateway
Cant solve a " not been declared in the root module " ERROR
Evaluate module variable in another module when variable is in list of objects
Element 0: map of string │ required
Calling the modules - cant see the varaibles?
Enable individual password change
Vault ha cluster - node vault-1 didn't join the cluster after init the node vault-0
Default secret no longer being generated for service account, with Kubernetes 1.24.0
Using Vault as an SSH certificate authority asks for password
[Bug]: Error: creating EC2 Spot Fleet Request: InvalidSpotFleetRequestConfig:
Multiple providers for aws_kms_replica_key resouce
How to use for_each with databricks_grants resource
Terraform plan not working throwing provider configuration not present error
Complex variable
AWS API Gateway's method integration is not able to access the lambda while using the aws_lambda_permission
Error unsealing: context deadline exceeded
Could not retrieve the list of available versions for provider hashicorp/google
Remote-exec with bastion host is not working by using null_resource for OCI
Tagging checking issue!
Terragrunt ignores provider cache settings, and continues to download provider binaries
Vault installed by juju vault charm certificate expired
'Error: Module is incompatible with count, for_each, and depends_on' and 'Error: Invalid provider configuration' errors
HCL and TLS config versus connections refused logs
Azure data collection rule via terraform
Change ipv4_address forces VM replacement?!
How to use an "each.value" when referencing another resource
EIP with several instances
Create new Azure VMs without replacing the existing ones
For_each: conditional is not creating the new resource
Cant run script after creating a Redshift database
Error on Terraform Import
Unsuported attribute
How to Solve Circular Dependency issue in Terraform Resources?
Referencing a list of object in sub-module
Default values not being inherited from the default block - asks me to provide them as they are required
Deployed TF code to create CSR and TF output says Resources' created but kubernetes dont have csr created
Terraform plan not working throwing provider configuration not present error
Error: Role 'SECURITYADMIN', which was previously activated in this session, is no longer available to the executing user.│
Issue using map(object) variable
How to fix when i create aks cluster through terraform the error
Attempting to create Vertex AI Managed Notebook fails with error: Failed to insert a GCE VM
Terraform Module Error
Terraform Module Error
Issue with SetNestedAttribute in Terraform version 1.4.x
Error: object contains unparsed element
Could not get attribute id from instance resource type in the latest aws provider plugin
Error while creating a VM
Json: cannot unmarshal array into Go struct field response.versions of type utils.versionsResp
RDS username version change when using secret manager
Not sure why for loop is being evaluated
How do I get values from a resource in another module
AWS EKS - Terraform: Error configmap "aws-auth" does not exist