diff --git a/main.tf b/main.tf index cb0ce0d..3e6c896 100644 --- a/main.tf +++ b/main.tf @@ -1,18 +1,8 @@ terraform { - required_version = ">= 0.12.0" + required_providers { + aws = { + source = "hashicorp/aws" + version = "3.72.0" + } + } } - -provider "aws" { -} - -module "server" { - source = "./server" - - num_webs = var.num_webs - identity = var.identity - ami = var.ami - ingress_cidr = var.ingress_cidr - public_key = var.public_key - private_key = var.private_key -} -