Upgraded module to latest terraform version

This commit is contained in:
Patrick de Ruiter 2020-12-08 11:25:50 +01:00
parent 01cf7906ec
commit fd40fede34
3 changed files with 26 additions and 2 deletions

View File

@ -1,7 +1,7 @@
module "landingzone" { module "landingzone" {
source = "MitocGroup/landing-zone/aws" source = "MitocGroup/landing-zone/aws"
version = "0.2.4" version = "0.2.5"
landing_zone_providers = var.landing_zone_providers landing_zone_providers = var.landing_zone_providers
landing_zone_components = var.landing_zone_components landing_zone_components = var.landing_zone_components
terraform_backend = var.terraform_backend #terraform_backend = var.terraform_backend
} }

View File

@ -16,3 +16,19 @@ variable "availability-zone-names" {
description = "List of Availability zone names" description = "List of Availability zone names"
type = list(string) 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."
}

8
versions.tf Normal file
View File

@ -0,0 +1,8 @@
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
}
}
required_version = ">= 0.13"
}