Skip to content

mmoyle/terraform-helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-helpers

Helpful scripts and datasources

setup-terraform.sh

Create an S3 bucket and Dynamo DB table for the Terraform state

Provision state resources

If it is the first time running terraform in this aws account, run

./setup-terraform.sh <bucketName> <tableName>

to provision an s3 bucket and dynamodb lock table for Terraform states. 'setup-terraform.sh' will use the aws region and credentials set in your local configuation.

bucketName and tableName should correspond to the values set in the the s3 backend found in provider.tf

Then run,

terraform init

Resources

Name Type
aws_ami.latest_windows data source

Inputs

No inputs.

Outputs

Name Description
latest_windows_ami_id n/a

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published