Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(lib): Correct types for allowedAccountIds & forbiddenAccountIds i…
…n S3Backend (#3669) <!-- Unless this is a very simple 1-line-of-code change, please create a new issue describing the change you're proposing first, then link to it from this PR. Read more about our process in our contributing guide: https://github.com/hashicorp/terraform-cdk/blob/main/CONTRIBUTING.md --> ### 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 - [x] I have updated the PR title to match [CDKTF's style guide](https://github.com/hashicorp/terraform-cdk/blob/main/CONTRIBUTING.md#pull-requests-1) - [x] I have run the linter on my code locally - [x] I have performed a self-review of my code - [ ] ~I have commented my code, particularly in hard-to-understand areas~ - [ ] ~I have made corresponding changes to the documentation if applicable~ - [x] My changes generate no new warnings - [ ] ~I have added tests that prove my fix is effective or that my feature works if applicable~ - [x] New and existing unit tests pass locally with my changes <!-- If this is still a work in progress, feel free to open a draft PR until you're able to check off all the items on the list above -->
- Loading branch information