v2.10.0
v2.10.0:
New
network-sg
: change input type to support ports range invar.network_security_groups.*.ports
variable.
Fix
None
Breaking Changes
network-sg
modules input fornetwork_security_groups
is updated. The subkeyport
is replaced withports
and it is now a map of two objectsmax
andmin
.
network_security_groups = {
"group_1" = {
"rule_1" = {
direction = "INGRESS"
protocol = "tcp"
port = { min : 9090, max : 9090 }
ips = ["192.168.100.12", "192.168.100.12"]
}
}
}
- Currently there is no easy migration path for this change, since the terraform resource name is updated. However, destroying and recreating the rules is the best and fastest way to do it, however, it might impact your networks for few minutes. Alternatively, reference the new release in a new module definition, and migration your rules one by one.