Skip to content

[AVM Module Issue]:[avm/res/app/managed-environment] The template output 'staticIp' is not valid: The language expression property 'staticIp' doesn't exist #7172

Description

@karpikpl

Check for previous/existing GitHub issues

  • I have checked 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

Image

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

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

Status
Needs: Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions