diff --git a/outputs.tf b/outputs.tf new file mode 100644 index 0000000..834c406 --- /dev/null +++ b/outputs.tf @@ -0,0 +1 @@ +output licenses {value = vsphere_license.license} \ No newline at end of file diff --git a/terraform.tf b/resources.tf similarity index 72% rename from terraform.tf rename to resources.tf index 25f7d56..19848ed 100644 --- a/terraform.tf +++ b/resources.tf @@ -6,9 +6,3 @@ resource vsphere_license license { Workflow = tostring(replace(each.key, "_", " ")) } } - -variable licenses {type = map(string)} - -output licenses {value = vsphere_license.license} - - diff --git a/variables.tf b/variables.tf new file mode 100644 index 0000000..8ce293f --- /dev/null +++ b/variables.tf @@ -0,0 +1 @@ +variable licenses {type = map(string)} \ No newline at end of file