Top "Terraform-provider-aws" questions

Terraform Provider for AWS.

How do I create an SSH key in Terraform?

I need to spin up a bunch of EC2 boxes for different users. Each user should be sandboxed from all …

amazon-web-services terraform terraform-provider-aws
How to create a Terraform with if, else, elsif statement?

I'm setting up a terraform module to create an aurora cluster. I need to have an option for cross region …

terraform terraform-provider-aws
Terraform aws: Error No configuration files found

I am new to Terraform. I am writing a small script to put a small datafile from my machine to …

amazon-web-services amazon-s3 terraform terraform-provider-aws
Conditional attributes in Terraform

Does Terraform support conditional attributes? I only want to use an attribute depending on a variable's value. Example: resource "aws_…

terraform terraform-provider-aws
Terraform iterate over list

I would like to replace the 3 indepedent variables (dev_id, prod_id, stage_id), for a single list containing all …

terraform terraform-provider-aws
Terraform provider/variable sharing in modules

Is there a way of abstracting the provider for all the modules defined in a project. for example, I have …

terraform terraform-provider-aws
Execute Terraform apply with AWS assume role

I need to execute a Terraform template to provision infrastructure for an AWS account which I can access by assuming …

amazon-web-services terraform aws-codepipeline terraform-provider-aws
Terraform - Upload file to S3 on every apply

I need to upload a folder to S3 Bucket. But when I apply for the first time. It just uploads. …

amazon-web-services amazon-s3 terraform terraform-provider-aws
terraform copy/upload files to aws ec2 instance

We have cronjob and shell script which we want to copy or upload to aws ec2 instance while creating instance …

terraform terraform-provider-aws terraform-template-file
Using a S3 Static Site with an Application Load Balancer

I have an ALB that currently routes traffic to multiple urls. I'd like to be able to route traffic to …

amazon-s3 load-balancing terraform terraform-provider-aws static-site