|
@@ -18,32 +18,33 @@ locals {
|
|
|
}
|
|
|
|
|
|
# TODO: For provisioning only. Comment out after provisioning
|
|
|
-generate "provider" {
|
|
|
- path = "provider.tf"
|
|
|
- if_exists = "overwrite_terragrunt"
|
|
|
- contents = <<EOF
|
|
|
-provider "template" {
|
|
|
- version = "~> 2.1"
|
|
|
-}
|
|
|
-
|
|
|
-provider "aws" {
|
|
|
- version = "~> 3.0"
|
|
|
- region = "${local.aws_region}"
|
|
|
-
|
|
|
- # TODO: make sure you have a profile matching this
|
|
|
- profile = "tmp"
|
|
|
-
|
|
|
- # Only these AWS Account IDs may be operated on by this template
|
|
|
- allowed_account_ids = ["${local.account_id}"]
|
|
|
-}
|
|
|
-EOF
|
|
|
-}
|
|
|
+# Provisioning is done so this is commented out
|
|
|
+#generate "provider" {
|
|
|
+# path = "provider.tf"
|
|
|
+# if_exists = "overwrite_terragrunt"
|
|
|
+# contents = <<EOF
|
|
|
+#provider "template" {
|
|
|
+# version = "~> 2.1"
|
|
|
+#}
|
|
|
+#
|
|
|
+#provider "aws" {
|
|
|
+# version = "~> 3.0"
|
|
|
+# region = "${local.aws_region}"
|
|
|
+#
|
|
|
+# # TODO: make sure you have a profile matching this
|
|
|
+# profile = "tmp"
|
|
|
+#
|
|
|
+# # Only these AWS Account IDs may be operated on by this template
|
|
|
+# allowed_account_ids = ["${local.account_id}"]
|
|
|
+#}
|
|
|
+#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.mdr.defpoint.com:mdr-engineering/xdr-terraform-modules.git//base/iam?ref=v1.0.0"
|
|
|
+ source = "git@github.mdr.defpoint.com:mdr-engineering/xdr-terraform-modules.git//base/iam?ref=v1.10.5"
|
|
|
}
|
|
|
|
|
|
# Include all settings from the root terragrunt.hcl file
|