Update security group using Heat
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I created a security group using Horizon dashboard. Then, I created a heat template with the same security group name with some new rules so that my security group gets updatee with new rules. However, heat template created a new security group instead of updating the existing one.
Is this a bug or an unsupported feature ?
Below is my yaml file
heat_template_
description: Create a security group
parameters:
sec_group:
type: string
default: test-secgroup
resources:
security_group:
type: OS::Neutron:
properties:
name: { get_param: sec_group }
rules:
- remote_ip_prefix: 0.0.0.0/0
protocol: tcp
- remote_ip_prefix: 0.0.0.0/0
protocol: icmp
description: | updated |
description: | updated |
Changed in heat: | |
status: | New → Invalid |
Names are not unique for SG's, so it depends on if its a put or post. Was this intended in the heat template?