Skip to content

Commit 38be70b

Browse files
Update endpoint override list to skip appconfigdata (#33)
1 parent 9775952 commit 38be70b

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ please refer to the man pages of `terraform --help`.
4747

4848
## Change Log
4949

50+
* v0.15: Update endpoint overrides for Terraform AWS provider 5.22.0
5051
* v0.14: Add support to multi-account environments
5152
* v0.13: Fix S3 automatic `use_s3_path_style` detection when setting S3_HOSTNAME or LOCALSTACK_HOSTNAME
5253
* v0.12: Fix local endpoint overrides for Terraform AWS provider 5.9.0; fix parsing of alias and region defined as value lists

bin/tflocal

+7-4
Original file line numberDiff line numberDiff line change
@@ -75,23 +75,26 @@ def create_provider_config_file(provider_aliases=None):
7575
provider_aliases = provider_aliases or []
7676

7777
# maps services to be replaced with alternative names
78+
# skip services which do not have equivalent endpoint overrides
79+
# see https://registry.terraform.io/providers/hashicorp/aws/latest/docs/guides/custom-service-endpoints
7880
service_replaces = {
7981
"apigatewaymanagementapi": "",
82+
"appconfigdata": "",
8083
"ce": "costexplorer",
84+
"dynamodbstreams": "",
8185
"edge": "",
8286
"emrserverless": "",
8387
"iotdata": "",
84-
"iotjobsdata": "",
85-
"logs": "cloudwatchlogs",
86-
"timestream": "",
87-
"dynamodbstreams": "",
8888
"ioteventsdata": "",
89+
"iotjobsdata": "",
8990
"iotwireless": "",
91+
"logs": "cloudwatchlogs",
9092
"mediastoredata": "",
9193
"qldbsession": "",
9294
"rdsdata": "",
9395
"sagemakerruntime": "",
9496
"support": "",
97+
"timestream": "",
9598
"timestreamquery": "",
9699
}
97100
# service names to be excluded (not yet available in TF)

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = terraform-local
3-
version = 0.14
3+
version = 0.15
44
url = https://github.com/localstack/terraform-local
55
author = LocalStack Team
66
author_email = [email protected]

0 commit comments

Comments
 (0)