From 5e23ae915455849f966d5f61efa8fc2717ad8235 Mon Sep 17 00:00:00 2001 From: Marc Meszaros Date: Wed, 29 Dec 2021 16:11:44 -0800 Subject: [PATCH] Remove explicit provider region as variable and use inherited provider --- variables.tf | 4 ---- versions.tf | 4 ---- 2 files changed, 8 deletions(-) diff --git a/variables.tf b/variables.tf index 76afb67..f38c44c 100644 --- a/variables.tf +++ b/variables.tf @@ -1,7 +1,3 @@ -variable "region" { - type = string -} - variable "ssh_key_id" { description = "A SSH public key ID to add to the VPN instance." } diff --git a/versions.tf b/versions.tf index e747eb8..d1d856a 100644 --- a/versions.tf +++ b/versions.tf @@ -10,7 +10,3 @@ terraform { } } } - -provider "aws" { - region = var.region -}