diff --git a/trove/templates/cassandra/heat.template b/trove/templates/cassandra/heat.template index 1e5694a213..b74b438dea 100644 --- a/trove/templates/cassandra/heat.template +++ b/trove/templates/cassandra/heat.template @@ -18,6 +18,16 @@ Parameters: TenantId: Type: String Resources: +{% for port in ports %} + {{ port.name }}: + Type: OS::Neutron::Port + Properties: + network_id: "{{ port.net_id }}" + security_groups: [{Ref: CassandraDbaasSG}] + {% if port.fixed_ip %} + fixed_ips: [{"ip_address": "{{ port.fixed_ip }}"}] + {% endif %} +{% endfor %} BaseInstance: Type: AWS::EC2::Instance Metadata: