From fd40fede340fcf30ee35e60c614a0b3ec10cff11 Mon Sep 17 00:00:00 2001 From: Patrick de Ruiter Date: Tue, 8 Dec 2020 11:25:50 +0100 Subject: [PATCH] Upgraded module to latest terraform version --- landing-zone.tf | 4 ++-- variables.tf | 16 ++++++++++++++++ versions.tf | 8 ++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 versions.tf diff --git a/landing-zone.tf b/landing-zone.tf index 4861715..a17509d 100644 --- a/landing-zone.tf +++ b/landing-zone.tf @@ -1,7 +1,7 @@ module "landingzone" { source = "MitocGroup/landing-zone/aws" - version = "0.2.4" + version = "0.2.5" landing_zone_providers = var.landing_zone_providers landing_zone_components = var.landing_zone_components - terraform_backend = var.terraform_backend + #terraform_backend = var.terraform_backend } diff --git a/variables.tf b/variables.tf index 99259ef..310d86c 100644 --- a/variables.tf +++ b/variables.tf @@ -16,3 +16,19 @@ variable "availability-zone-names" { description = "List of Availability zone names" type = list(string) } + +variable "landing_zone_providers" { + type = map(map(string)) + description = "The list of AWS providers." +} + +variable "landing_zone_components" { + type = map(string) + description = "This is the list of AWS Landing Zone components that will be deployed if corresponding `.tfvars` file is included." +} + +variable "terraform_config" { + type = bool + default = true + description = "The command that will be generate the `terraform` config file." +} diff --git a/versions.tf b/versions.tf new file mode 100644 index 0000000..1d23dfe --- /dev/null +++ b/versions.tf @@ -0,0 +1,8 @@ +terraform { + required_providers { + aws = { + source = "hashicorp/aws" + } + } + required_version = ">= 0.13" +}