Skip to content

Commit fc5ecf9

Browse files
committed
Merge branch 'update_terraform_deploy_ontap' of github.com:NetApp/FSx-ONTAP-samples-scripts into update_terraform_deploy_ontap
2 parents aff3f12 + 104e343 commit fc5ecf9

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

Terraform/deploy-fsx-ontap/standalone-module/README.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -167,31 +167,17 @@ terraform apply
167167
168168
<!-- BEGIN_TF_DOCS -->
169169
170-
## Terraform Overview
170+
## Repository Overview
171171
172172
### Providers
173173
174174
| Name | Version |
175175
|------|---------|
176176
| aws | 5.25.0 |
177+
| aws.secrets | 5.25.0 |
177178
178179
### Inputs
179180
180-
<<<<<<< HEAD
181-
| Name | Description | Type | Default | Must be changed |
182-
|------|-------------|------|---------|-----------------|
183-
| aws_secretsmanager_region | The AWS region where the secret is stored. | `string` | `"us-east-2"` | No |
184-
| fsx_capacity_size_gb | The storage capacity (GiB) of the FSxN file system. Valid values between 1024 and 196608. | `number` | `1024` | No |
185-
| fsx_deploy_type | The filesystem deployment type. Supports MULTI_AZ_1 and SINGLE_AZ_1 | `string` | `"MULTI_AZ_1"` | No |
186-
| fsx_name | The deployed filesystem name | `string` | `"terraform-fsxn"` | No |
187-
| fsx_region | The AWS region where the FSxN file system to be deployed. | `string` | `"us-west-2"` | No |
188-
| fsx_secret_name | The name of the AWS SecretManager secret that holds the ONTAP administrative password for the fsxadmin user that you can use to administer your file system using the ONTAP CLI and REST API. | `string` | `"fsx_secret"` | Yes |
189-
| fsx_subnets | A list of IDs for the subnets that the file system will be accessible from. Up to 2 subnets can be provided. | `map(any)` | <pre>{<br> "primarysub": "subnet-22222222",<br> "secondarysub": "subnet-22222222"<br>}</pre> | Yes |
190-
| fsx_tput_in_MBps | The throughput capacity (in MBps) for the file system. Valid values are 128, 256, 512, 1024, 2048, and 4096. | `number` | `128` | No |
191-
| svm_name | The name of the Storage Virtual Machine | `string` | `"first_svm"` | No |
192-
| vol_info | Details for the volume creation | `map(any)` | <pre>{<br> "cooling_period": 31,<br> "efficiency": true,<br> "junction_path": "/vol1",<br> "size_mg": 1024,<br> "tier_policy_name": "AUTO",<br> "vol_name": "vol1"<br>}</pre> | No |
193-
| vpc_id | The ID of the VPC in which the FSxN fikesystem should be deployed | `string` | `"vpc-11111111"` | Yes |
194-
=======
195181
| Name | Description | Type | Default | Required |
196182
|------|-------------|------|---------|:--------:|
197183
| aws_secretsmanager_region | The AWS region where the secret is stored. Can be different from the region where the FSxN file system is deployed. | `string` | `"us-east-2"` | no |
@@ -205,7 +191,6 @@ terraform apply
205191
| svm_name | The name of the Storage Virtual Machine | `string` | `"first_svm"` | no |
206192
| vol_info | Details for the volume creation | `map(any)` | <pre>{<br> "cooling_period": 31,<br> "efficiency": true,<br> "junction_path": "/vol1",<br> "size_mg": 1024,<br> "tier_policy_name": "AUTO",<br> "vol_name": "vol1"<br>}</pre> | no |
207193
| vpc_id | The ID of the VPC in which the FSxN fikesystem should be deployed | `string` | `"vpc-11111111"` | no |
208-
>>>>>>> db6ff98f8c57b29a0b7cfbeb1257e3580918651f
209194
210195
### Outputs
211196

Terraform/deploy-fsx-ontap/standalone-module/security_groups.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ resource "aws_vpc_security_group_ingress_rule" "ssh" {
241241
ip_protocol = "tcp"
242242
}
243243

244-
resource "aws_vpc_security_group_ingress_rule" "s3_API" {
244+
resource "aws_vpc_security_group_ingress_rule" "s3_and_api" {
245245
security_group_id = aws_security_group.fsx_sg.id
246246
description = "Allow the s3 protocol and ONTAP API traffic"
247247
cidr_ipv4 = (local.ciddr_block != "" ? local.ciddr_block : null)

0 commit comments

Comments
 (0)