-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Resources: r/aws_networkmanager_vpc_attachment
& r/aws_networkmanager_attachment_acceptor
#26227
New Resources: r/aws_networkmanager_vpc_attachment
& r/aws_networkmanager_attachment_acceptor
#26227
Conversation
6da5dcd
to
f11c196
Compare
$ make testacc TESTS=TestAccNetworkManagerAttachmentAcceptor PKG=networkmanager
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 20 -run='TestAccNetworkManagerAttachmentAcceptor' -timeout 180m
=== RUN TestAccNetworkManagerAttachmentAcceptor_vpcAttachmentBasic
=== PAUSE TestAccNetworkManagerAttachmentAcceptor_vpcAttachmentBasic
=== RUN TestAccNetworkManagerAttachmentAcceptor_vpcAttachmentTags
=== PAUSE TestAccNetworkManagerAttachmentAcceptor_vpcAttachmentTags
=== CONT TestAccNetworkManagerAttachmentAcceptor_vpcAttachmentBasic
=== CONT TestAccNetworkManagerAttachmentAcceptor_vpcAttachmentTags
--- PASS: TestAccNetworkManagerAttachmentAcceptor_vpcAttachmentTags (1247.46s)
--- PASS: TestAccNetworkManagerAttachmentAcceptor_vpcAttachmentBasic (1403.50s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 1406.898s |
$ make testacc TESTS=TestAccNetworkManagerAttachmentAccepter PKG=networkmanager
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 20 -run='TestAccNetworkManagerAttachmentAccepter' -timeout 180m
=== RUN TestAccNetworkManagerAttachmentAccepter_vpcAttachmentBasic
=== PAUSE TestAccNetworkManagerAttachmentAccepter_vpcAttachmentBasic
=== RUN TestAccNetworkManagerAttachmentAccepter_vpcAttachmentTags
=== PAUSE TestAccNetworkManagerAttachmentAccepter_vpcAttachmentTags
=== CONT TestAccNetworkManagerAttachmentAccepter_vpcAttachmentBasic
=== CONT TestAccNetworkManagerAttachmentAccepter_vpcAttachmentTags
--- PASS: TestAccNetworkManagerAttachmentAccepter_vpcAttachmentTags (1301.31s)
--- PASS: TestAccNetworkManagerAttachmentAccepter_vpcAttachmentBasic (1427.20s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 1431.028s |
2bae08f
to
4d5fe8b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a few small changes requested
$ make testacc TESTS=TestAccNetworkManagerVPCAttachment PKG=networkmanager
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 20 -run='TestAccNetworkManagerVPCAttachment' -timeout 180m
=== RUN TestAccNetworkManagerVPCAttachment_basic
=== PAUSE TestAccNetworkManagerVPCAttachment_basic
=== RUN TestAccNetworkManagerVPCAttachment_updates
=== PAUSE TestAccNetworkManagerVPCAttachment_updates
=== RUN TestAccNetworkManagerVPCAttachment_tags
=== PAUSE TestAccNetworkManagerVPCAttachment_tags
=== CONT TestAccNetworkManagerVPCAttachment_basic
=== CONT TestAccNetworkManagerVPCAttachment_tags
=== CONT TestAccNetworkManagerVPCAttachment_updates
--- PASS: TestAccNetworkManagerVPCAttachment_basic (1216.44s)
--- PASS: TestAccNetworkManagerVPCAttachment_tags (1400.23s)
--- PASS: TestAccNetworkManagerVPCAttachment_updates (1470.83s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 1474.600s Tests for AttachmentAccepter $ make testacc TESTS=TestAccNetworkManagerAttachmentAccepter PKG=networkmanager
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 20 -run='TestAccNetworkManagerAttachmentAccepter' -timeout 180m
=== RUN TestAccNetworkManagerAttachmentAccepter_vpcAttachmentBasic
=== PAUSE TestAccNetworkManagerAttachmentAccepter_vpcAttachmentBasic
=== CONT TestAccNetworkManagerAttachmentAccepter_vpcAttachmentBasic
--- PASS: TestAccNetworkManagerAttachmentAccepter_vpcAttachmentBasic (1165.31s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 1169.302s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
…se'. Acceptance test output: % make testacc TESTARGS='-run=TestAccNetworkManagerVPCAttachment_basic' PKG=networkmanager ACCTEST_PARALLELISM=2 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 2 -run=TestAccNetworkManagerVPCAttachment_basic -timeout 180m === RUN TestAccNetworkManagerVPCAttachment_basic === PAUSE TestAccNetworkManagerVPCAttachment_basic === CONT TestAccNetworkManagerVPCAttachment_basic --- PASS: TestAccNetworkManagerVPCAttachment_basic (814.61s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 818.609s
…ation function names.
Acceptance test output: % make testacc TESTARGS='-run=TestAccNetworkManagerVPCAttachment_' PKG=networkmanager ACCTEST_PARALLELISM=2 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 2 -run=TestAccNetworkManagerVPCAttachment_ -timeout 180m === RUN TestAccNetworkManagerVPCAttachment_basic === PAUSE TestAccNetworkManagerVPCAttachment_basic === RUN TestAccNetworkManagerVPCAttachment_disappears === PAUSE TestAccNetworkManagerVPCAttachment_disappears === RUN TestAccNetworkManagerVPCAttachment_tags === PAUSE TestAccNetworkManagerVPCAttachment_tags === RUN TestAccNetworkManagerVPCAttachment_update === PAUSE TestAccNetworkManagerVPCAttachment_update === CONT TestAccNetworkManagerVPCAttachment_basic === CONT TestAccNetworkManagerVPCAttachment_tags --- PASS: TestAccNetworkManagerVPCAttachment_basic (849.56s) === CONT TestAccNetworkManagerVPCAttachment_disappears --- PASS: TestAccNetworkManagerVPCAttachment_tags (1123.64s) === CONT TestAccNetworkManagerVPCAttachment_update --- PASS: TestAccNetworkManagerVPCAttachment_disappears (854.64s) --- PASS: TestAccNetworkManagerVPCAttachment_update (1284.73s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 2412.205s
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccNetworkManagerVPCAttachment_' PKG=networkmanager ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 2 -run=TestAccNetworkManagerVPCAttachment_ -timeout 180m
=== RUN TestAccNetworkManagerVPCAttachment_basic
=== PAUSE TestAccNetworkManagerVPCAttachment_basic
=== RUN TestAccNetworkManagerVPCAttachment_disappears
=== PAUSE TestAccNetworkManagerVPCAttachment_disappears
=== RUN TestAccNetworkManagerVPCAttachment_tags
=== PAUSE TestAccNetworkManagerVPCAttachment_tags
=== RUN TestAccNetworkManagerVPCAttachment_update
=== PAUSE TestAccNetworkManagerVPCAttachment_update
=== CONT TestAccNetworkManagerVPCAttachment_basic
=== CONT TestAccNetworkManagerVPCAttachment_tags
--- PASS: TestAccNetworkManagerVPCAttachment_basic (849.56s)
=== CONT TestAccNetworkManagerVPCAttachment_disappears
--- PASS: TestAccNetworkManagerVPCAttachment_tags (1123.64s)
=== CONT TestAccNetworkManagerVPCAttachment_update
--- PASS: TestAccNetworkManagerVPCAttachment_disappears (854.64s)
--- PASS: TestAccNetworkManagerVPCAttachment_update (1284.73s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 2412.205s
@drewmullen Thanks for the contribution 🎉 👏.
|
This functionality has been released in v4.27.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. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Relates #25835.
Output from acceptance testing:
Notes
AttachmentStatePendingTagAcceptance
orAttachmentStatePendingAttachmentAcceptance
aws_networkmanager_attachment_acceptor
because of the above requirement and because they are effectively the same tests requiredipv6_support
. It is not possible to currently update alone, must be updated with subnet_arn