Skip to main content
Filter by
Sorted by
Tagged with
-4 votes
1 answer
52 views

using Management account first i need to list all child accounts and i need to create an IAM role and IAM Trust policy with read only access to all child accounts through terraform and all the read ...
Varun swaminathan's user avatar
-1 votes
0 answers
111 views

Error message Error: listing tags for S3 Control Access Point (arn:aws:s3-outposts:ap-southeast-1:xxxxxxx:outpost/xxxxxx/accesspoint/xxxxx): operation error S3 Control: ListTagsForResource, https ...
Fabian Raj's user avatar
0 votes
0 answers
36 views

I'm trying to create a EC2 spot fleet in AWS via terraform script. From Tutorial: Configure EC2 Fleet to use On-Demand Instances as the primary capacity, I see { "LaunchTemplateConfigs": ...
Chris F's user avatar
  • 17.2k
-3 votes
1 answer
72 views

I am trying to define a list of aws_usage_plans, using a for_each. I am passing in this variable data: usage_plan_configs = { "xsmall" = {"name" = "xsmall", "...
Jason Michael's user avatar
0 votes
1 answer
59 views

I'm migrating multiple AWS Lambda functions to GCP and need to generate Terraform configurations that match the existing AWS setup. Currently, I'm manually writing each Lambda configuration, which is ...
Saif Sabry's user avatar
0 votes
1 answer
81 views

I am making cloud9 by terraform according to the article here However this code shows the error like this │ Error: Your query returned no results. Please change your search criteria and try again. │ │...
whitebear's user avatar
  • 12.6k
1 vote
1 answer
97 views

I modified my Terraform Repository several times in order to Deploy an AWS ElasticBeanstalk on my Free Tier AWS Account, but without success. The API error seen on Terraform is always the same : "...
Code Klaudia's user avatar
0 votes
1 answer
70 views

Hi I am working on something very simple I am creating a lambda runtime management config to manage all my lambda. I have around 9 existing ones. resource "aws_lambda_runtime_management_config&...
Tate_87's user avatar
  • 161
0 votes
0 answers
91 views

I use AWS automation to stop all my machines. The document for automation is set up with Terraform. I want to restrict the usage of the document to my developer group. But I don't know, how to set the ...
dur's user avatar
  • 17.3k
0 votes
1 answer
93 views

I have a YAML file structured as follows: alerts: la: la1: description: "la1" severity: 1 resource_counter: "004" enabled: true ma: ma1:...
mystack's user avatar
  • 5,638
0 votes
0 answers
70 views

I'd hoped to bind a write-only Terraform resource attribute to the value of an AWS SecretsManager secret, using the secret version ID to trigger an update. For example, something like data "...
Peter Halverson's user avatar
0 votes
1 answer
33 views

In order to update CloudAMQP i tried mentioned in https://registry.terraform.io/providers/cloudamqp/cloudamqp/latest/docs/resources/upgrade_rabbitmq approach - Upgrade to latest possible version, from ...
Ivan Karotki's user avatar
0 votes
0 answers
65 views

How can the EC2 serial console output be logged, to capture the initial setup of EC2? AWS cli supports get-console-output, but I cannot find any documentation about AWS terraform provider to do so.
Arunas Bart's user avatar
  • 2,856
-1 votes
1 answer
42 views

I'm working on adding a IAM policy, but my terraform code fails with the below error because some attributes are determined only after an apply, I don't want to run multiple apply commands, How can I ...
user6826691's user avatar
  • 2,047
-4 votes
1 answer
162 views

I have this error, it shows the error CPU is not correct Error: creating ECS Task Definition (wb_td): ClientException: Invalid 'cpu' setting for task. with this source below. resource "...
whitebear's user avatar
  • 12.6k
1 vote
1 answer
123 views

When putting together a Fault Injection Service experiment in AWS, I want to include all running tasks that are part of an ECS service. Being able to target all tasks in a service is pretty ...
Azhdeen's user avatar
  • 1,656
-1 votes
1 answer
373 views

I am trying to set up a cache cluster on AWS via terraform. I want to use the engine 'Valkey'. I am getting the following error when I run terraform plan: The only acceptable Engine type when using ...
rst123's user avatar
  • 11
0 votes
2 answers
265 views

While trying to Deploy Infrastructure using Terraform in GitHub Actions, authenticating to AWS via OIDC and the aws-actions/configure-aws-credentials@v4 action. Despite setting up everything as ...
ArtistYay's user avatar
1 vote
1 answer
163 views

I am running into the following issue using the event source mapping filter with sqs lambda trigger in terraform the trigger with filter looks like this resource "aws_lambda_event_source_mapping&...
satyendra's user avatar
  • 111
1 vote
1 answer
181 views

I'm trying to retrieve files from an AWS S3 bucket using a Lambda function, but my script keeps timing out, and I can't figure out why. "errorMessage": "2025-05-16T14:37:13.093Z fdb6***...
user15915737's user avatar
0 votes
0 answers
169 views

I am deploying EKS via Terraform AWS EKS module: https://github.com/terraform-aws-modules/terraform-aws-eks and I am using version 20.31.6. While using the option "use_custom_launch_template = ...
MoonHorse's user avatar
  • 2,526
-1 votes
2 answers
459 views

I have the following opentofu terraform code: variable "regions" { type = set(string) default = ["us-east-1", "us-east-2", "us-west-1", "us-west-2"...
aids's user avatar
  • 31
2 votes
1 answer
144 views

I have the following code in terrraform resource "aws_cloudwatch_dashboard" "a_dashboard" { dashboard_name = "my_dashboard" dashboard_body = jsonencode({ widgets =...
JennyToy's user avatar
  • 658
1 vote
0 answers
59 views

I am trying to set a warm pool for the autoscaling group, generated by aws_elastic_beanstalk_environment Can I use the benefits of aws_elastic_beanstalk_environment and pass warm pool configs to it as ...
Georgiy Isaev's user avatar
0 votes
2 answers
160 views

I am getting a strange error from my terraform provider due to an SCP. The SCP is defined like the following: { "Version": "2012-10-17", "Statement": [ { &...
Tobias Bruckert's user avatar
-3 votes
1 answer
91 views

I am creating an AWS EC2 instance with terraform. I want to be able to ssh into the instance from the AWS console's "connect" button. That requires my security group to have an ingress rule. ...
Matt's user avatar
  • 269
0 votes
0 answers
238 views

I am getting this error in terraform when associating subnets with resource access manager An argument definition must end with a newline. Code: resource "aws_ram_resource_association" &...
Col H's user avatar
  • 1
0 votes
0 answers
48 views

I have created a ssm document with following terraform code resource "aws_ssm_document" "execute_script" { name = "RunOnboardScript" document_type = "...
suraj shetty's user avatar
0 votes
1 answer
49 views

I am using a gitlab pipeline which uses terraform for deploying AWS resources. The pipeline configuration is pre-existing, hence i cannot change anything there. The pipeline run needs to generate some ...
dsm's user avatar
  • 65
1 vote
1 answer
109 views

I'm trying add an option "awslogs-multiline-pattern" to ecs task definition on ecs module in terraform. And looks like that terraform just dont see this option. Any terraform ecs module ...
Pavel Bernshtam's user avatar
0 votes
1 answer
87 views

i'm trying to execute terraform plan, however get the following errors Error: Inconsistent dependency lock file The following dependency selections recorded in the lock file are inconsistent with the ...
fahri's user avatar
  • 21
0 votes
1 answer
81 views

I’m using Terraform to manage AWS AppConfig with configuration stored in SSM Parameter Store. When I update the SSM parameter, a new hosted configuration version is created (e.g., current version is ...
Vicky's user avatar
  • 13
0 votes
0 answers
323 views

I've been using terraform and aws_secretsmanager_secret_version resource to assign randomized values into a Secrets Manager secret. Due to the fact that this is documented as insecure (because the ...
Peter McEvoy's user avatar
  • 2,932
0 votes
0 answers
64 views

I'm encountering an error while creating a route table in Terraform for AWS. My code looks correct, but I am receiving the following error: Error: Incorrect attribute value type on main.tf.json line ...
user3783064's user avatar
0 votes
1 answer
193 views

I am trying to deploy AWS Step Function using Terraform but the deployment is failing with the below error Failed to execute "terraform init" fork/exec /usr/local/bin/terraform: argument ...
Sathish Pandurangan's user avatar
0 votes
0 answers
136 views

Been working on this semi-secure (will add HTTPS later) API Gateway. I've managed to deploy the TF into the cloud, and it built fine. My main issue currently is that when I try to use the Invoke URL (...
veila's user avatar
  • 93
0 votes
2 answers
210 views

Expected Terraform aws_instance root_block_device volume_type change will cause replace (destroy and create) of the instance because I believed the underlying SSD device type will cause replacement. ...
mon's user avatar
  • 23k
0 votes
0 answers
53 views

I want to use the terraform resource aws_iam_policy with the policy key set to a complete policy configured in a var and use jsonencode on the value of the var. I have no issues doing this as long as ...
Erik Asplund's user avatar
0 votes
1 answer
128 views

I have following configuration in terraform: locals { common_env_vars = { DATABASE_NAME = var.database_name } lambda_config = { filename = "empty.zip" ...
BratZdenko's user avatar
0 votes
0 answers
298 views

Im trying to subscribe my sqs queue from account A to sns topic in account B but my sqs to sns subscription is failing on terraform apply after 2 minutes because its not able to auto confirm the ...
Farhad-Taran's user avatar
  • 6,580
0 votes
1 answer
158 views

I'm trying to send EventBridge events to the Event bus of our backup account, but the bus isn't receiving the events. I've been following this blog post, and translated the example given into ...
Kamelon's user avatar
0 votes
0 answers
36 views

I'm using Terraform for my deployment in AWS. It's mostly working, but when I try to create a policy between a bucket and a cloudfront I'm getting the error: module.cloudfront_test is a object This ...
Carabes's user avatar
  • 737
-2 votes
2 answers
73 views

We would like to use a tag to identify the team who has authored the HCL code we are using to deploy AWS resources. We wish to use this tag value so we can have Wiz provide a snapshot of the resources ...
Rob Wells's user avatar
  • 37.3k
0 votes
1 answer
103 views

This is my existing terraform module code for AWS Batch resources: resource "aws_batch_compute_environment" "compute_environment" { count = var.create_compute_environment ? 1 : 0 ...
vin'm's user avatar
  • 2,311
0 votes
1 answer
106 views

I am not sure if this issue is due to Terraform, or due to the specific provider/resource I am using. But for specificity, the problem I have is for an aws_db_proxy resource with multiple auth blocks ...
Winson Tanputraman's user avatar
-1 votes
1 answer
108 views

I have a terraform resource defined for aws_glue_catalog_database, but by default it is checking the checkbox under Default permission for newly created tables. I have tried keeping the ...
Saikiran's user avatar
  • 199
0 votes
1 answer
31 views

variable "managed_addons" { description = "EKS manged addons" type = map(string) } resource "aws_eks_addon" "this" { for_each = var....
psaikia's user avatar
  • 21
0 votes
1 answer
109 views

Currently learning terraform and I am trying to create 2 VPCs (dev and stg) below. I would like to populate cidr_block and availability_zone in subnets.tf by accessing ap-southeast-1* and ...
Ryklon Zen's user avatar
0 votes
0 answers
80 views

Currently, I have several AWS EC2 instances that are set up to run some heavy processing workloads on startup (there are several mechanisms to start them at the appropriate times). However, when any ...
elvieLynx's user avatar
-1 votes
1 answer
246 views

I am trying to create a cloudwatch alarm for Throughput utilization (%) for an AWS EFS using terraform. When using console to do the same, I found that Throughput utilization (%) is a combination of ...
striker's user avatar

1
2 3 4 5
86