Check for previous/existing GitHub issues
Issue Type?
Bug
Module Name
avm/res/app/managed-environment
(Optional) Module Version
0.13.3
Description
The staticIp output of avm/res/app/managed-environment reads managedEnvironment.properties.staticIp unconditionally. This property is only populated for internal Managed Environments deployed into a VNet — for external/non-VNet environments it is absent, and recent ARM behavior fails template validation when reading a missing property as a non-nullable string.
Error:
The template output 'staticIp' is not valid: The language expression property 'staticIp' doesn't exist
|
output staticIp string = managedEnvironment.properties.staticIp |
This used to work so it might be an ARM change that validates output variables?
(Optional) Correlation Id
No response
Check for previous/existing GitHub issues
Issue Type?
Bug
Module Name
avm/res/app/managed-environment
(Optional) Module Version
0.13.3
Description
The staticIp output of avm/res/app/managed-environment reads managedEnvironment.properties.staticIp unconditionally. This property is only populated for internal Managed Environments deployed into a VNet — for external/non-VNet environments it is absent, and recent ARM behavior fails template validation when reading a missing property as a non-nullable string.
Error:
bicep-registry-modules/avm/res/app/managed-environment/main.bicep
Line 320 in 4b33e67
This used to work so it might be an ARM change that validates output variables?
(Optional) Correlation Id
No response