Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renamed terraform modules dubfolder #18

Merged
merged 1 commit into from
Jan 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading