-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
"KMSEncrypted is set to true, but KMSKey is missing." when updating aws_storagegateway_smb_file_share #20766
Comments
I've noticed I'm able to correct this issue by manually going to "Edit file share encryption" on the share, manually changing the KMS key to the full id (not an alias), and then re-applying. I've also noticed I'm able to reproduce this issue by applying a cache configuration (refresh seconds) where I didn't have it before. Using provider version 3.69.0 and on Terraform 1.1.0 |
I am facing the same issue when updating the SMB file share's admin user list and valid user list. I am using provider version 3.74.1.
|
Hi Guys, We have also just bumped into this issue. AWS provider version 4.59.0 |
This functionality has been released in v5.5.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. |
Community Note
Terraform CLI and Terraform AWS Provider Version
3.47.0, 3.56.0
Affected Resource(s)
Debug Output
Expected Behavior
The SMB share changes "File access settings > Export as" -> Read-write/Read-only.
Actual Behavior
The SMB share is not changed.
Terraform shows
Steps to Reproduce
terraform apply
terraform apply
Important Factoids
The SMB Share can be changed using the AWS webconsole ("File access settings > Export as" ) without entering KMS Key ID.
References
aws/resource_aws_storagegateway_smb_file_share.go (around lines 410-413)
As the debug output shows there is no reference to the KMS key in request body.
Could the unchanged kms_key_arn explain the missing property?
The text was updated successfully, but these errors were encountered: