From 5c02f78df3bdbd9bad1b5e8730a9e600014c1ab1 Mon Sep 17 00:00:00 2001 From: irakravchuk <52664019+irakravchuk@users.noreply.github.com> Date: Thu, 25 Mar 2021 16:14:57 +0200 Subject: [PATCH] Create main.tf --- montf/main.tf | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 montf/main.tf diff --git a/montf/main.tf b/montf/main.tf new file mode 100644 index 0000000..416f11e --- /dev/null +++ b/montf/main.tf @@ -0,0 +1,9 @@ +module "web_server_sg" { + source = "terraform-aws-modules/security-group/aws//modules/http-80" + + name = "web-server" + description = "Security group for web-server with HTTP ports open within VPC" + vpc_id = "vpc-12345678" + + ingress_cidr_blocks = ["10.10.0.0/16"] +}