Skip to content

Instantly share code, notes, and snippets.

@jesseloudon
Last active June 26, 2020 07:59
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/ab292877ce801ff51c9e2c04198fc9db to your computer and use it in GitHub Desktop.
Save jesseloudon/ab292877ce801ff51c9e2c04198fc9db to your computer and use it in GitHub Desktop.
Define an input variable e.g. addTagToRG_policy_id_0 for each policy definition resource created by the policy definition resource block that uses count.
variable "addTagToRG_policy_id_0" {
type = string
description = "The policy definition id '0' from the 'addTagToRG_policy_ids' output"
}
variable "addTagToRG_policy_id_1" {
type = string
description = "The policy definition id '1' from the 'addTagToRG_policy_ids' output"
}
variable "addTagToRG_policy_id_2" {
type = string
description = "The policy definition id '2' from the 'addTagToRG_policy_ids' output"
}
variable "addTagToRG_policy_id_3" {
type = string
description = "The policy definition id '3' from the 'addTagToRG_policy_ids' output"
}
variable "addTagToRG_policy_id_4" {
type = string
description = "The policy definition id '4' from the 'addTagToRG_policy_ids' output"
}
variable "addTagToRG_policy_id_5" {
type = string
description = "The policy definition id '5' from the 'addTagToRG_policy_ids' output"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment