Skip to content

Instantly share code, notes, and snippets.

@michaelact
Created August 3, 2021 14:58
Show Gist options
  • Save michaelact/e2ac42d1a322f5cde1cab56c27e260b6 to your computer and use it in GitHub Desktop.
Save michaelact/e2ac42d1a322f5cde1cab56c27e260b6 to your computer and use it in GitHub Desktop.
Integrate your github.com/localstack/localstack with Terraform!
provider "aws" {
region = "us-east-1"
s3_force_path_style = true
skip_credentials_validation = true
skip_metadata_api_check = true
skip_requesting_account_id = true
endpoints {
apigateway = "http://localhost:4567"
cloudformation = "http://localhost:4581"
cloudwatch = "http://localhost:4582"
dynamodb = "http://localhost:4569"
es = "http://localhost:4578"
firehose = "http://localhost:4573"
iam = "http://localhost:4593"
kinesis = "http://localhost:4568"
lambda = "http://localhost:4574"
route53 = "http://localhost:4580"
redshift = "http://LOCALHOST:4577"
s3 = "http://localhost:4572"
secretsmanager = "http://localhost:4584"
ses = "http://localhost:4579"
sns = "http://localhost:4575"
sqs = "http://localhost:4576"
ssm = "http://localhost:4583"
stepfunctions = "http://localhost:4585"
sts = "http://localhost:4592"
ec2 = "http://localhost:4597"
# Maybe more services will be added over time
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment