Skip to content

Commit

Permalink
Merge pull request #12 from NetApp/kerenNewTF
Browse files Browse the repository at this point in the history
removed tfvars file
  • Loading branch information
kerentraht authored Jan 17, 2024
2 parents d4a45fc + 4bfb90c commit 9dabd37
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 25 deletions.
5 changes: 1 addition & 4 deletions Terraform_samples/terraform_deployment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ Follow the instructions below to use this sample in your own environment.
This is a standalone Terraform configutation repository that contains the following files:
* **main.tf** - The main set of configuration for this terraform sample

* **variables.tf** - Contains the variable definitions for this sample

* **terraform.tfvars** - Contains the variables assignments for this sample. Terraform will automatically use this file as it's main variables definition file as it uses the saved name. Note that if you change the file name you will need to specify that file on the command line with `-var-file`.
Exported values will override any of the variables in both the variables.tf file and the terraform.tfvars file
* **variables.tf** - Contains the variable definitions and assignments for this sample. Exported values will override any of the variables in this file.

* **output.tf** - Contains output declarations of the resources created by this Terraform module. Terraform stores output values in the configuration's state file

Expand Down
18 changes: 0 additions & 18 deletions Terraform_samples/terraform_deployment/terraform.tfvars

This file was deleted.

8 changes: 5 additions & 3 deletions Terraform_samples/terraform_deployment/variables.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
variable "fs_name" {
description = "The deployed filesystem name"
type = string
default = "my_fsx_ontap"
default = "terraform-fsxn"
}

variable "vpc_id" {
Expand All @@ -21,23 +21,25 @@ variable "fsx_subnets" {
variable "fs_capacity_size_gb" {
description = "The storage capacity (GiB) of the FSxN file system. Valid values between 1024 and 196608"
type = string
default = "1024"
}

variable "deploy_type" {
description = "The filesystem deployment type. Supports MULTI_AZ_1 and SINGLE_AZ_1"
type = string
default = "SINGLE_AZ_1"
}

variable "fs_tput_in_MBps" {
description = "The throughput capacity (in MBps) for the file system. Valid values are 128, 256, 512, 1024, 2048, and 4096."
type = string
default = "128"
default = "256"
}

variable "svm_name" {
description = "The name of the Storage Virtual Machine"
type = string
default = "fsx"
default = "first_svm"
}

variable "vol_info" {
Expand Down

0 comments on commit 9dabd37

Please sign in to comment.