-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from NetApp/kerensMac
Kerens mac
- Loading branch information
Showing
4 changed files
with
97 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,144 +1,144 @@ | ||
variable "create_sg" { | ||
description = "Determines whether the SG should be deployed as part of this execution or not" | ||
type = bool | ||
default = false | ||
description = "Determines whether the SG should be deployed as part of this execution or not" | ||
type = bool | ||
default = false | ||
} | ||
|
||
variable "cidr_for_sg" { | ||
description = "cide block to be used for the ingress rules" | ||
type = string | ||
default = "0.0.0.0/0" | ||
description = "cide block to be used for the ingress rules" | ||
type = string | ||
default = "0.0.0.0/0" | ||
} | ||
|
||
variable "fsx_name" { | ||
description = "The deployed filesystem name" | ||
type = string | ||
default = "terraform-fsxn" | ||
description = "The deployed filesystem name" | ||
type = string | ||
default = "terraform-fsxn" | ||
} | ||
|
||
variable "vpc_id" { | ||
description = "The ID of the VPC in which the FSxN fikesystem should be deployed" | ||
type = string | ||
default = "vpc-111111111" | ||
description = "The ID of the VPC in which the FSxN fikesystem should be deployed" | ||
type = string | ||
default = "vpc-111111111" | ||
} | ||
|
||
variable "fsx_subnets" { | ||
description = "The IDs of the subnets fro which the FSxN filesystem will be assigned IP addresses" | ||
type = map | ||
default = { | ||
"primarysub" = "" | ||
"secondarysub" = "" | ||
description = "The IDs of the subnets fro which the FSxN filesystem will be assigned IP addresses" | ||
type = map(any) | ||
default = { | ||
"primarysub" = "" | ||
"secondarysub" = "" | ||
} | ||
} | ||
|
||
variable "fsx_capacity_size_gb" { | ||
description = "The storage capacity (GiB) of the FSxN file system. Valid values between 1024 and 196608" | ||
type = number | ||
default = 1024 | ||
description = "The storage capacity (GiB) of the FSxN file system. Valid values between 1024 and 196608" | ||
type = number | ||
default = 1024 | ||
} | ||
|
||
variable "fsx_deploy_type" { | ||
description = "The filesystem deployment type. Supports MULTI_AZ_1 and SINGLE_AZ_1" | ||
type = string | ||
default = "SINGLE_AZ_1" | ||
description = "The filesystem deployment type. Supports MULTI_AZ_1 and SINGLE_AZ_1" | ||
type = string | ||
default = "SINGLE_AZ_1" | ||
} | ||
|
||
variable "fsx_tput_in_MBps" { | ||
description = "The throughput capacity (in MBps) for the file system. Valid values are 128, 256, 512, 1024, 2048, and 4096." | ||
type = number | ||
default = 256 | ||
description = "The throughput capacity (in MBps) for the file system. Valid values are 128, 256, 512, 1024, 2048, and 4096." | ||
type = number | ||
default = 256 | ||
} | ||
|
||
variable "fsx_maintenance_start_time" { | ||
description = "The preferred start time (in d:HH:MM format) to perform weekly maintenance, in the UTC time zone." | ||
type = string | ||
default = "00:00:00" | ||
description = "The preferred start time (in d:HH:MM format) to perform weekly maintenance, in the UTC time zone." | ||
type = string | ||
default = "00:00:00" | ||
} | ||
|
||
variable "kms_key_id" { | ||
description = "ARN for the KMS Key to encrypt the file system at rest, Defaults to an AWS managed KMS Key." | ||
type = string | ||
description = "ARN for the KMS Key to encrypt the file system at rest, Defaults to an AWS managed KMS Key." | ||
type = string | ||
} | ||
|
||
variable "backup_retention_days" { | ||
description = "The number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days." | ||
type = number | ||
default = 0 | ||
description = "The number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days." | ||
type = number | ||
default = 0 | ||
} | ||
|
||
variable "daily_backup_start_time" { | ||
description = "A recurring daily time, in the format HH:MM. HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour. Requires automatic_backup_retention_days to be set." | ||
type = string | ||
default = "00:00" | ||
description = "A recurring daily time, in the format HH:MM. HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour. Requires automatic_backup_retention_days to be set." | ||
type = string | ||
default = "00:00" | ||
} | ||
|
||
variable "disk_iops_configuration" { | ||
description = "The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system" | ||
type = map | ||
default = { | ||
"iops" = 3000 | ||
"mode" = "AUTOMATIC" | ||
} | ||
description = "The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system" | ||
type = map(any) | ||
default = { | ||
"iops" = 3000 | ||
"mode" = "AUTOMATIC" | ||
} | ||
} | ||
|
||
variable "fsx_admin_password" { | ||
description = "The ONTAP administrative password for the fsxadmin user that you can use to administer your file system using the ONTAP CLI and REST API" | ||
type = string | ||
description = "The ONTAP administrative password for the fsxadmin user that you can use to administer your file system using the ONTAP CLI and REST API" | ||
type = string | ||
} | ||
|
||
variable "storage_type" { | ||
description = "The filesystem storage type" | ||
type = string | ||
default = "SSD" | ||
description = "The filesystem storage type" | ||
type = string | ||
default = "SSD" | ||
} | ||
|
||
variable "route_table_ids" { | ||
description = "Specifies the VPC route tables in which your file system's endpoints will be created. You should specify all VPC route tables associated with the subnets in which your clients are located." | ||
type = list | ||
description = "Specifies the VPC route tables in which your file system's endpoints will be created. You should specify all VPC route tables associated with the subnets in which your clients are located." | ||
type = list(any) | ||
} | ||
|
||
variable "svm_name" { | ||
description = "The name of the Storage Virtual Machine" | ||
type = string | ||
default = "first_svm" | ||
description = "The name of the Storage Virtual Machine" | ||
type = string | ||
default = "first_svm" | ||
} | ||
|
||
variable "root_vol_sec_style" { | ||
description = "Specifies the root volume security style, Valid values are UNIX, NTFS, and MIXED. All volumes created under this SVM will inherit the root security style unless the security style is specified on the volume." | ||
type = string | ||
default = "UNIX" | ||
description = "Specifies the root volume security style, Valid values are UNIX, NTFS, and MIXED. All volumes created under this SVM will inherit the root security style unless the security style is specified on the volume." | ||
type = string | ||
default = "UNIX" | ||
} | ||
|
||
variable "vol_info" { | ||
description = "Details for the volume creation" | ||
type = map | ||
default = { | ||
"vol_name" = "vol1" | ||
"junction_path" = "/vol1" | ||
"size_mg" = 1024 | ||
"efficiency" = true | ||
"tier_policy_name" = "AUTO" | ||
"cooling_period" = 31 | ||
"vol_type" = "RW" | ||
"bypass_sl_retention" = false | ||
"copy_tags_to_backups" = false | ||
"sec_style" = "UNIX" | ||
"skip_final_backup" = false | ||
} | ||
description = "Details for the volume creation" | ||
type = map(any) | ||
default = { | ||
"vol_name" = "vol1" | ||
"junction_path" = "/vol1" | ||
"size_mg" = 1024 | ||
"efficiency" = true | ||
"tier_policy_name" = "AUTO" | ||
"cooling_period" = 31 | ||
"vol_type" = "RW" | ||
"bypass_sl_retention" = false | ||
"copy_tags_to_backups" = false | ||
"sec_style" = "UNIX" | ||
"skip_final_backup" = false | ||
} | ||
} | ||
|
||
variable "vol_snapshot_policy" { | ||
description = "Specifies the snapshot policy for the volume" | ||
type = map | ||
default = { | ||
"Name" = "terraform-fsxn" | ||
} | ||
description = "Specifies the snapshot policy for the volume" | ||
type = map(any) | ||
default = { | ||
"Name" = "terraform-fsxn" | ||
} | ||
} | ||
|
||
variable "tags" { | ||
description = "Tags to be applied to the resources" | ||
type = map | ||
default = { | ||
"Name" = "terraform-fsxn" | ||
} | ||
description = "Tags to be applied to the resources" | ||
type = map(any) | ||
default = { | ||
"Name" = "terraform-fsxn" | ||
} | ||
} |