Created
November 8, 2021 16:24
-
-
Save barbaromatrix/25c6261295d13beb618b6e11e8ad3926 to your computer and use it in GitHub Desktop.
SQS Terraform with localstack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To create these resources: | |
# 1) terraform init | |
# 2) terraform plan | |
# 3) terraform apply (it'll ask you to confirm typing 'yes') | |
provider "aws" { | |
region = "sa-east-1" | |
access_key = "fake" | |
secret_key = "fake" | |
skip_credentials_validation = true | |
skip_requesting_account_id = true | |
skip_metadata_api_check = true | |
s3_force_path_style = true | |
endpoints { | |
sqs = "http://localhost:4566" | |
} | |
} | |
resource "aws_sqs_queue" "name_of_sqs" { | |
name = "name_of_sqs" | |
tags = { | |
Environment = "local" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment