|
@@ -18,7 +18,7 @@ locals {
|
|
# working directory, into a temporary folder, and execute your Terraform commands in that folder.
|
|
# working directory, into a temporary folder, and execute your Terraform commands in that folder.
|
|
terraform {
|
|
terraform {
|
|
# Double slash is intentional and required to show root of modules
|
|
# Double slash is intentional and required to show root of modules
|
|
- source = "git@github.mdr.defpoint.com:mdr-engineering/xdr-terraform-modules.git//base/standard_vpc?ref=v0.7.3"
|
|
|
|
|
|
+ source = "git@github.mdr.defpoint.com:mdr-engineering/xdr-terraform-modules.git//base/standard_vpc?ref=v0.8.0"
|
|
}
|
|
}
|
|
|
|
|
|
# Include all settings from the root terragrunt.hcl file
|
|
# Include all settings from the root terragrunt.hcl file
|
|
@@ -31,10 +31,9 @@ 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
|
|
# (via the `inputs` section of the root `terragrunt.hcl`). However, modules
|
|
# (via the `inputs` section of the root `terragrunt.hcl`). However, modules
|
|
# will be more flexible if you specify particular input values.
|
|
# will be more flexible if you specify particular input values.
|
|
- name = "vpc_primary_${local.account_vars.locals.account_name}"
|
|
|
|
- cidr = local.account_vars.locals.standard_vpc_cidr
|
|
|
|
|
|
+ vpc_info = local.account_vars.locals.vpc_info["vpc-system-services"]
|
|
tags = {
|
|
tags = {
|
|
- Purpose = "VPC for Services Provided to Internal Systems"
|
|
|
|
|
|
+ #Purpose # grabbed from vpc_info
|
|
Terraform = "aws/${basename(get_parent_terragrunt_dir())}/${path_relative_to_include()}/"
|
|
Terraform = "aws/${basename(get_parent_terragrunt_dir())}/${path_relative_to_include()}/"
|
|
}
|
|
}
|
|
}
|
|
}
|