Provision an S3 bucket to store Terraform State and DynamoDB for state-lock using https://github.com/jrdalino/aws-tfstate-backend-terraform
- Replace variables in terraform.tfvars
- Replace variables in state_config.tf
- Initialize, Review Plan and Apply
$ terraform init
$ terraform plan
$ terraform apply
Name | Description |
---|---|
Name | Description |
---|---|
id | The URL for the created Amazon SQS queue. |
arn | The ARN of the SQS queue |
Include this repository as a module in your existing terraform code:
module "sqs" {
source = "git::https://github.com/jrdalino/aws-sqs-terraform.git?ref=master"
}