Reply to Message

View discussion in a popup

Replying to:
justaregulardud
Contributor
Contributor

remove appending -mcm####-#####

Hello everyone, I am having a dilemma here.

I currently have

Cloud_vSphere_Machine_1:
type: Cloud.vSphere.Machine
properties:
constraints:
- tag: ${input.Datacenter}
name: ${input.customName}${input.VMcount}${input.Datacenter}

When I do a test it appends a very long identifier

 

Example
customname=test
Vmcount=1
datacenter=us

the name for the VM becomes test1us-mcm####-######

Is there a way that I can remove this ? and just follow the inputs I have on the name?

I have tried adding a new naming template for resource type machine with just ${resource.name} but it's giving me an invalid pattern

 

Thanks in advance

Reply
0 Kudos