Skip to content

Instantly share code, notes, and snippets.

@jesseloudon
Created June 26, 2020 08:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jesseloudon/2a9a870e98c1bfb01bcd0c02e36e84c2 to your computer and use it in GitHub Desktop.
Save jesseloudon/2a9a870e98c1bfb01bcd0c02e36e84c2 to your computer and use it in GitHub Desktop.
Map each input variable to the output variable using inputVariableName = "${module.moduleName.outputVariableName[X]}"
module "policyset_definitions" {
source = "./modules/policyset-definitions"
addTagToRG_policy_id_0 = "${module.policy_definitions.addTagToRG_policy_ids[0]}"
addTagToRG_policy_id_1 = "${module.policy_definitions.addTagToRG_policy_ids[1]}"
addTagToRG_policy_id_2 = "${module.policy_definitions.addTagToRG_policy_ids[2]}"
addTagToRG_policy_id_3 = "${module.policy_definitions.addTagToRG_policy_ids[3]}"
addTagToRG_policy_id_4 = "${module.policy_definitions.addTagToRG_policy_ids[4]}"
addTagToRG_policy_id_5 = "${module.policy_definitions.addTagToRG_policy_ids[5]}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment