Skip to content

AWS FSx Subnet issue #12601

@ghost

Description

This issue was originally opened by @itdevon as hashicorp/terraform#24517. It was migrated here as a result of the provider split. The original body of the issue is below.


Having issues with AWS FSx, I have two subnets, but the error indicates only a max of 1 subnet.

Terraform Version

Terraform v0.11.14

  • provider.aws v2.55.0

Terraform Configuration Files

resource "aws_fsx_windows_file_system" "orapreshopdbfs" {
storage_capacity = 2000
subnet_ids = ["subnet-1", "subnet-2"]
throughput_capacity = 2048

self_managed_active_directory {
dns_ips = ["10.1.1.1", "10.1.1.2"]
domain_name = "redacted"
organizational_unit_distinguished_name = "redacted"
password = "redacted"
username = "redacted"
}
}

Debug Output

Error: aws_fsx_windows_file_system.orapreshopdbfs: subnet_ids: attribute supports 1 item maximum, config has 2 declared

Expected Behavior

FSx is in mult-zone, so it will need to have two subnets.

Steps to Reproduce

Please list the full steps required to reproduce the issue, for example:

  1. terraform plan

-->

Metadata

Metadata

Assignees

No one assigned

    Labels

    service/fsxIssues and PRs that pertain to the fsx service.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions