Created
December 4, 2019 15:26
-
-
Save sammcgeown/2b79273cff4de0e9a712a32e24a1e618 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
formatVersion: 1 | |
inputs: | |
user: | |
type: string | |
sshkey: | |
type: string | |
resources: | |
Cloud_Machine_1: | |
type: Cloud.Machine | |
properties: | |
image: Ubuntu 18.04 | |
flavor: Small | |
name: test-vm | |
networks: | |
- name: '${resource.Cloud_NSX_Network_1.id}' | |
network: '${resource.Cloud_NSX_Network_1.id}' | |
remoteAccess: | |
authentication: publicPrivateKey | |
sshKey: '${input.sshkey}' | |
username: '${input.user}' | |
constraints: | |
- tag: 'cloud:vsphere' | |
- tag: 'env:lab' | |
Cloud_NSX_Network_1: | |
type: Cloud.NSX.Network | |
properties: | |
networkType: routed | |
name: nsx-network |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment