-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
google_notebooks_instance seems to always force recreation when CMEK key encryption is set. #9164
Comments
Both disk_encryption and kms_key are missing in the API response. Added label upstream |
We have the same error! Please fix :) |
This issue has not been fixed. I have tested with the google provider v4.15.0 |
This should be resolved by GoogleCloudPlatform/magic-modules#9915 |
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
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Version v0.15.3
Affected Resource(s)
Terraform Configuration Files
Our hsm_kms_key module
Debug Output
https://gist.github.com/Karrot96/4f817f93699140699e45233fba8673bc
Expected Behavior
Having previously run
terraform apply
it created the VM with the CMEK key. This is confirmed by checking in the google VM dashboad. Given there is nothing causing a change here we would expect toterraform apply
return no changes. Instead it is suggesting a change is required.Actual Behavior
When ever you run a
terraform apply
or aterraform plan
it suggests that an addition of the CMEK key is required.Steps to Reproduce
1.Create a
google_notebooks_instance
withdisk_encryption
set toCMEK
.terraform apply
terraform apply
Important Factoids
This is happening when we are authenticating as a user. We have managed to get round this temporarily by using the
ignore_changes
option. This is quite a painful issue if you accidentally run this as it deletes the data from the disk if you happen to have anything saved on there.b/303399836
The text was updated successfully, but these errors were encountered: