Reply to Message

View discussion in a popup

Replying to:
Sasidhar1234
Enthusiast
Enthusiast

Error "Failure to construct resource name for : 'Cloud_vSphere_Network_1'" while deployment testing

Hi All,

I am getting an error Failure to construct resource name for : 'Cloud_vSphere_Network_1 while testing basic blueprint deployment test. PFA screenshot.

formatVersion: 1
inputs:
platform:
type: string
title: cloud platform
environment:
type: string
title: environment
resources:
Cloud_vSphere_Machine_1:
type: Cloud.vSphere.Machine
properties:
image: vRA-Windows2019
customizationSpec: WIN2019_vRA
cpuCount: 2
totalMemoryMB: 4096
constraints:
- tag: '${input.platform}'
- tag: '${input.environment}'
networks:
- network: '${resource.Cloud_vSphere_Network_1.id}'
Cloud_vSphere_Network_1:
type: Cloud.Network
properties:
networkType: existing

I have assigned a tag to Network profile and tried in YAML under constraints, still same error. 

Kindly help me understand the issue and the resolution. 

Regards,

Sasidhar

Labels (3)
Reply
0 Kudos