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.8k stars 443 forks source link

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

Closed Booligoosh closed 2 weeks ago

Booligoosh commented 2 weeks 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 2 weeks ago

CLA assistant check
All committers have signed the CLA.

Booligoosh commented 2 weeks ago

Thanks for merging!