Skip to content
Snippets Groups Projects
pv176-port-public.template 945 B
Newer Older
{
    "heat_template_version": "2016-04-08",
    "parameters":{
        "name":{
            "type": "string"
        },
        "network":{
            "type": "string"
        },
        "port_subnet":{
            "type": "string"
        }
    },
    "resources":{
Tomas Sapak's avatar
Tomas Sapak committed
        "public_port":{
            "type": "OS::Neutron::Port",
Tomas Sapak's avatar
Tomas Sapak committed
            "properties": {
                "name": {"get_param": "name"},
                "network_id":{"get_param": "network"},
                "port_security_enabled": "true",
                "security_groups": [
                    "default",
                    "PV176-security-group-RDP-MUNI"
                ],
                "fixed_ips": [
                    {
                    "subnet_id": {"get_param": "port_subnet"}
                    }
Tomas Sapak's avatar
Tomas Sapak committed
            "value": { "get_attr": ["public_port"] }
Tomas Sapak's avatar
Tomas Sapak committed
}