{
    "AWSTemplateFormatVersion" : "2010-09-09",
    "Description" : "Data Processing Cluster by Sahara",

    "Resources" : {
        "cluster-worker-001-floating-assoc" : {
            "Type" : "OS::Nova::FloatingIPAssociation",
            "Properties" : {
                "floating_ip" : { "Ref" : "cluster-worker-001-floating" },
                "server_id" : { "Ref" : "cluster-worker-001" }
            }
        },
        "cluster-worker-001-floating" : {
            "Type" : "OS::Nova::FloatingIP",
            "Properties" : {
                "pool" : "floating"
            }
        },
        "cluster-worker-001" : {
            "Type" : "OS::Nova::Server",
            "Properties" : {
                "name" : "cluster-worker-001",
                "flavor" : "42",
                "image" : "1",
                "admin_user": "root",
                "key_name" : "user_key",
                "user_data": {
                    "Fn::Join" : ["\n", ["line2", "line3"]]
                }
            }
        },
        "cluster-worker-001-volume-0" : {
            "Type" : "OS::Cinder::Volume",
            "Properties" : {
                "name" : "cluster-worker-001-volume-0",
                "size" : "10"
            }
        },
        "cluster-worker-001-volume-attachment-0" : {
            "Type" : "OS::Cinder::VolumeAttachment",
            "Properties" : {
                "instance_uuid" : { "Ref" : "cluster-worker-001" },
                "volume_id" : { "Ref" : "cluster-worker-001-volume-0" },
                "mountpoint" : null
            }
        },
        "cluster-worker-001-volume-1" : {
            "Type" : "OS::Cinder::Volume",
            "Properties" : {
                "name" : "cluster-worker-001-volume-1",
                "size" : "10"
            }
        },
        "cluster-worker-001-volume-attachment-1" : {
            "Type" : "OS::Cinder::VolumeAttachment",
            "Properties" : {
                "instance_uuid" : { "Ref" : "cluster-worker-001" },
                "volume_id" : { "Ref" : "cluster-worker-001-volume-1" },
                "mountpoint" : null
            }
        },
        "cluster-master-001-floating-assoc" : {
            "Type" : "OS::Nova::FloatingIPAssociation",
            "Properties" : {
                "floating_ip" : { "Ref" : "cluster-master-001-floating" },
                "server_id" : { "Ref" : "cluster-master-001" }
            }
        },
        "cluster-master-001-floating" : {
            "Type" : "OS::Nova::FloatingIP",
            "Properties" : {
                "pool" : "floating"
            }
        },
        "cluster-master-001" : {
            "Type" : "OS::Nova::Server",
            "Properties" : {
                "name" : "cluster-master-001",
                "flavor" : "42",
                "image" : "1",
                "admin_user": "root",
                "key_name" : "user_key",
                "user_data": {
                    "Fn::Join" : ["\n", ["line1", "line2"]]
                }
            }
        }
    },

    "Outputs" : {}
}
