Preserve ordering in aws_fsx_lustre_file_system's network_interface_ids#14314
Conversation
|
Closes #14444. |
|
@DrFaust92 is there a way to test this? The IDs returned from amazon are unique autogenerated uids, so it's a bit hard to test. Let me know if additional work is needed on this PR. |
|
@mtpdt. can we also add something to the docs as well to make users aware of this? |
… to preserve ordering.
06bfe23 to
2bdc0eb
Compare
|
@DrFaust92 done, documentation added |
|
@DrFaust92 any next steps needed on my part, or can you merge this in? |
ewbankkit
left a comment
There was a problem hiding this comment.
LGTM.
Verified acceptance tests:
$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSFsxLustreFileSystem_basic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSFsxLustreFileSystem_basic -timeout 120m
=== RUN TestAccAWSFsxLustreFileSystem_basic
=== PAUSE TestAccAWSFsxLustreFileSystem_basic
=== CONT TestAccAWSFsxLustreFileSystem_basic
--- PASS: TestAccAWSFsxLustreFileSystem_basic (431.00s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 431.057s|
LGTM 🚀 Thanks @mtpdt for the implementation! Verified acceptance tests: make testacc TESTARGS='-run=TestAccAWSFsxLustreFileSystem_basic'
\==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSFsxLustreFileSystem_basic -timeout 120m
=== RUN TestAccAWSFsxLustreFileSystem_basic
=== PAUSE TestAccAWSFsxLustreFileSystem_basic
=== CONT TestAccAWSFsxLustreFileSystem_basic
--- PASS: TestAccAWSFsxLustreFileSystem_basic (491.03s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 494.501s |
|
This has been released in version 3.8.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
|
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
As explained in FSX lustre's documentation, the first
network_interface_idis important and the primary one. So use aschema.TypeListinstead ofschema.TypeSetto preserve the ordering of this resource.Community Note
Relates #12181
Release note for CHANGELOG:
Output from acceptance testing: