-
Notifications
You must be signed in to change notification settings - Fork 477
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
add msi_auth_for_monitoring_enabled #446
Changes from 1 commit
a4f6084
4b96aa2
218e831
498e79a
f71d278
46b5902
7807414
7935982
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 |
---|---|---|
|
@@ -689,6 +689,13 @@ variable "maintenance_window_node_os" { | |
EOT | ||
} | ||
|
||
variable "msi_auth_for_monitoring_enabled" { | ||
type = bool | ||
default = false | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why you have the default at false and not null ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When running module aks with log_analytics_workspace_enabled = true without specifying So I thought default value was false. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also is nullable = false, I interpreted it as only possible values should be either False or True? Correct me if I'm wrong There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree with @zioproto, according to the provider schema, this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @admincasper It is often the case that Terraform has There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah thanks for clarifying! I've pushed up the changes. |
||
description = "(Optional) Is managed identity authentication for monitoring enabled? Defaults to `false`" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can remove "Defaults to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @admincasper on line 695 at the end of the description string, can you remove:
Thanks There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
@zioproto I think it needs to default to null. So I changed it to I think everything should be ok now then? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @admincasper line 694 is ok, the correct default is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @zioproto Done. Removed "Defaults to 'null'" in description. |
||
nullable = false | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This variable could be set to |
||
} | ||
|
||
variable "microsoft_defender_enabled" { | ||
type = bool | ||
default = false | ||
|
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.
This is already present in provider version 3.47.0:
hashicorp/terraform-provider-azurerm#20757
No need to bump versions. All good.