|
@@ -64,12 +64,31 @@ generate "provider" {
|
|
path = "provider.tf"
|
|
path = "provider.tf"
|
|
if_exists = "overwrite_terragrunt"
|
|
if_exists = "overwrite_terragrunt"
|
|
contents = <<EOF
|
|
contents = <<EOF
|
|
|
|
+terraform {
|
|
|
|
+ required_providers {
|
|
|
|
+ aws = {
|
|
|
|
+ source = "hashicorp/aws"
|
|
|
|
+ version = "= 3.37.0" # 2021-04-29: upgrade from 2.66
|
|
|
|
+ }
|
|
|
|
+ template = {
|
|
|
|
+ source = "hashicorp/template"
|
|
|
|
+ version = "= 2.2.0" # 2021-04-29: ugprade from 2.1.0
|
|
|
|
+ }
|
|
|
|
+ vault = {
|
|
|
|
+ source = "hashicorp/vault"
|
|
|
|
+ version = "= 2.19.1" # 2021-04-29: upgrade from 2.18.0
|
|
|
|
+ }
|
|
|
|
+ sensu = {
|
|
|
|
+ source = "jtopjian/sensu"
|
|
|
|
+ version = "= 0.10.5"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
provider "template" {
|
|
provider "template" {
|
|
- version = "~> 2.1"
|
|
|
|
}
|
|
}
|
|
|
|
|
|
provider "aws" {
|
|
provider "aws" {
|
|
- version = "~> 3.26"
|
|
|
|
region = "${local.aws_region}"
|
|
region = "${local.aws_region}"
|
|
|
|
|
|
assume_role {
|
|
assume_role {
|
|
@@ -85,7 +104,6 @@ provider "aws" {
|
|
|
|
|
|
# The "common" provider in the respective partition is always available
|
|
# The "common" provider in the respective partition is always available
|
|
provider "aws" {
|
|
provider "aws" {
|
|
- version = "~> 3.26"
|
|
|
|
region = "${local.aws_region}"
|
|
region = "${local.aws_region}"
|
|
allowed_account_ids = [ "471284459109", "701290387780" ]
|
|
allowed_account_ids = [ "471284459109", "701290387780" ]
|
|
profile = "${local.common_profile}"
|
|
profile = "${local.common_profile}"
|
|
@@ -99,7 +117,6 @@ provider "aws" {
|
|
|
|
|
|
# The "mdr-common-services-commercial" provider is used for public DNS entries
|
|
# The "mdr-common-services-commercial" provider is used for public DNS entries
|
|
provider "aws" {
|
|
provider "aws" {
|
|
- version = "~> 3.26"
|
|
|
|
region = "us-east-1"
|
|
region = "us-east-1"
|
|
allowed_account_ids = [ "471284459109" ]
|
|
allowed_account_ids = [ "471284459109" ]
|
|
profile = "commercial"
|
|
profile = "commercial"
|
|
@@ -113,7 +130,6 @@ provider "aws" {
|
|
|
|
|
|
# The "C2" provider, used for private DNS
|
|
# The "C2" provider, used for private DNS
|
|
provider "aws" {
|
|
provider "aws" {
|
|
- version = "~> 3.26"
|
|
|
|
region = "us-gov-east-1"
|
|
region = "us-gov-east-1"
|
|
allowed_account_ids = [ "721817724804", "738800754746" ]
|
|
allowed_account_ids = [ "721817724804", "738800754746" ]
|
|
profile = "govcloud"
|
|
profile = "govcloud"
|