-
Notifications
You must be signed in to change notification settings - Fork 67
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
GCE plugin fails when creating windows hosts if using application default auth #212
Comments
I think this could be resolved by either not setting
|
Would you mind submitting a PR to fix this issue? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The 'Prepare Windows User' will set the env variable
GOOGLE_APPLICATION_CREDENTIALS
to an empty string when themolecule_yml.driver.service_account_file
/GCP_SERVICE_ACCOUNT_FILE
is undefined (which it commonly is when usingauth_kind: application
). windows_auth.py then fails to find the application credentials json file since GOOGLE_APPLICATION_CREDENTIALS is""
https://github.com/ansible-community/molecule-plugins/blob/196ed1eb034ebf343a270102179c98e84f49eb71/src/molecule_plugins/gce/playbooks/tasks/create_windows_instance.yml#L64C44-L64C44
The text was updated successfully, but these errors were encountered: