Helpful scripts and datasources
Create an S3 bucket and Dynamo DB table for the Terraform state
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
Name | Type |
---|---|
aws_ami.latest_windows | data source |
No inputs.
Name | Description |
---|---|
latest_windows_ami_id | n/a |