Azure / terraform-azure-container-apps

A Terraform module to deploy a container app in Azure
https://github.com/Azure/terraform-azure-container-apps
35 stars 22 forks source link

Update default value for container_app_environment_internal_load_balancer_enabled #39

Closed abossard closed 7 months ago

abossard commented 7 months ago

This pull request updates the default value for the container_app_environment_internal_load_balancer_enabled variable from false to null.

With false the azurerm provider was nagging that it wants to have the subnet id:

╷
│ Error: Missing required argument
│ 
│   with module.container_apps.azurerm_container_app_environment.container_env,
│   on ../../main.tf line 25, in resource "azurerm_container_app_environment" "container_env":
│   25:   internal_load_balancer_enabled = false
│ 
│ "internal_load_balancer_enabled": all of `infrastructure_subnet_id,internal_load_balancer_enabled` must be specified
lonegunmanb commented 7 months ago

This pr should solve #40.