Primary network interface is not provided for FSx (lustre), cannot mount onsite #14444
Labels
bug
Addresses a defect in current functionality.
service/fsx
Issues and PRs that pertain to the fsx service.
Acquiring the primary network interface for FSx does not occur correctly with Terraform vs the AWS CLI (which does).
The primary interface is important, since there is more than one available, but the primary must be used to mount on prem.
https://docs.aws.amazon.com/fsx/latest/LustreGuide/mounting-on-premises.html
I'm guessing this is because the primary is some kind of load balancer.
According to that doc the primary in this case can be found with
aws fsx describe-file-systems
This produces:
So the primary would be eni-03a2de807a87426b1
However, the Terraform aws provider doesn't produce the same order:
So its not possible using the terraform network list to determine the correct primary interface we would use to mount FSx onsite.
We have a need for aws_fsx_lustre_file_system attributes to respect the correct order or provide an additional attribute for the primary.
The text was updated successfully, but these errors were encountered: