N
[0], .*Size: a a a
N
[0], .*V
iam_role
The iam_role attribute can be used to specify an IAM role that Terragrunt should assume prior to invoking Terraform.
The precedence is as follows: --terragrunt-iam-role command line option → TERRAGRUNT_IAM_ROLE env variable → iam_role attribute of the terragrunt.hcl file in the module directory → iam_role attribute of the included terragrunt.hcl.
Example:
iam_role = "arn:aws:iam::ACCOUNT_ID:role/ROLE_NAME"
V

Encountered the following errors:
Cannot process module Module /Users/admin/git/platform-engineering/terraform2/region/nvirginia/prod/na5/aurora (excluded: false, dependencies: [/Users/admin/git/platform-engineering/terraform2/region/nvirginia/prod/na5/vpc, /Users/admin/git/platform-engineering/terraform2/region/nvirginia/prod/na5/dns]) because one of its dependencies, Module /Users/admin/git/platform-engineering/terraform2/region/nvirginia/prod/na5/dns (excluded: false, dependencies: [/Users/admin/git/platform-engineering/terraform2/region/nvirginia/prod/na5/vpc]),
YM

Encountered the following errors:
Cannot process module Module /Users/admin/git/platform-engineering/terraform2/region/nvirginia/prod/na5/aurora (excluded: false, dependencies: [/Users/admin/git/platform-engineering/terraform2/region/nvirginia/prod/na5/vpc, /Users/admin/git/platform-engineering/terraform2/region/nvirginia/prod/na5/dns]) because one of its dependencies, Module /Users/admin/git/platform-engineering/terraform2/region/nvirginia/prod/na5/dns (excluded: false, dependencies: [/Users/admin/git/platform-engineering/terraform2/region/nvirginia/prod/na5/vpc]),
YM
V
V
locals {
service = basename(path_relative_to_include())
region = basename(dirname(path_relative_to_include()))
account = basename(dirname(dirname(path_relative_to_include())))
envopt = yamldecode(file(find_in_parent_folders("environment.yaml")))
# Import region level terragrunt.hcl
terragrunt = read_terragrunt_config(find_in_parent_folders("terragrunt.hcl"))
}AD
AD
%{ if ${database_enabled} == "true" }
[database_instance]
database ansible_host=${database_public_ip} ansible_user=ansible private_ip=${database_private_ip}
%{ endif }%{ if true == "true" }
[database_instance]
database ansible_host=34.89.xxx.xxx ansible_user=ansible private_ip=10.0.9.37
%{ endif }AA
AA
YM
AD
AD
AR
AD
data "template_file" "ansible_inventory" {
template = "${file("./templates/hosts.tpl")}"
vars {
jfrt_public_ip = "${local.gce_jfrt_public_ip}"
jfrt_private_ip = "${local.gce_jfrt_private_ip}"
database_public_ip = "${local.gce_db_public_ip}"
database_private_ip = "${local.gce_db_private_ip}"
database_enabled = "${var.use_external_db}"
}
}AD
$ cat templates/hosts.tpl
[localhost]
127.0.0.1 ansible_connection=local
[artifactory_instance]
artifactory ansible_host=${jfrt_public_ip} ansible_user=ansible private_ip=${jfrt_private_ip}
%{ if "${database_enabled}" == "true" }
[database_instance]
database ansible_host=${database_public_ip} ansible_user=ansible private_ip=${database_private_ip}
%{ endif }
AR
AD
i