From 840cdfb0a471c6365ebea7fdd71deb824cebbc1f Mon Sep 17 00:00:00 2001 From: Scott Lowe Date: Wed, 10 Oct 2018 01:44:45 -0600 Subject: [PATCH] Reorganize Terraform files Rename "tf-general" directory to "openstack" since it only discusses OpenStack. Update README.md. Signed-off-by: Scott Lowe --- terraform/README.md | 6 ++++-- terraform/{tf-general => openstack}/README.md | 0 terraform/{tf-general => openstack}/tf-example/main.tf | 0 terraform/{tf-general => openstack}/tf-example/output.tf | 0 terraform/{tf-general => openstack}/tf-example/provider.tf | 0 terraform/{tf-general => openstack}/tf-example/vars.tf | 0 .../{tf-general => openstack}/tf-json-example/main.tf.json | 0 .../tf-json-example/output.tf.json | 0 .../tf-json-example/provider.tf.json | 0 .../{tf-general => openstack}/tf-json-example/vars.tf.json | 0 10 files changed, 4 insertions(+), 2 deletions(-) rename terraform/{tf-general => openstack}/README.md (100%) rename terraform/{tf-general => openstack}/tf-example/main.tf (100%) rename terraform/{tf-general => openstack}/tf-example/output.tf (100%) rename terraform/{tf-general => openstack}/tf-example/provider.tf (100%) rename terraform/{tf-general => openstack}/tf-example/vars.tf (100%) rename terraform/{tf-general => openstack}/tf-json-example/main.tf.json (100%) rename terraform/{tf-general => openstack}/tf-json-example/output.tf.json (100%) rename terraform/{tf-general => openstack}/tf-json-example/provider.tf.json (100%) rename terraform/{tf-general => openstack}/tf-json-example/vars.tf.json (100%) diff --git a/terraform/README.md b/terraform/README.md index 34c9a5a..6c3990a 100644 --- a/terraform/README.md +++ b/terraform/README.md @@ -4,6 +4,8 @@ This folder contains materials for working with Terraform. ## Contents -**tf-general:** This directory provides an example Terraform configuration (in both Terraform format as well as JSON format) designed to work with OpenStack. - **aws**: This directory contains a number of different examples of using Terraform with AWS. Refer to the `README.md` in this folder for more details. + +**oci:** This directory contains a sample Terraform configuration that illustrates how to work with Oracle Cloud Infrastructure (OCI) using the Terraform OCI provider. + +**openstack:** This directory provides an example Terraform configuration (in both Terraform format as well as JSON format) designed to work with OpenStack. diff --git a/terraform/tf-general/README.md b/terraform/openstack/README.md similarity index 100% rename from terraform/tf-general/README.md rename to terraform/openstack/README.md diff --git a/terraform/tf-general/tf-example/main.tf b/terraform/openstack/tf-example/main.tf similarity index 100% rename from terraform/tf-general/tf-example/main.tf rename to terraform/openstack/tf-example/main.tf diff --git a/terraform/tf-general/tf-example/output.tf b/terraform/openstack/tf-example/output.tf similarity index 100% rename from terraform/tf-general/tf-example/output.tf rename to terraform/openstack/tf-example/output.tf diff --git a/terraform/tf-general/tf-example/provider.tf b/terraform/openstack/tf-example/provider.tf similarity index 100% rename from terraform/tf-general/tf-example/provider.tf rename to terraform/openstack/tf-example/provider.tf diff --git a/terraform/tf-general/tf-example/vars.tf b/terraform/openstack/tf-example/vars.tf similarity index 100% rename from terraform/tf-general/tf-example/vars.tf rename to terraform/openstack/tf-example/vars.tf diff --git a/terraform/tf-general/tf-json-example/main.tf.json b/terraform/openstack/tf-json-example/main.tf.json similarity index 100% rename from terraform/tf-general/tf-json-example/main.tf.json rename to terraform/openstack/tf-json-example/main.tf.json diff --git a/terraform/tf-general/tf-json-example/output.tf.json b/terraform/openstack/tf-json-example/output.tf.json similarity index 100% rename from terraform/tf-general/tf-json-example/output.tf.json rename to terraform/openstack/tf-json-example/output.tf.json diff --git a/terraform/tf-general/tf-json-example/provider.tf.json b/terraform/openstack/tf-json-example/provider.tf.json similarity index 100% rename from terraform/tf-general/tf-json-example/provider.tf.json rename to terraform/openstack/tf-json-example/provider.tf.json diff --git a/terraform/tf-general/tf-json-example/vars.tf.json b/terraform/openstack/tf-json-example/vars.tf.json similarity index 100% rename from terraform/tf-general/tf-json-example/vars.tf.json rename to terraform/openstack/tf-json-example/vars.tf.json