Skip to content

Commit 9825223

Browse files
committed
Use localstack for testing
1 parent 7874e46 commit 9825223

File tree

4 files changed

+53
-29
lines changed

4 files changed

+53
-29
lines changed

.terraform.lock.hcl

Lines changed: 15 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ In order to run all checks at any point run the following command:
6060

6161
| Name | Version |
6262
|------|---------|
63-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.20.1 |
63+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.24.0 |
6464

6565
## Modules
6666

examples/test/.terraform.lock.hcl

Lines changed: 15 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/test/mock_provider.tf

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,26 @@ provider "aws" {
1818
skip_requesting_account_id = true
1919
skip_metadata_api_check = true
2020
s3_use_path_style = true
21-
access_key = "mock_access_key"
22-
secret_key = "mock_secret_key"
21+
22+
endpoints {
23+
apigateway = "http://localstack:4566"
24+
cloudformation = "http://localstack:4566"
25+
cloudwatch = "http://localstack:4566"
26+
dynamodb = "http://localstack:4566"
27+
es = "http://localstack:4566"
28+
firehose = "http://localstack:4566"
29+
iam = "http://localstack:4566"
30+
kinesis = "http://localstack:4566"
31+
lambda = "http://localstack:4566"
32+
route53 = "http://localstack:4566"
33+
redshift = "http://localstack:4566"
34+
s3 = "http://localstack:4566"
35+
secretsmanager = "http://localstack:4566"
36+
ses = "http://localstack:4566"
37+
sns = "http://localstack:4566"
38+
sqs = "http://localstack:4566"
39+
ssm = "http://localstack:4566"
40+
stepfunctions = "http://localstack:4566"
41+
sts = "http://localstack:4566"
42+
}
2343
}

0 commit comments

Comments
 (0)