Skip to content

Instantly share code, notes, and snippets.

@yeshess
Created December 19, 2017 09:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yeshess/272b3c2ce3ada05939941b0f212ef9e6 to your computer and use it in GitHub Desktop.
Save yeshess/272b3c2ce3ada05939941b0f212ef9e6 to your computer and use it in GitHub Desktop.
############################
# Fortinet FortiGate NG-FW #
############################
fortigate_vm:
type: cloudify.azure.nodes.compute.VirtualMachine
properties:
name: {concat:[{get_input: resource_prefix},vm,{get_input: resource_suffix}]}
location: { get_input: location }
retry_after: { get_input: retry_after }
os_family: { get_input: vm_os_family }
azure_config: *azure_configuration
plan:
name: { get_input: vm_image_sku }
publisher: { get_input: vm_image_publisher }
product: { get_input: vm_image_offer }
resource_config:
hardwareProfile:
vmSize: { get_input: vm_size }
storageProfile:
imageReference:
publisher: { get_input: vm_image_publisher }
offer: { get_input: vm_image_offer }
sku: { get_input: vm_image_sku }
version: { get_input: vm_image_version }
osProfile:
computerName: { get_property: [SELF, name] }
adminUsername: { get_input: vm_os_username }
adminPassword: { get_input: vm_os_password }
agent_config:
install_method: none
relationships:
- type: cloudify.azure.relationships.contained_in_resource_group
target: resource_group
- type: cloudify.azure.relationships.connected_to_storage_account
target: storage_account
- type: cloudify.azure.relationships.connected_to_availability_set
target: availability_set
- type: cloudify.azure.relationships.connected_to_nic
target: nic_public
- type: cloudify.azure.relationships.connected_to_nic
target: nic_private
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment