I tried to deploy the configuration provided in the docs with CDKTF and got the following error:
Error: creating Amazon S3 (Simple Storage) Bucket (test-bucket): MissingRegion: could not find region configuration
with aws_s3_bucket.R2Bucket_test-bucket (R2Bucket_test-bucket),
on cdk.tf.json line 38, in resource.aws_s3_bucket.R2Bucket_test-bucket (R2Bucket_test-bucket):
38: }
So I tried to add an AWS region and got this other error:
Error: creating Amazon S3 (Simple Storage) Bucket (test-bucket): InvalidRegionName: The region name 'eu-central-1' is not valid. Must be one of: wnam, enam, weur, eeur, apac, auto
status code: 400, request id: , host id:
with aws_s3_bucket.R2Bucket_test-bucket (R2Bucket_test-bucket),
on cdk.tf.json line 38, in resource.aws_s3_bucket.R2Bucket_test-bucket (R2Bucket_test-bucket):
38: }
Which Cloudflare product does this pertain to?
Terraform
Existing documentation URL(s)
Section that requires update
What needs to change?
How should it change?
Additional information
I tried to deploy the configuration provided in the docs with CDKTF and got the following error:
So I tried to add an AWS region and got this other error:
So I renamed the region to
auto
and it worked.