-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[Bug]: BadReqest: Invalid input error when changing file_system_id in aws_fsx_ontap_storage_virtual_machine resource #33542
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Adding
|
terraform-provider-aws/internal/service/fsx/ontap_storage_virtual_machine.go Lines 199 to 203 in 701f091
Need to add @acwwat Thanks for raising this issue 👏. |
This functionality has been released in v5.18.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform Core Version
1.5.4
AWS Provider Version
5.16.2
Affected Resource(s)
aws_fsx_ontap_storage_virtual_machine
aws_fsx_ontap_file_system
(indirect)Expected Behavior
When
file_system_id
is changed in theaws_fsx_ontap_storage_virtual_machine
resource, it should trigger a replacement.Actual Behavior
When
file_system_id
is changed in theaws_fsx_ontap_storage_virtual_machine
resource, it attempts to modify the existing resources leading to a BadRequest error with invalid input.Relevant Error/Panic Output Snippet
Terraform Configuration Files
This is copied from my TF config. Replace variables with appropriate values if you are building a test case based on this config reference.
Steps to Reproduce
aws_fsx_ontap_file_system
resource and aaws_fsx_ontap_storage_virtual_machine
resource that sets thefile_system_id
attribute to theid
attribute of the former resource.aws_fsx_ontap_file_system
resource which will replace the resource (for example, changedeployment_type
.Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: