|
@@ -9,6 +9,17 @@ locals {
|
|
global_vars = read_terragrunt_config(find_in_parent_folders("globals.hcl"))
|
|
global_vars = read_terragrunt_config(find_in_parent_folders("globals.hcl"))
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+# Terragrunt will copy the Terraform configurations specified by the source parameter, along with any files in the
|
|
|
|
+# working directory, into a temporary folder, and execute your Terraform commands in that folder.
|
|
|
|
+terraform {
|
|
|
|
+ # Double slash is intentional and required to show root of modules
|
|
|
|
+ source = "git@github.xdr.accenturefederalcyber.com:mdr-engineering/xdr-terraform-modules.git//base/codebuild_project_no_artifact?ref=v4.1.5"
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+dependency "codebuild-ecr-base" {
|
|
|
|
+ config_path = "../075-codebuild-ecr-base"
|
|
|
|
+}
|
|
|
|
+
|
|
#Github specific provider
|
|
#Github specific provider
|
|
generate "required_providers" {
|
|
generate "required_providers" {
|
|
path = "required_provider.tf"
|
|
path = "required_provider.tf"
|
|
@@ -17,19 +28,19 @@ generate "required_providers" {
|
|
terraform {
|
|
terraform {
|
|
required_providers {
|
|
required_providers {
|
|
aws = {
|
|
aws = {
|
|
- source = "hashicorp/aws"
|
|
|
|
- version = "= 4.4.0" # 2022-03-08: upgrade from 3.63.0; 2021-09-21: upgrade from 3.37.0
|
|
|
|
|
|
+ source = "hashicorp/aws"
|
|
|
|
+ version = "4.4.0" # 2022-03-08: upgrade from 3.63.0; 2021-09-21: upgrade from 3.37.0
|
|
}
|
|
}
|
|
vault = {
|
|
vault = {
|
|
- source = "hashicorp/vault"
|
|
|
|
- version = "= 2.19.1" # 2021-04-29: upgrade from 2.18.0
|
|
|
|
|
|
+ source = "hashicorp/vault"
|
|
|
|
+ version = "3.4.1" # 2022-04-08: upgrade from 2.19.1; 2021-04-29: upgrade from 2.18.0
|
|
}
|
|
}
|
|
sensu = {
|
|
sensu = {
|
|
- source = "jtopjian/sensu"
|
|
|
|
- version = "= 0.12.1" # 2022-04-06: upgrade from 0.10.5
|
|
|
|
|
|
+ source = "jtopjian/sensu"
|
|
|
|
+ version = "0.12.1" # 2022-04-06: upgrade from 0.10.5
|
|
}
|
|
}
|
|
github = {
|
|
github = {
|
|
- source = "integrations/github"
|
|
|
|
|
|
+ source = "integrations/github"
|
|
version = "~> 4.0" # 2022-04-06: upgrade from 4.2.0
|
|
version = "~> 4.0" # 2022-04-06: upgrade from 4.2.0
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -37,22 +48,11 @@ terraform {
|
|
EOF
|
|
EOF
|
|
}
|
|
}
|
|
|
|
|
|
-# Terragrunt will copy the Terraform configurations specified by the source parameter, along with any files in the
|
|
|
|
-# working directory, into a temporary folder, and execute your Terraform commands in that folder.
|
|
|
|
-terraform {
|
|
|
|
- # Double slash is intentional and required to show root of modules
|
|
|
|
- source = "git@github.xdr.accenturefederalcyber.com:mdr-engineering/xdr-terraform-modules.git//base/codebuild_project_no_artifact?ref=v4.1.4"
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
# Include all settings from the root terragrunt.hcl file
|
|
# Include all settings from the root terragrunt.hcl file
|
|
include {
|
|
include {
|
|
path = find_in_parent_folders()
|
|
path = find_in_parent_folders()
|
|
}
|
|
}
|
|
|
|
|
|
-dependency "codebuild-ecr-base" {
|
|
|
|
- config_path = "../075-codebuild-ecr-base"
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
# These are the variables we have to pass in to use the module specified in the terragrunt source above
|
|
# These are the variables we have to pass in to use the module specified in the terragrunt source above
|
|
inputs = {
|
|
inputs = {
|
|
# All of the inputs from the inherited hcl files are available automatically
|
|
# All of the inputs from the inherited hcl files are available automatically
|