hashicorp / terraform-cdk

Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform
https://www.terraform.io/cdktf
Mozilla Public License 2.0
4.88k stars 456 forks source link

fix(lib): Correct types for allowedAccountIds & forbiddenAccountIds in S3Backend #3669

Closed Booligoosh closed 4 months ago

Booligoosh commented 4 months ago

Related issue

No related issue as it is only a simple 2-line change. Can create one if required.

Description

When providing these fields as a string rather than a list of strings, Terraform throws an error. This PR updates the types to be a list of strings, to allow specifying the format that Terraform requires (similar to the other S3BackendConfig keys such as sharedConfigFiles, sharedCredentialsFiles etc).

Checklist

hashicorp-cla-app[bot] commented 4 months ago

CLA assistant check
All committers have signed the CLA.

Booligoosh commented 4 months ago

Thanks for merging!

github-actions[bot] commented 3 months ago

I'm going to lock this pull request 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 related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.