aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/yandex/firewall/main.tf
diff options
context:
space:
mode:
Diffstat (limited to 'yandex/firewall/main.tf')
-rw-r--r--yandex/firewall/main.tf25
1 files changed, 0 insertions, 25 deletions
diff --git a/yandex/firewall/main.tf b/yandex/firewall/main.tf
deleted file mode 100644
index 81dc26a..0000000
--- a/yandex/firewall/main.tf
+++ /dev/null
@@ -1,25 +0,0 @@
-resource "yandex_vpc_security_group" "this" {
- network_id = var.vpc_id
-
- name = var.name
-
- ingress {
- protocol = "ICMP"
- v4_cidr_blocks = ["0.0.0.0/0"]
- }
-
- dynamic "ingress" {
- for_each = var.open_ports
-
- content {
- protocol = "ANY"
- v4_cidr_blocks = ["0.0.0.0/0"]
- port = ingress.value
- }
- }
-
- egress {
- protocol = "ANY"
- v4_cidr_blocks = ["0.0.0.0/0"]
- }
-}