-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
file_system_administrators_group not considered during creation of ressource aws_fsx_ontap_storage_virtual_machine which forces replacement during next apply #23314
Comments
I opened a ticket at AWS. They are still checking but the issue is not with the CreateStorageVirtualMachine API but with the DescribeStorageVirtualMachines API which is lacking those parameters in the Output. |
AWS support confirmed that this is a bug in API Call DescribeStorageVirtualMachines. They are working on it. |
Info from AWS Suppoer: Hello Fabian, Thank you for contacting AWS Premium Support team, my name is Robin and it was a pleasure having a conversation with you today. You contacted us because FileSystemAdministratorsGroup and RootVolumeSecurityStyle parameters are missing when you ran DescribeStorageVirtualMachines API call. I checked the behavior in lab and can confirm that even I do not see these parameters in the output of this API call. As per the public doc we should get the details of both these parameters in the output, apologies for the inconvenience. As stated on call, I have raised a ticket with the internal team to check this behavior once and confirm if its a bug or if we are missing something while running the command. I will get back to you as soon as I have an update from internal team. I appreciate your time and patience with us. Thanks We value your feedback. Please share your experience by rating this correspondence using the AWS Support Center link at the end of this correspondence. Each correspondence can also be rated by selecting the stars in top right corner of each correspondence within the AWS Support Center. Best regards, |
I got the following feedback from AWS Support. My answer is right below: I have an update from the internal team. They have confirmed that RootVolumeSecurityStyle and FileSystemAdministratorsGroup are not returned in describe API call because these are considered "write-only" fields. They have also confirmed that they will be updating the public document as soon as possible. I understand your use case but you will have to stick to the workaround you are following in Terraform as these attributes wont be returned in the describe API call. Apologies for the all inconvenience. I will keep the case under monitoring till tomorrow. Please feel free to get back to us if you have additional queries. Thanks We value your feedback. Please share your experience by rating this correspondence using the AWS Support Center link at the end of this correspondence. Each correspondence can also be rated by selecting the stars in top right corner of each correspondence within the AWS Support Center. Best regards, My Answer: thanks for the reply. BR |
Was this resolved? We're seeing the same issue as of 06/13/22. |
Closed via #33466. |
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. |
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
https://gist.github.com/brakf/1efc660e344634e8eeec99e531c41684
Panic Output
Expected Behavior
aws_fsx_ontap_storage_virtual_machine.brln should have been created with parameter file_system_administrators_group set properly.
Actual Behavior
Instead it was not considered which prompted terraform to delete and create the same ressource again upon next apply.
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: