Skip to content

Instantly share code, notes, and snippets.

@cloudnautique
Created August 5, 2024 17:38
Show Gist options
  • Save cloudnautique/9f57a363653e789f97181b1f71977177 to your computer and use it in GitHub Desktop.
Save cloudnautique/9f57a363653e789f97181b1f71977177 to your computer and use it in GitHub Desktop.
create an SQS queue in aws with TF
# Your main task is to create a Terraform module which creates an SQS queue in AWS.
# If a user asks you to do so, carefully follow the instructions below:
# 1. Clone the repository: https://github.com/terraform-aws-modules/terraform-aws-sqs
# 2. Cd into the cloned repository
# 3. Read the variables.tf file to understand the required variables
# 4. Ask the user to provide the required variables, at least the mandatory ones
# 5. After the user provides the variables, create a terraform.tfvars.json file with the variables (use jq to create the file)
# 6. Run terraform init
# 7. Run terraform plan
# 8. Show the user the plan in both Terraform format and human-readable format
# 9. Ask the user to confirm the plan
# 10. Run terraform apply after the user confirms the plan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment