terraform-provider-aws Questions

2

I am new to the world of terraform and have been trying to essentially trigger multiple lambdas from different events configured on an s3 bucket. Every time I try to create it, it essentially overw...
Joktan asked 24/7, 2020 at 1:5

11

trying to store my state file in an s3 bucket , but getting this error when trying 'Terraform init' : made sure my aws credentials doesnt have " / # $ .. " error configuring S3 Backend:...

3

Here are further details: Workspace-A (base stack) : This workspace has code that will create AWS: VPC, SGs, RouteTables, Subnet and related associtions etc. Workspace-B (Service-1 Stack): This w...
Oconnell asked 21/11, 2019 at 6:54

2

Solved

I am trying to deploy EC2 instances using Terrafom and I can see the following error: Error: Error launching source instance: InvalidGroup.NotFound: The security group 'prod-web-servers-sg' does no...
Freedwoman asked 8/1, 2021 at 11:58

2

I am trying to create AWS SFTP server using terraform script. I am able to validate using terraform validate command and able to get plan using terraform plan as well but I am getting below error w...
Peruke asked 25/6, 2020 at 16:34

5

Solved

We have a new terraform script that is pushing a docker image to an AWS Lambda. The script works well and correctly connects the fresh image to the Lambda. I can confirm this by checking the Image ...
Leveret asked 22/11, 2022 at 18:13

8

Solved

I am writing a small script that takes a small file from my local machine and puts it into an AWS S3 bucket. My terraform.tf: provider "aws" { region = "us-east-1" version = &...

16

Error: error configuring Terraform AWS Provider: error validating provider credentials: error calling sts:GetCallerIdentity: operation error STS: GetCallerIdentity, https response error StatusCode...

8

Solved

Can you create views in Amazon Athena? outlines how to create a view using the User Interface. I'd like to create an AWS Athena View programatically, ideally using Terraform (which calls CloudForm...

10

Solved

After deleting kubernetes cluster with "terraform destroy" I can't create it again anymore. "terraform apply" returns the following error message: Error: Kubernetes cluster unr...

7

In my main.tf file I have: terraform { required_providers { aws = { source = "hashicorp/aws" version = "~> 4.16" } } required_version = ">= 1.2.0" } pro...
Sampler asked 15/3, 2023 at 3:8

3

Solved

Because of a timeout issue, terraform failed to create an ec2 instance. In order to recover from it I have manually removed the ec2 instance from aws console as well as the terraform state file. ...

2

Installed terraform & init is failing. - Finding hashicorp/aws versions matching "~> 4.16"... ╷ │ Error: Failed to query available provider packages │ │ Could not retrieve the lis...
Lelalelah asked 26/1, 2023 at 17:56

16

Solved

My simple terraform file is: provider "aws" { region = "region" access_key = "key" secret_key = "secret_key" } terraform { backend "s3" { # ...
Fustian asked 17/5, 2020 at 12:37

2

Solved

I'm trying to set up an SFTP server with a custom hostname using AWS Transfer. I'm managing the resource using Terraform. I've currently got the resource up and running, and I've used Terraform to ...
Frankforter asked 6/2, 2019 at 23:51

3

I have EC2 instance running with web application and this is my POC environment machine. This instance is automated through terraform, But this is running all the time when I don't need it, I want ...

4

Solved

Hi I was wondering if we can add an SNS topic from Terraform with Email subscription. So it will be easy to setup Alarms and create SNS topic to send alert to an email with one “Terraform apply” co...
Ana asked 1/5, 2021 at 16:46

3

I hate it when I'm creating a secret store in AWS and it adds a random uid at the end of the ARN. Example: arn:aws:secretsmanager:us-east-1:xxxxxxxx:secret:secrets-store-development-k8s-klbiCG This...

9

Solved

Going through terraform tutorial I stumbled upon this error. Error: Error launching source instance: InvalidAMIID.NotFound: The image id '[ami-830c94e3]' does not exist status code: 400, request i...
Ellersick asked 28/8, 2020 at 12:26

5

Solved

Every Terraform guide on the web provides a partial solution that is almost always not the real picture. I get that, not everyone has the same infrastructure needs, but what worries me that the com...
Hoekstra asked 3/2, 2021 at 9:48

4

Solved

I am working on a aws stack and have some lambdas and s3 bucket ( sample code below) . how to generate zip file for lambda via terrarform. I have seen different styles and probably depends on the v...
Berthoud asked 24/4, 2022 at 22:10

2

Solved

Assuming I have an existing Elastic IP on my AWS account. For reasons beyond the scope of this question, this EIP is not (and cannot) be managed via Terraform. I know want to assign this EIP (say 1...
Expropriate asked 2/6, 2021 at 8:53

2

Solved

I try to create VPCs in different regions for doing this I have multiple providers set up that I have given the alias equal to its region. The VPCs is set up with a for_each where the each.key is t...
Zielsdorf asked 8/6, 2022 at 7:23

3

Solved

I'm creating a Security group using terraform, and when I'm running terraform plan. It is giving me an error like some fields are required, and all those fields are optional. Terraform Version: v1....
Senseless asked 6/9, 2021 at 20:23

7

Getting started on Terraform. I am trying to provision an EC2 instance using the following .tf file. I have a default VPC already in my account in the AZ I am trying to provision the EC2 instance. ...
Unlike asked 14/6, 2021 at 15:55

© 2022 - 2024 — McMap. All rights reserved.