Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jd4883 authored Nov 28, 2020
1 parent 626195c commit de252a3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions terraform.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
resource vsphere_license license {
for_each = var.licenses
license_key = tostring(each.value)
labels = {
VpxClientLicenseLabel = tostring(replace(each.key, "_", " "))
Workflow = tostring(replace(each.key, "_", " "))
}
}

variable licenses {type = map(string)}

output licenses {value = vsphere_license.license}


0 comments on commit de252a3

Please sign in to comment.