-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
No support for Automated Windows Password generation #1472
No support for Automated Windows Password generation #1472
Comments
I'm not sure if this should be its own resource. Instead, I think with the addition of #1578 you'd be able to do this all within your Terraform config. The config would
|
Thanks for the comment @morgante. I was assuming it could be part of the compute_instance provider, but I definitely could be wrong. Am I able to generate these bits just with already existing terraform functions? https://github.com/GoogleCloudPlatform/compute-image-windows/blob/master/examples/windows_auth_go_sample.go#L59-L71 |
Any updates on this? @morgante do you have a sample code on how to do this? |
@KbLev Unfortunately I don't think it's currently possible because #1578 is still open. |
@morgante What about the suggestion of @discentem - using the PKI infra to extract the password rather than "screen scraping" the password from the output of the serial port? |
I don't have the Terraform code, but you should be able to do the equivalent of https://github.com/GoogleCloudPlatform/compute-image-windows/pull/139/files using the new data source. |
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. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Terraform Version
Terraform v0.11.7
Affected Resource(s)
Please list the resources as a list, for example:
terraform-google-provider does not have support for https://cloud.google.com/compute/docs/instances/windows/automate-pw-generation as far as I can tell. Having the equivalent of hashicorp/terraform-provider-aws#2219 for this provider would be great for automated provisioning workflows.
Here is an full, working example of automate-pw-generation in golang: https://github.com/GoogleCloudPlatform/compute-image-windows/pull/139/files. it would just need to be modified/integrated into this provider.
The text was updated successfully, but these errors were encountered: