Service Discovery with Fargate not working as expected - Bug?
@the1dv wrote: Hi All, I was hoping to get some input into the following as I cant seem to get it working: I have some Service Discovery set up using the following code: data "aws_vpc" "default" {...
View ArticleDynamic provider support?
@opsrom wrote: Hi all, Is there any plans to support dynamic Provider ? Use case example : I create a pool of AWS account (one to N accounts and N can increase each day) In each account, I would like...
View ArticleModule iteration support?
@opsrom wrote: Hi all, Do you know if there is a plan to support iteration on module ? I really need this feature for a customer module "mymodule" { source = "app.terraform.io/myorga/vpn/aws" for_each...
View ArticleUnsupported block type
@tdubb123 wrote: I am getting unsupported block types here. any idea what it should be? provisioner “file” { source = “{path.module}/sharepoint/" destination = "C:\\scripts" connection = { type =...
View ArticleGet all vpcs from my aws account
@VKhatrus wrote: Hi everyone! I have a problem when I try to get vpc from my aws account data “aws_vpcs” “foo” { tags = { Env = “demo” } } output “foo” { value = “${data.aws_vpcs.foo.ids}” } I got:...
View ArticleCreate resource if variable matches
@popopanda wrote: I want to create a resource of aws_security_group, only if my_var == “dev”. I tried it with the setting count variable, but it keeps failing resource "aws_security_group" "test" {...
View ArticleHow to rsadecrypt and get password_data from AWS Windows Server instance?
@rbuck-som wrote: I’m using Terraform to deploy a Windows Server 2016 instance on AWS. I don’t see a single working example online for how to get the instance password. With some code: resource...
View ArticleErro Terraform plan
@Teraani wrote: Hello I’m starting with terraform and you’re not showing me the plan No changes. Infrastructure is up-to-date. This means that Terraform did not detect any differences between your...
View ArticleHelp with azurerm_role_assignment
@manishingole-coder wrote: Hello everyone, I need help with azurerm_role_assignment I have created storage account and I have to assign role to virtual machine. In Azure console the steps are as...
View ArticleIgnore changes on disk attribute "eagerly_scrub"
@melck wrote: Hello, I’m trying to ignore specific attribute “eagerly_scrub” on each disk of vsphere_virtual_machine resource. I’have tried many things but nothing seems to work. List of all my tries...
View ArticleAdd comments to state
@RoyceTheBiker wrote: Is there any way to add comments to state, much in the same way a module can be tainted, but tainted with a comment. Looking for a way to show a message with a module that...
View Article'depends_on' appears to have no effect. What am I doing wrong?
@fligi7 wrote: Previously posted here (). Terraform Version Terraform v0.12.24 + provider.aws v2.54.0 Terraform Main.tf resource "aws_volume_attachment" "student_linux_data_ebs_attach" { count =...
View ArticleAWS api-gateway authorization_scopes incorrect attribute value type
@danschreifels2019 wrote: I’m using the following code for the API gateway and getting incorrect attribute value type. resource “aws_api_gateway_method” “default” { count = length(var.path_parts) >...
View ArticleSecurity group rules destroyed instead of added
@denzhel wrote: Hi I’d love to get some help with creating security groups rules dynamically. I’ve simplified most of the logic so you can reproduce as well. I have 3 files: main.tf resource...
View ArticleUpdate Tags on Existing Resources?
@fligi7 wrote: I’m looking to update the tags on an existing resource (an EBS volume, specifically) but am not seeing a way to do that. Am I missing it somewhere? Posts: 1 Participants: 1 Read full...
View ArticleInterpreting blast-radius Graphs
@phillip-burger-sculp wrote: I just ran a Terraform project graph and displayed it on blast-radius the first time. Does anyone know if the use of the colors in the blocks is consistent across...
View ArticleTerraform_remote_state Windows credential error
@pgsmith123 wrote: I’m very new to Terraform so bear with me. I’m running Terraform v0.12.24 with AWS Provider v2.56.0 on Windows 10 primarily using Visual Studio Code and PowerShell 7 to build and...
View ArticleTemplate_file to run powershell script
@tdubb123 wrote: Can i use the template_file block to specify a powershell script in on my machine to run on the aws instance? I got this to work data “template_file” “init” { template = <<EOF...
View ArticleIs empty tuple - The given key does not identify an element in this...
@anthony-pastor wrote: We are updating our Terraform code from v0.12.2 to v0.12.24 and observe especially one error message we didn’t have before: Error: Invalid index on...
View ArticleTerraform plan Write Out is Not Readable Text
@phillip-burger-sculp wrote: Was reading the doc and tried several times to write out a plan to a file that is readable text. Looks like it’s writing out binary. I have been redirecting the output via...
View Article