Skip to content
Snippets Groups Projects
gc_HOT.yaml 10.17 KiB
---
heat_template_version: 2013-05-23
description: "A simple template to boot a cluster of desktops (LoginNode, ManagementNodes and Desktop Nodes)"
# avz parameters disabled. they are working but I want just more options than monash-02. I would like to have a parameter that says "I don't care"
#This requires gc_secgroups to be called beforehand

parameters:
  ubuntu_1804_image_id:
    type: string
    label: Image ID
    description: Ubuntu Image
    default: 99d9449a-084f-4901-8bd8-c04aebd589ca
  centos_7_image_id:
    type: string
    label: Image ID
    description: Centos Image
    default: c47c3acb-9657-4243-9e14-e6c676157e3b #with NetworkManager
  rhel_77_image_id:
    type: string
    label: Image ID
    description: Rhel Image
    default: 19993115-ad60-4979-bdfb-67ae7a77e40c
  ssh_key:
    type: string
    default: gc_key
  avz:
    type: string
    default: monash-02
  project_name:
    type: string
  NetID:
    type: string
    default: Classic Provider
  Flavour:
    type: string
    default: m3.xsmall
  SlurmSecGroupID:
    type: string
    label: Resource ID
    default: 6e7a09b0-981c-424f-a9b7-9fd4f4d8f416
  NFSSecGroupID:
    type: string
    label: Resource ID
    default: b07a75a3-830c-4778-96c6-8a3732ec7d6c
  MySQLSecGroupID:
    type: string
    label: Resource ID
    default: 4478f245-de5c-4177-bcbd-6fa661032cbe
  SSHMonashSecGroupID:
    type: string
    label: Resource ID
    default: c15081f4-c756-4c57-b8cf-388dd7fdbcd4
  HTTPsSecGroupID:
    type: string
    label: Resource ID
    default: 2d4510c3-ae73-44ea-9700-b6f0a00bf7aa
  PublicSSHSecGroupID:
    type: string
    label: Resource ID
    default: 8a029c04-08ce-40f1-a705-d45a2077e27d

resources:


  SQLNode0:
   type: "OS::Nova::Server"
   properties:
    name:
     list_join: [ '-', [ { get_param: "OS::stack_name" }, 'sql0' ]]
    availability_zone: { get_param: avz }