-
Notifications
You must be signed in to change notification settings - Fork 0
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
ad-login extension template copy #4
base: main
Are you sure you want to change the base?
Conversation
a6c42da
to
8e7af9a
Compare
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.
Generally, looking good. Some style comments below.
|
||
# ad_group_owners = ["user.name@example.com", "user.name_2@example_2.com"] | ||
data "azuread_users" "ad_group_owners" { | ||
user_principal_names = var.ad_group_owners |
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.
Would it not be better to create a nonsense user principal and set it as owner?
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.
Yes, something similar to managed identity or service principle shall be implemented in a future version.
@@ -16,15 +16,12 @@ module "linux_adextension" { | |||
version = "test" | |||
caching = "test" | |||
storage_account_type = "SSD" | |||
disk_size_gb = 128 | |||
disk_size_gb = 64 |
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 declared as an optional string. Why does this not fail?
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.
Number vs String in module, could be int32., will modify the variables.tf
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.
Number vs String in module, could be int32.
@@ -6,7 +6,7 @@ resource "azurerm_linux_virtual_machine" "vm" { | |||
} | |||
name = "vm-${var.environment}-${var.location_short}-${each.value.vm_name}" | |||
location = var.location | |||
resource_group_name = each.value.rg_name | |||
resource_group_name = var.rg_name |
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.
Nitpick: This should be azurerm_resource_group.rg.name
. Some more below.
57b0057
to
c48b343
Compare
No description provided.