mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-24 07:16:26 +00:00
Historically, we only support one Terraform configuration, through the "openstack-tf" infraclass. With these changes, we support multiple Terraform configurations, including (at this point) "openstack" and "oci" (Oracle Cloud). Existing infra files that use INFRACLASS=openstack-tf should be changed as follows: INFRACLASS=terraform TERRAFORM=openstack
13 lines
360 B
HCL
13 lines
360 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
|
|
}
|
|
|