-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to create Fsx for OpenZFS Multi-AZ file system #3106
Comments
Hi @shmulikah. Thanks for reporting this. I'm sorry you're hitting this error. We will try to get a fix out soon. This is caused by enforcing a I see two options for a fix:
|
@iwahbe Do you know why we have |
Ah, this was removed upstream in hashicorp/terraform-provider-aws@dba62f6 and we are keeping the backwards compatibility until the next major version by default |
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
This issue has been addressed in PR #4095 and shipped in release v6.42.0. |
What happened?
When trying to create Fsx filesystem for OpenZFS with deployment type: Multi-AZ, I received the following error:
Example
Output of
pulumi about
CLI
Version 3.94.2
Go Version go1.21.4
Go Compiler gc
Plugins
NAME VERSION
aws 6.13.0
kubernetes 4.5.4
Host
OS darwin
Version 14.1
Arch arm64
This project is written in python: executable='/Library/Frameworks/Python.framework/Versions/3.11/bin/python3' version='3.11.5'
Backend
Name << REDACTED >>
URL s3://<< REDACTED >>
User xxxxxxxx
Organizations xxxxxxxx
Token type personal
Dependencies:
NAME VERSION
@pulumi/aws 6.13.0
@pulumi/pulumi 3.94.2
Additional context
Passing a list instead of a string result in a type error.
Passing only single subnet to the subnetIds resulted in another error/;
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: