diff --git a/infras/gitops3/iteration3/providers.tf b/infras/gitops3/iteration3/providers.tf index e69de29..09bb701 100644 --- a/infras/gitops3/iteration3/providers.tf +++ b/infras/gitops3/iteration3/providers.tf @@ -0,0 +1,17 @@ +# Setting and locking the Dependencies +terraform { + required_providers { + aws = { + source = "hashicorp/aws" + version = "4.10" + } + } + + required_version = ">= 1.1.0" +} + +# Feeding the AWS providers with the data it needs +provider "aws" { + # Set the default region + region = var.region +} \ No newline at end of file diff --git a/infras/gitops3/iteration3/terraform.auto.tfvars b/infras/gitops3/iteration3/terraform.auto.tfvars index e69de29..a92359d 100644 --- a/infras/gitops3/iteration3/terraform.auto.tfvars +++ b/infras/gitops3/iteration3/terraform.auto.tfvars @@ -0,0 +1,4 @@ +environment = "dev" +region = "us-east-2" +ssh_key_name = "gitops" +instance_type = "t2.micro" \ No newline at end of file