-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
- Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
- If you are interested in working on this issue or have submitted a pull request, please leave a comment.
- If an issue is assigned to a user, that user is claiming responsibility for the issue.
- Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.
Terraform Version & Provider Version(s)
Terraform v1.7.4
on x86-64
- provider registry.terraform.io/hashicorp/google v6.0
- provider registry.terraform.io/hashicorp/google-beta v6.0
Affected Resource(s)
google_workstations_workstation
Terraform Configuration
Debug Output
No response
Expected Behavior
source_workstation should act like source image arguments, which cause a replacement on change, but when left unchanged don't cause any behavior.
Actual Behavior
source_workstation argument being present causes constant recreation of workstation resource, meaning that all uses of it must be followed by removing the attribute and re-applying. While lifecycle { ignore_changes = [ source_workstation] } on the module can be used as a workaround, that prevents re-creation when the attribute changes.
Steps to reproduce
terraform apply
Important Factoids
No response
References
No response
b/398833653
zfilip, nonlogic, mtavis, alex-hancock, sthompson0 and 7 more