Skip to content

Commit

Permalink
Merge pull request #18 from NetApp/kerenNewTF
Browse files Browse the repository at this point in the history
renamed terraform modules dubfolder
  • Loading branch information
kerentraht authored Jan 21, 2024
2 parents d41e46a + b1de975 commit cca476a
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/terraform-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: "Documentation: terraform-docs"
on:
pull_request:
paths:
- "Terraform_samples/**"
- "Terraform/**"

jobs:
docs:
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Render documentation and push changes back to branch
uses: terraform-docs/[email protected]
with:
working-dir: Terraform_samples/
working-dir: Terraform/
config-file: ".terraform-docs.yml"
output-file: "README.md"
output-method: inject
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ name: "Code Quality: Terraform"
on:
pull_request:
paths:
- "Terraform_samples/**"
- "Terraform/**"
push:
paths:
- "Terraform_samples/**"
- "Terraform/**"
branches:
- main

Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
terraform_deployment/.terraform*
terraform_deployment/terraform.tfstate*
deploy-fsx-ontap/.terraform*
deploy-fsx-ontap/terraform.tfstate*
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "<YOUR-VPC-ID>"
fsx_subnets = {
Expand Down Expand Up @@ -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
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit cca476a

Please sign in to comment.