-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix!: unable to create fsx for OpenZfs Multi-AZ file system (#4095)
This PR removes the `MaxItemsOne` config for the `subnetIds` property. Originally this was a `MaxItemsOne` property in upstream, but it was removed when Multi-AZ support was added by AWS. In Terraform removing `MaxItemsOne` is not a breaking change, but for Pulumi it is. Because it looks like there is very low usage of this resource, and the change enables a (maybe) more common use case (Multi-AZ filesystem) we have decided to take the breaking change now. In order to upgrade users will only need to update their code so that `subnetIds` is now a list. For example, From ```ts const test = new aws.fsx.OpenZfsFileSystem("test", { storageCapacity: 64, subnetIds: test1.id, deploymentType: "SINGLE_AZ_1", throughputCapacity: 64, }); ``` To ```ts const test = new aws.fsx.OpenZfsFileSystem("test", { storageCapacity: 64, subnetIds: [test1.id], deploymentType: "SINGLE_AZ_1", throughputCapacity: 64, }); ``` Because we are including the `TransformFromState` function, users should not need to make any changes to the state themselves. BREAKING CHANGE: `fsx.OpenZfsFileSystem.subnetIds` now accepts a list instead of a string closes #3106, closes #3034
- Loading branch information
Showing
23 changed files
with
884 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.