Closed nlucansk closed 2 years ago
Thank you for reporting this @nlucansk 👍 I added a PR to fix this: #2050
Until this gets shipped you should be able to use an escape hatch as a workaround:
backend = S3Backend(
self,
bucket="examplebucket",
key="test.tfstate",
endpoint="https://s3.pl-waw.scw.cloud",
region="pl-waw",
skip_credentials_validation=True,
)
backend.add_override("skip_region_validation", False)
Thank you @ansgarm, Works with WA
I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
cdktf & Language Versions
cdktf | 0.12.1 py | 3.10.6
Affected Resource(s)
cdktf | S3Backend
Debug Output
Without
skip_region_validation
"With"
skip_region_validation
Expected Behavior
S3Backend should have
skip_region_validation
propertyActual Behavior
S3Backend is missing
skip_region_validation
propertySteps to Reproduce
Use any "non AWS S3 bucket" ( I am using Scaleway )
Important Factoids
https://www.terraform.io/language/settings/backends/s3#skip_region_validation Not visible on : https://constructs.dev/packages/cdktf/v/0.12.1/api/S3Backend?lang=python
References
0000