From b1de9751ff0834eab2be89d8c8c0cb779ba18560 Mon Sep 17 00:00:00 2001 From: Keren Trajtenberg Date: Sun, 21 Jan 2024 15:12:09 +0200 Subject: [PATCH] renamed terraform modules dubfolder --- .github/workflows/terraform-docs.yml | 4 ++-- .github/workflows/terraform.yml | 4 ++-- .gitignore | 4 ++-- README.md | 2 +- .../delpoy-fsx-ontap}/README.md | 4 ++-- .../delpoy-fsx-ontap}/main.tf | 0 .../delpoy-fsx-ontap}/output.tf | 0 .../delpoy-fsx-ontap}/variables.tf | 0 8 files changed, 9 insertions(+), 9 deletions(-) rename {Terraform_samples/terraform_deployment => Terraform/delpoy-fsx-ontap}/README.md (98%) rename {Terraform_samples/terraform_deployment => Terraform/delpoy-fsx-ontap}/main.tf (100%) rename {Terraform_samples/terraform_deployment => Terraform/delpoy-fsx-ontap}/output.tf (100%) rename {Terraform_samples/terraform_deployment => Terraform/delpoy-fsx-ontap}/variables.tf (100%) diff --git a/.github/workflows/terraform-docs.yml b/.github/workflows/terraform-docs.yml index 69db9b9..b8f9edc 100644 --- a/.github/workflows/terraform-docs.yml +++ b/.github/workflows/terraform-docs.yml @@ -6,7 +6,7 @@ name: "Documentation: terraform-docs" on: pull_request: paths: - - "Terraform_samples/**" + - "Terraform/**" jobs: docs: @@ -20,7 +20,7 @@ jobs: - name: Render documentation and push changes back to branch uses: terraform-docs/gh-actions@v1.0.0 with: - working-dir: Terraform_samples/ + working-dir: Terraform/ config-file: ".terraform-docs.yml" output-file: "README.md" output-method: inject diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 3a257c1..156076f 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -6,10 +6,10 @@ name: "Code Quality: Terraform" on: pull_request: paths: - - "Terraform_samples/**" + - "Terraform/**" push: paths: - - "Terraform_samples/**" + - "Terraform/**" branches: - main diff --git a/.gitignore b/.gitignore index 04d9e4d..1d7e660 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -terraform_deployment/.terraform* -terraform_deployment/terraform.tfstate* +deploy-fsx-ontap/.terraform* +deploy-fsx-ontap/terraform.tfstate* diff --git a/README.md b/README.md index 83378a0..c3e083c 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ This GitHub repository contains comprehensive code samples and automation scripts for FSx for Netapp ONTAP operations, promoting the use of Infrastructure as Code (IAC) tools and encouraging developers to extend the product's functionalities through code. ## Table of Contents -* [FSxN deployment using Terraform](/Terraform_samples/terraform_deployment) +* [FSxN deployment using Terraform](/Terraform/deploy-fsx-ontap) ## Author Information diff --git a/Terraform_samples/terraform_deployment/README.md b/Terraform/delpoy-fsx-ontap/README.md similarity index 98% rename from Terraform_samples/terraform_deployment/README.md rename to Terraform/delpoy-fsx-ontap/README.md index 190d026..cb718ad 100644 --- a/Terraform_samples/terraform_deployment/README.md +++ b/Terraform/delpoy-fsx-ontap/README.md @@ -114,7 +114,7 @@ Make sure to replace all values within `< >` with your own variables. ```ruby module "fsxontap" { - source = "github.com/Netapp/FSxN-Samples/Terraform_samples/terraform_deployment" + source = "github.com/Netapp/FSxN-Samples/Terraform/deploy-fsx-ontap" vpc_id = "" fsx_subnets = { @@ -158,7 +158,7 @@ Whenever you add a new module to a configuration, Terraform must install the mod ```shell terraform get Downloading git::https://github.com/Netapp/FSxN-Samples.git for fsxontap... -- fsxontap in .terraform/modules/fsxontap/Terraform_samples/terraform_deployment +- fsxontap in .terraform/modules/fsxontap/Terraform/deploy-fsx-ontap ``` ### Plan and Apply the cofiguration diff --git a/Terraform_samples/terraform_deployment/main.tf b/Terraform/delpoy-fsx-ontap/main.tf similarity index 100% rename from Terraform_samples/terraform_deployment/main.tf rename to Terraform/delpoy-fsx-ontap/main.tf diff --git a/Terraform_samples/terraform_deployment/output.tf b/Terraform/delpoy-fsx-ontap/output.tf similarity index 100% rename from Terraform_samples/terraform_deployment/output.tf rename to Terraform/delpoy-fsx-ontap/output.tf diff --git a/Terraform_samples/terraform_deployment/variables.tf b/Terraform/delpoy-fsx-ontap/variables.tf similarity index 100% rename from Terraform_samples/terraform_deployment/variables.tf rename to Terraform/delpoy-fsx-ontap/variables.tf