-
Notifications
You must be signed in to change notification settings - Fork 15
Fix: Remove the need for client_id and client_secret (issue #59) #60
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -16,15 +16,11 @@ terraform { | |||||||||
| } | ||||||||||
| provider "azapi" { | ||||||||||
| subscription_id = var.subscription_id | ||||||||||
| client_id = var.client_id | ||||||||||
| client_secret = var.client_secret | ||||||||||
| tenant_id = var.tenant_id | ||||||||||
|
||||||||||
| tenant_id = var.tenant_id | |
| tenant_id = var.tenant_id | |
| client_id = var.client_id | |
| client_secret = var.client_secret |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
client_idandclient_secretare now optional (defaultnull), but they are no longer referenced anywhere in the high-availability module after the provider changes. Keeping unused inputs is misleading (and currently conflicts with the module README, which describes these as required) and makes it unclear how Service Principal auth is intended to work.Either remove/deprecate these variables, or reintroduce their usage so setting them has an effect.