Unable to allocate an IP address. Continuously receiving a .169 after customization. I found a related article about including 'assignment: static' but no luck.
Using below code
formatVersion: 1
inputs:
os-image:
type: string
oneOf:
- title: Windows Server 2016
const: Windows Server 2016
- title: Windows Server 2019
const: Windows Server 2019
title: Select Operating System
description: Specify which OS to be deployed on the machine.
hardware-config:
type: string
oneOf:
- title: Small
const: Small
- title: Medium
const: Medium
- title: Large
const: Large
title: Machine Size
description: Specify size of the VM.
resources:
VM1:
type: Cloud.vSphere.Machine
properties:
image: '${input.os-image}'
customizationSpec: 1_vRA CS 2016
flavor: '${input.hardware-config}'
networks:
- network: '${resource.DC-01-NP.id}'
assignment: static
DC-01-NP:
type: Cloud.vSphere.Network
properties:
networkType: existing