Skip to content
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

provider/azurerm: Fix panic if no creds supplied #4902

Merged
merged 1 commit into from
Jan 29, 2016

Conversation

jen20
Copy link
Contributor

@jen20 jen20 commented Jan 29, 2016

Using EnvDefaultFunc with a default of empty string causes the validation which would ordinarily be performed by Required: true in the schema to not have any effect. Instead validate the configuration used to produce the ARM client before attempting to use it during provider configuration.

@jen20
Copy link
Contributor Author

jen20 commented Jan 29, 2016

Huh not sure why I have @catsby's commit on here. I'll rebase off master.

Using EnvDefaultFunc with a default of empty string causes the
validation which would ordinarily be performed by `Required: true` in
the schema to not have any effect. Instead validate the configuration
used to produce the ARM client before attempting to use it during
provider configuration.
@jen20
Copy link
Contributor Author

jen20 commented Jan 29, 2016

Fixes #4697.

@phinze
Copy link
Contributor

phinze commented Jan 29, 2016

LGTM

phinze added a commit that referenced this pull request Jan 29, 2016
provider/azurerm: Fix panic if no creds supplied
@phinze phinze merged commit 7c1f8dd into master Jan 29, 2016
@phinze phinze deleted the f-arm-crash-no-credentials branch January 29, 2016 15:58
@ghost
Copy link

ghost commented Apr 28, 2020

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants