Closed vaiddas closed 5 months ago
Just to update my auth_settings_v2 block is something like below:
auth_settings_v2 = {
auth_settings_v2 = {
auth_enabled = true
default_provider = "AzureActiveDirectory"
require_authentication = true
require_https = true
unauthenticated_action = "RedirectToLoginPage"
active_directory_v2 = {
active_directory_v2 = {
allowed_applications = ["xxxxxxxx"]
client_id = "xxxxxxx"
client_secret_setting_name = "xxxxxxx"
tenant_auth_endpoint = "xxxxxxx"
}
}
login = {
login1 = {
token_store_enabled = true
validate_nonce = true
}
}
}
}
Hi @vaiddas - currently looking into this.
addressed in v0.6.0 release
Check for previous/existing GitHub issues
Description
We are using Azure/avm-res-web-site/azurerm module and one of our requirement is to have authentication setup in the app service plan.
Under auth_settings_v2 block, we are just specifying active_directory_v2 but running terraform plan throws below error.
Aren't these all values optional?
Can you please provide some examples here how we can pass the inputs to auth_settings_v2 then?
Thanks.