|
@@ -23,7 +23,9 @@ include {
|
|
|
|
|
|
dependencies {
|
|
|
paths = [
|
|
|
- "../008-xdr-binaries"
|
|
|
+ "../008-xdr-binaries",
|
|
|
+ "../../../../prod/aws/mdr-prod-c2/072-salt-master-inventory-role",
|
|
|
+ "../../../../test/aws/mdr-test-c2/072-salt-master-inventory-role",
|
|
|
]
|
|
|
}
|
|
|
|
|
@@ -39,6 +41,15 @@ dependency "bucket" {
|
|
|
config_path = "../008-xdr-binaries"
|
|
|
}
|
|
|
|
|
|
+dependency "prod-user" {
|
|
|
+ config_path = "../../../../prod/aws/mdr-prod-c2/072-salt-master-inventory-role"
|
|
|
+}
|
|
|
+
|
|
|
+dependency "test-user" {
|
|
|
+ config_path = "../../../../test/aws/mdr-test-c2/072-salt-master-inventory-role"
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
# These are the variables we have to pass in to use the module specified in the terragrunt source above
|
|
|
inputs = {
|
|
|
# All of the inputs from the inherited hcl files are available automatically
|
|
@@ -55,6 +66,8 @@ inputs = {
|
|
|
trusted_arns = [
|
|
|
"arn:aws:iam::477548533976:role/salt-master-instance-role", # Legacy prod salt master
|
|
|
"arn:aws:iam::527700175026:role/salt-master-instance-role", # Legacy test salt master
|
|
|
+ dependency.test-user.outputs.salt-master-c2-commercial-user-arn,
|
|
|
+ dependency.prod-user.outputs.salt-master-c2-commercial-user-arn,
|
|
|
]
|
|
|
|
|
|
kms_key_ids = [
|