mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-19 21:09:27 +00:00
This allows to manage groups of VMs across multiple infrastructure providers. It also adds support to create groups of VMs on OpenStack. WARNING: the syntax of workshopctl has changed slightly. Check READMEs for details.
13 lines
365 B
HCL
13 lines
365 B
HCL
resource "openstack_networking_secgroup_v2" "full_access" {
|
|
name = "${var.prefix} - full access"
|
|
}
|
|
|
|
resource "openstack_networking_secgroup_rule_v2" "full_access" {
|
|
direction = "ingress"
|
|
ethertype = "IPv4"
|
|
protocol = ""
|
|
remote_ip_prefix = "0.0.0.0/0"
|
|
security_group_id = "${openstack_networking_secgroup_v2.full_access.id}"
|
|
}
|
|
|