From 000f9bf920ce2d37f81063bcef29fa2699177ef1 Mon Sep 17 00:00:00 2001 From: Jacob Dresdale <15719920+jd4883@users.noreply.github.com> Date: Sun, 26 Sep 2021 13:58:23 -0400 Subject: [PATCH] mild cleanup of the module for standardization --- outputs.tf | 1 + terraform.tf => resources.tf | 6 ------ variables.tf | 1 + 3 files changed, 2 insertions(+), 6 deletions(-) create mode 100644 outputs.tf rename terraform.tf => resources.tf (72%) create mode 100644 variables.tf 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