Skip to content
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

directconnect: Migrate to AWS SDK v2 #37213

Merged

Conversation

mattburgess
Copy link
Collaborator

@mattburgess mattburgess commented May 1, 2024

Description

Relations

Closes #36139
Relates #32976

References

Output from Acceptance Testing

% make testacc TESTS=TestAccXXX PKG=ec2

...

Copy link

github-actions bot commented May 1, 2024

Community Note

Voting for Prioritization

  • Please vote on this pull request by adding a 👍 reaction to the original post to help the community and maintainers prioritize this pull request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

For Submitters

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • For new resources and data sources, use skaff to generate scaffolding with comments detailing common expectations.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions bot added size/XL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/directconnect Issues and PRs that pertain to the directconnect service. sweeper Pertains to changes to or issues with the sweeper. tags Pertains to resource tagging. client-connections Pertains to the AWS Client and service connections. generators Relates to code generators. labels May 1, 2024
@terraform-aws-provider terraform-aws-provider bot added needs-triage Waiting for first response or review from a maintainer. external-maintainer Contribution from a trusted external contributor. labels May 1, 2024
Copy link

github-actions bot commented May 1, 2024

Thank you for your contribution! 🚀

Please note that typically Go dependency changes are handled in this repository by dependabot or the maintainers. This is to prevent pull request merge conflicts and further delay reviews of contributions. Remove any changes to the go.mod or go.sum files and commit them into this pull request.

Additional details:

  • Check open pull requests with the dependencies label to view other dependency updates.
  • If this pull request includes an update the AWS Go SDK (or any other dependency) version, only updates submitted via dependabot will be merged. This pull request will need to remove these changes and will need to be rebased after the existing dependency update via dependabot has been merged for this pull request to be reviewed.
  • If this pull request is for supporting a new AWS service:
    • Ensure the new AWS service changes are following the Contributing Guide section on new services, in particular that the dependency addition and initial provider support are in a separate pull request from other changes (e.g. new resources). Contributions not following this item will not be reviewed until the changes are split.
    • If this pull request is already a separate pull request from the above item, you can ignore this message.

@mattburgess mattburgess added the aws-sdk-go-migration Issues that are related to the providers migration to AWS SDK for Go v2. label May 1, 2024
@justinretzolk justinretzolk removed the needs-triage Waiting for first response or review from a maintainer. label May 2, 2024
# Conflicts:
#	go.mod
#	go.sum
#	internal/conns/awsclient_gen.go
#	internal/service/directconnect/gateway.go
#	internal/service/directconnect/gateway_data_source.go
#	internal/service/directconnect/hosted_connection.go
#	internal/service/directconnect/hosted_private_virtual_interface.go
#	internal/service/directconnect/hosted_private_virtual_interface_test.go
#	internal/service/directconnect/hosted_public_virtual_interface.go
#	internal/service/directconnect/hosted_public_virtual_interface_test.go
#	internal/service/directconnect/hosted_transit_virtual_interface.go
#	internal/service/directconnect/hosted_transit_virtual_interface_test.go
#	internal/service/directconnect/private_virtual_interface.go
#	internal/service/directconnect/private_virtual_interface_test.go
#	internal/service/directconnect/public_virtual_interface.go
#	internal/service/directconnect/public_virtual_interface_test.go
#	internal/service/directconnect/service_endpoints_gen_test.go
#	internal/service/directconnect/service_package_gen.go
#	internal/service/directconnect/sweep.go
#	internal/service/directconnect/transit_virtual_interface.go
#	internal/service/directconnect/transit_virtual_interface_test.go
#	names/data/names_data.csv
#	names/names.go
@ewbankkit ewbankkit self-assigned this Aug 1, 2024
@github-actions github-actions bot added the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Aug 1, 2024
Copy link
Contributor

@ewbankkit ewbankkit left a 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=TestAccDirectConnect' PKG=directconnect ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.5 test ./internal/service/directconnect/... -v -count 1 -parallel 3  -run=TestAccDirectConnect -timeout 360m
=== RUN   TestAccDirectConnectBGPPeer_basic
    bgp_peer_test.go:25: Environment variable DX_VIRTUAL_INTERFACE_ID is not set, skipping test
--- SKIP: TestAccDirectConnectBGPPeer_basic (0.00s)
=== RUN   TestAccDirectConnectBGPPeer_disappears
    bgp_peer_test.go:48: Environment variable DX_VIRTUAL_INTERFACE_ID is not set, skipping test
--- SKIP: TestAccDirectConnectBGPPeer_disappears (0.00s)
=== RUN   TestAccDirectConnectConnectionAssociation_basic
=== PAUSE TestAccDirectConnectConnectionAssociation_basic
=== RUN   TestAccDirectConnectConnectionAssociation_disappears
=== PAUSE TestAccDirectConnectConnectionAssociation_disappears
=== RUN   TestAccDirectConnectConnectionAssociation_lagOnConnection
=== PAUSE TestAccDirectConnectConnectionAssociation_lagOnConnection
=== RUN   TestAccDirectConnectConnectionAssociation_multiple
=== PAUSE TestAccDirectConnectConnectionAssociation_multiple
=== RUN   TestAccDirectConnectConnectionConfirmation_basic
    connection_confirmation_test.go:24: Environment variable TEST_AWS_DX_CONNECTION_ID is not set, skipping test
--- SKIP: TestAccDirectConnectConnectionConfirmation_basic (0.00s)
=== RUN   TestAccDirectConnectConnectionDataSource_basic
=== PAUSE TestAccDirectConnectConnectionDataSource_basic
=== RUN   TestAccDirectConnectConnection_basic
=== PAUSE TestAccDirectConnectConnection_basic
=== RUN   TestAccDirectConnectConnection_disappears
=== PAUSE TestAccDirectConnectConnection_disappears
=== RUN   TestAccDirectConnectConnection_encryptionMode
    connection_test.go:86: Environment variable DX_CONNECTION_ID is not set, skipping test
--- SKIP: TestAccDirectConnectConnection_encryptionMode (0.00s)
=== RUN   TestAccDirectConnectConnection_macsecRequested
=== PAUSE TestAccDirectConnectConnection_macsecRequested
=== RUN   TestAccDirectConnectConnection_providerName
=== PAUSE TestAccDirectConnectConnection_providerName
=== RUN   TestAccDirectConnectConnection_skipDestroy
=== PAUSE TestAccDirectConnectConnection_skipDestroy
=== RUN   TestAccDirectConnectConnection_tags
=== PAUSE TestAccDirectConnectConnection_tags
=== RUN   TestAccDirectConnectConnection_vlanIDMigration501
=== PAUSE TestAccDirectConnectConnection_vlanIDMigration501
=== RUN   TestAccDirectConnectConnection_vlanIDMigration510
=== PAUSE TestAccDirectConnectConnection_vlanIDMigration510
=== RUN   TestAccDirectConnectGatewayAssociationProposal_basicVPNGateway
=== PAUSE TestAccDirectConnectGatewayAssociationProposal_basicVPNGateway
=== RUN   TestAccDirectConnectGatewayAssociationProposal_basicTransitGateway
=== PAUSE TestAccDirectConnectGatewayAssociationProposal_basicTransitGateway
=== RUN   TestAccDirectConnectGatewayAssociationProposal_disappears
=== PAUSE TestAccDirectConnectGatewayAssociationProposal_disappears
=== RUN   TestAccDirectConnectGatewayAssociationProposal_endOfLifeVPN
=== PAUSE TestAccDirectConnectGatewayAssociationProposal_endOfLifeVPN
=== RUN   TestAccDirectConnectGatewayAssociationProposal_endOfLifeTgw
=== PAUSE TestAccDirectConnectGatewayAssociationProposal_endOfLifeTgw
=== RUN   TestAccDirectConnectGatewayAssociationProposal_allowedPrefixes
=== PAUSE TestAccDirectConnectGatewayAssociationProposal_allowedPrefixes
=== RUN   TestAccDirectConnectGatewayAssociation_v0StateUpgrade
=== PAUSE TestAccDirectConnectGatewayAssociation_v0StateUpgrade
=== RUN   TestAccDirectConnectGatewayAssociation_basicVPNGatewaySingleAccount
=== PAUSE TestAccDirectConnectGatewayAssociation_basicVPNGatewaySingleAccount
=== RUN   TestAccDirectConnectGatewayAssociation_basicVPNGatewayCrossAccount
=== PAUSE TestAccDirectConnectGatewayAssociation_basicVPNGatewayCrossAccount
=== RUN   TestAccDirectConnectGatewayAssociation_basicTransitGatewaySingleAccount
=== PAUSE TestAccDirectConnectGatewayAssociation_basicTransitGatewaySingleAccount
=== RUN   TestAccDirectConnectGatewayAssociation_basicTransitGatewayCrossAccount
=== PAUSE TestAccDirectConnectGatewayAssociation_basicTransitGatewayCrossAccount
=== RUN   TestAccDirectConnectGatewayAssociation_multiVPNGatewaysSingleAccount
=== PAUSE TestAccDirectConnectGatewayAssociation_multiVPNGatewaysSingleAccount
=== RUN   TestAccDirectConnectGatewayAssociation_allowedPrefixesVPNGatewaySingleAccount
=== PAUSE TestAccDirectConnectGatewayAssociation_allowedPrefixesVPNGatewaySingleAccount
=== RUN   TestAccDirectConnectGatewayAssociation_allowedPrefixesVPNGatewayCrossAccount
=== PAUSE TestAccDirectConnectGatewayAssociation_allowedPrefixesVPNGatewayCrossAccount
=== RUN   TestAccDirectConnectGatewayAssociation_recreateProposal
=== PAUSE TestAccDirectConnectGatewayAssociation_recreateProposal
=== RUN   TestAccDirectConnectGatewayDataSource_basic
=== PAUSE TestAccDirectConnectGatewayDataSource_basic
=== RUN   TestAccDirectConnectGateway_basic
=== PAUSE TestAccDirectConnectGateway_basic
=== RUN   TestAccDirectConnectGateway_disappears
=== PAUSE TestAccDirectConnectGateway_disappears
=== RUN   TestAccDirectConnectGateway_complex
=== PAUSE TestAccDirectConnectGateway_complex
=== RUN   TestAccDirectConnectGateway_update
=== PAUSE TestAccDirectConnectGateway_update
=== RUN   TestAccDirectConnectHostedConnection_basic
    hosted_connection_test.go:24: Environment variable TEST_AWS_DX_CONNECTION_ID is not set, skipping test
--- SKIP: TestAccDirectConnectHostedConnection_basic (0.00s)
=== RUN   TestAccDirectConnectHostedPrivateVirtualInterface_basic
    hosted_private_virtual_interface_test.go:24: Environment variable DX_CONNECTION_ID is not set, skipping test
--- SKIP: TestAccDirectConnectHostedPrivateVirtualInterface_basic (0.00s)
=== RUN   TestAccDirectConnectHostedPrivateVirtualInterface_accepterTags
    hosted_private_virtual_interface_test.go:78: Environment variable DX_CONNECTION_ID is not set, skipping test
--- SKIP: TestAccDirectConnectHostedPrivateVirtualInterface_accepterTags (0.00s)
=== RUN   TestAccDirectConnectHostedPublicVirtualInterface_basic
    hosted_public_virtual_interface_test.go:24: Environment variable DX_CONNECTION_ID is not set, skipping test
--- SKIP: TestAccDirectConnectHostedPublicVirtualInterface_basic (0.00s)
=== RUN   TestAccDirectConnectHostedPublicVirtualInterface_accepterTags
    hosted_public_virtual_interface_test.go:80: Environment variable DX_CONNECTION_ID is not set, skipping test
--- SKIP: TestAccDirectConnectHostedPublicVirtualInterface_accepterTags (0.00s)
=== RUN   TestAccDirectConnectHostedTransitVirtualInterface_serial
=== PAUSE TestAccDirectConnectHostedTransitVirtualInterface_serial
=== RUN   TestAccDirectConnectLag_basic
=== PAUSE TestAccDirectConnectLag_basic
=== RUN   TestAccDirectConnectLag_disappears
=== PAUSE TestAccDirectConnectLag_disappears
=== RUN   TestAccDirectConnectLag_connectionID
=== PAUSE TestAccDirectConnectLag_connectionID
=== RUN   TestAccDirectConnectLag_providerName
=== PAUSE TestAccDirectConnectLag_providerName
=== RUN   TestAccDirectConnectLag_tags
=== PAUSE TestAccDirectConnectLag_tags
=== RUN   TestAccDirectConnectLocationDataSource_basic
=== PAUSE TestAccDirectConnectLocationDataSource_basic
=== RUN   TestAccDirectConnectMacSecKeyAssociation_withCkn
    macsec_key_association_test.go:25: Environment variable DX_CONNECTION_ID is not set, skipping test
--- SKIP: TestAccDirectConnectMacSecKeyAssociation_withCkn (0.00s)
=== RUN   TestAccDirectConnectMacSecKeyAssociation_withSecret
    macsec_key_association_test.go:57: Environment variable DX_CONNECTION_ID is not set, skipping test
--- SKIP: TestAccDirectConnectMacSecKeyAssociation_withSecret (0.00s)
=== RUN   TestAccDirectConnectPrivateVirtualInterface_basic
    private_virtual_interface_test.go:24: Environment variable DX_CONNECTION_ID is not set, skipping test
--- SKIP: TestAccDirectConnectPrivateVirtualInterface_basic (0.00s)
=== RUN   TestAccDirectConnectPrivateVirtualInterface_tags
    private_virtual_interface_test.go:92: Environment variable DX_CONNECTION_ID is not set, skipping test
--- SKIP: TestAccDirectConnectPrivateVirtualInterface_tags (0.00s)
=== RUN   TestAccDirectConnectPrivateVirtualInterface_dxGateway
    private_virtual_interface_test.go:166: Environment variable DX_CONNECTION_ID is not set, skipping test
--- SKIP: TestAccDirectConnectPrivateVirtualInterface_dxGateway (0.00s)
=== RUN   TestAccDirectConnectPrivateVirtualInterface_siteLink
    private_virtual_interface_test.go:214: Environment variable DX_CONNECTION_ID is not set, skipping test
--- SKIP: TestAccDirectConnectPrivateVirtualInterface_siteLink (0.00s)
=== RUN   TestAccDirectConnectPublicVirtualInterface_basic
    public_virtual_interface_test.go:24: Environment variable DX_CONNECTION_ID is not set, skipping test
--- SKIP: TestAccDirectConnectPublicVirtualInterface_basic (0.00s)
=== RUN   TestAccDirectConnectPublicVirtualInterface_tags
    public_virtual_interface_test.go:76: Environment variable DX_CONNECTION_ID is not set, skipping test
--- SKIP: TestAccDirectConnectPublicVirtualInterface_tags (0.00s)
=== RUN   TestAccDirectConnectRouterConfigurationDataSource_basic
    router_configuration_data_source_test.go:17: Environment variable VIRTUAL_INTERFACE_ID is not set, skipping test
--- SKIP: TestAccDirectConnectRouterConfigurationDataSource_basic (0.00s)
=== RUN   TestAccDirectConnectTransitVirtualInterface_serial
=== PAUSE TestAccDirectConnectTransitVirtualInterface_serial
=== CONT  TestAccDirectConnectConnectionAssociation_basic
=== CONT  TestAccDirectConnectGatewayAssociation_basicVPNGatewayCrossAccount
=== CONT  TestAccDirectConnectGateway_complex
=== NAME  TestAccDirectConnectGatewayAssociation_basicVPNGatewayCrossAccount
    gateway_association_test.go:100: skipping test because at least one environment variable of [AWS_ALTERNATE_PROFILE AWS_ALTERNATE_ACCESS_KEY_ID] must be set. Usage: credentials for running acceptance testing in alternate AWS account.
--- SKIP: TestAccDirectConnectGatewayAssociation_basicVPNGatewayCrossAccount (0.38s)
=== CONT  TestAccDirectConnectTransitVirtualInterface_serial
=== RUN   TestAccDirectConnectTransitVirtualInterface_serial/basic
    transit_virtual_interface_test.go:36: Environment variable DX_CONNECTION_ID is not set, skipping test
=== RUN   TestAccDirectConnectTransitVirtualInterface_serial/tags
    transit_virtual_interface_test.go:105: Environment variable DX_CONNECTION_ID is not set, skipping test
=== RUN   TestAccDirectConnectTransitVirtualInterface_serial/sitelink
    transit_virtual_interface_test.go:180: Environment variable DX_CONNECTION_ID is not set, skipping test
--- PASS: TestAccDirectConnectTransitVirtualInterface_serial (0.00s)
    --- SKIP: TestAccDirectConnectTransitVirtualInterface_serial/basic (0.00s)
    --- SKIP: TestAccDirectConnectTransitVirtualInterface_serial/tags (0.00s)
    --- SKIP: TestAccDirectConnectTransitVirtualInterface_serial/sitelink (0.00s)
=== CONT  TestAccDirectConnectLocationDataSource_basic
--- PASS: TestAccDirectConnectLocationDataSource_basic (8.76s)
=== CONT  TestAccDirectConnectLag_tags
--- PASS: TestAccDirectConnectLag_tags (31.67s)
=== CONT  TestAccDirectConnectLag_providerName
--- PASS: TestAccDirectConnectConnectionAssociation_basic (13.90s)
=== CONT  TestAccDirectConnectLag_connectionID
--- PASS: TestAccDirectConnectLag_providerName (15.31s)
=== CONT  TestAccDirectConnectLag_disappears
--- PASS: TestAccDirectConnectLag_disappears (11.35s)
=== CONT  TestAccDirectConnectLag_basic
--- PASS: TestAccDirectConnectLag_basic (22.61s)
=== CONT  TestAccDirectConnectHostedTransitVirtualInterface_serial
=== RUN   TestAccDirectConnectHostedTransitVirtualInterface_serial/basic
    hosted_transit_virtual_interface_test.go:35: Environment variable DX_CONNECTION_ID is not set, skipping test
=== RUN   TestAccDirectConnectHostedTransitVirtualInterface_serial/accepterTags
    hosted_transit_virtual_interface_test.go:90: Environment variable DX_CONNECTION_ID is not set, skipping test
--- PASS: TestAccDirectConnectHostedTransitVirtualInterface_serial (0.00s)
    --- SKIP: TestAccDirectConnectHostedTransitVirtualInterface_serial/basic (0.00s)
    --- SKIP: TestAccDirectConnectHostedTransitVirtualInterface_serial/accepterTags (0.00s)
=== CONT  TestAccDirectConnectGateway_update
--- PASS: TestAccDirectConnectLag_connectionID (14.97s)
=== CONT  TestAccDirectConnectGatewayAssociation_allowedPrefixesVPNGatewayCrossAccount
    gateway_association_test.go:290: skipping test because at least one environment variable of [AWS_ALTERNATE_PROFILE AWS_ALTERNATE_ACCESS_KEY_ID] must be set. Usage: credentials for running acceptance testing in alternate AWS account.
--- SKIP: TestAccDirectConnectGatewayAssociation_allowedPrefixesVPNGatewayCrossAccount (0.00s)
=== CONT  TestAccDirectConnectGateway_disappears
--- PASS: TestAccDirectConnectGateway_update (49.72s)
=== CONT  TestAccDirectConnectGateway_basic
--- PASS: TestAccDirectConnectGateway_disappears (54.15s)
=== CONT  TestAccDirectConnectGatewayDataSource_basic
--- PASS: TestAccDirectConnectGateway_basic (18.16s)
=== CONT  TestAccDirectConnectGatewayAssociation_recreateProposal
    gateway_association_test.go:333: skipping test because at least one environment variable of [AWS_ALTERNATE_PROFILE AWS_ALTERNATE_ACCESS_KEY_ID] must be set. Usage: credentials for running acceptance testing in alternate AWS account.
--- SKIP: TestAccDirectConnectGatewayAssociation_recreateProposal (0.00s)
=== CONT  TestAccDirectConnectGatewayAssociation_multiVPNGatewaysSingleAccount
--- PASS: TestAccDirectConnectGatewayDataSource_basic (16.05s)
=== CONT  TestAccDirectConnectGatewayAssociation_allowedPrefixesVPNGatewaySingleAccount
--- PASS: TestAccDirectConnectGatewayAssociation_multiVPNGatewaysSingleAccount (709.12s)
=== CONT  TestAccDirectConnectConnection_disappears
--- PASS: TestAccDirectConnectGateway_complex (805.17s)
=== CONT  TestAccDirectConnectConnection_tags
--- PASS: TestAccDirectConnectConnection_disappears (12.78s)
=== CONT  TestAccDirectConnectConnection_skipDestroy
--- PASS: TestAccDirectConnectConnection_skipDestroy (10.12s)
=== CONT  TestAccDirectConnectConnection_providerName
=== CONT  TestAccDirectConnectConnection_macsecRequested
--- PASS: TestAccDirectConnectConnection_tags (30.76s)
--- PASS: TestAccDirectConnectConnection_providerName (14.01s)
=== CONT  TestAccDirectConnectConnectionAssociation_multiple
--- PASS: TestAccDirectConnectConnection_macsecRequested (14.35s)
=== CONT  TestAccDirectConnectConnection_basic
--- PASS: TestAccDirectConnectConnectionAssociation_multiple (13.05s)
=== CONT  TestAccDirectConnectConnectionDataSource_basic
--- PASS: TestAccDirectConnectConnection_basic (14.30s)
=== CONT  TestAccDirectConnectGatewayAssociation_basicTransitGatewayCrossAccount
    gateway_association_test.go:176: skipping test because at least one environment variable of [AWS_ALTERNATE_PROFILE AWS_ALTERNATE_ACCESS_KEY_ID] must be set. Usage: credentials for running acceptance testing in alternate AWS account.
--- SKIP: TestAccDirectConnectGatewayAssociation_basicTransitGatewayCrossAccount (0.00s)
=== CONT  TestAccDirectConnectGatewayAssociation_basicTransitGatewaySingleAccount
--- PASS: TestAccDirectConnectConnectionDataSource_basic (11.37s)
=== CONT  TestAccDirectConnectConnectionAssociation_lagOnConnection
--- PASS: TestAccDirectConnectConnectionAssociation_lagOnConnection (13.67s)
=== CONT  TestAccDirectConnectGatewayAssociationProposal_endOfLifeVPN
    gateway_association_proposal_test.go:131: skipping test because at least one environment variable of [AWS_ALTERNATE_PROFILE AWS_ALTERNATE_ACCESS_KEY_ID] must be set. Usage: credentials for running acceptance testing in alternate AWS account.
--- SKIP: TestAccDirectConnectGatewayAssociationProposal_endOfLifeVPN (0.00s)
=== CONT  TestAccDirectConnectGatewayAssociation_basicVPNGatewaySingleAccount
--- PASS: TestAccDirectConnectGatewayAssociation_allowedPrefixesVPNGatewaySingleAccount (1103.51s)
=== CONT  TestAccDirectConnectGatewayAssociation_v0StateUpgrade
--- PASS: TestAccDirectConnectGatewayAssociation_basicTransitGatewaySingleAccount (1281.10s)
=== CONT  TestAccDirectConnectGatewayAssociationProposal_allowedPrefixes
    gateway_association_proposal_test.go:205: skipping test because at least one environment variable of [AWS_ALTERNATE_PROFILE AWS_ALTERNATE_ACCESS_KEY_ID] must be set. Usage: credentials for running acceptance testing in alternate AWS account.
--- SKIP: TestAccDirectConnectGatewayAssociationProposal_allowedPrefixes (0.00s)
=== CONT  TestAccDirectConnectGatewayAssociationProposal_endOfLifeTgw
    gateway_association_proposal_test.go:168: skipping test because at least one environment variable of [AWS_ALTERNATE_PROFILE AWS_ALTERNATE_ACCESS_KEY_ID] must be set. Usage: credentials for running acceptance testing in alternate AWS account.
--- SKIP: TestAccDirectConnectGatewayAssociationProposal_endOfLifeTgw (0.00s)
=== CONT  TestAccDirectConnectConnectionAssociation_disappears
--- PASS: TestAccDirectConnectConnectionAssociation_disappears (16.02s)
=== CONT  TestAccDirectConnectGatewayAssociationProposal_basicTransitGateway
    gateway_association_proposal_test.go:70: skipping test because at least one environment variable of [AWS_ALTERNATE_PROFILE AWS_ALTERNATE_ACCESS_KEY_ID] must be set. Usage: credentials for running acceptance testing in alternate AWS account.
--- SKIP: TestAccDirectConnectGatewayAssociationProposal_basicTransitGateway (0.00s)
=== CONT  TestAccDirectConnectGatewayAssociationProposal_disappears
    gateway_association_proposal_test.go:106: skipping test because at least one environment variable of [AWS_ALTERNATE_PROFILE AWS_ALTERNATE_ACCESS_KEY_ID] must be set. Usage: credentials for running acceptance testing in alternate AWS account.
--- SKIP: TestAccDirectConnectGatewayAssociationProposal_disappears (0.00s)
=== CONT  TestAccDirectConnectGatewayAssociationProposal_basicVPNGateway
    gateway_association_proposal_test.go:34: skipping test because at least one environment variable of [AWS_ALTERNATE_PROFILE AWS_ALTERNATE_ACCESS_KEY_ID] must be set. Usage: credentials for running acceptance testing in alternate AWS account.
--- SKIP: TestAccDirectConnectGatewayAssociationProposal_basicVPNGateway (0.00s)
=== CONT  TestAccDirectConnectConnection_vlanIDMigration510
--- PASS: TestAccDirectConnectConnection_vlanIDMigration510 (36.69s)
=== CONT  TestAccDirectConnectConnection_vlanIDMigration501
--- PASS: TestAccDirectConnectConnection_vlanIDMigration501 (37.88s)
--- PASS: TestAccDirectConnectGatewayAssociation_basicVPNGatewaySingleAccount (1445.79s)
--- PASS: TestAccDirectConnectGatewayAssociation_v0StateUpgrade (1360.75s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/directconnect	2568.355s
% make testacc TESTARGS='-run=TestAccDirectConnectGatewayAssociation_\|TestAccDirectConnectGatewayAssociationProposal_' PKG=directconnect ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.5 test ./internal/service/directconnect/... -v -count 1 -parallel 3  -run=TestAccDirectConnectGatewayAssociation_\|TestAccDirectConnectGatewayAssociationProposal_ -timeout 360m
=== RUN   TestAccDirectConnectGatewayAssociationProposal_basicVPNGateway
=== PAUSE TestAccDirectConnectGatewayAssociationProposal_basicVPNGateway
=== RUN   TestAccDirectConnectGatewayAssociationProposal_basicTransitGateway
=== PAUSE TestAccDirectConnectGatewayAssociationProposal_basicTransitGateway
=== RUN   TestAccDirectConnectGatewayAssociationProposal_disappears
=== PAUSE TestAccDirectConnectGatewayAssociationProposal_disappears
=== RUN   TestAccDirectConnectGatewayAssociationProposal_endOfLifeVPN
=== PAUSE TestAccDirectConnectGatewayAssociationProposal_endOfLifeVPN
=== RUN   TestAccDirectConnectGatewayAssociationProposal_endOfLifeTgw
=== PAUSE TestAccDirectConnectGatewayAssociationProposal_endOfLifeTgw
=== RUN   TestAccDirectConnectGatewayAssociationProposal_allowedPrefixes
=== PAUSE TestAccDirectConnectGatewayAssociationProposal_allowedPrefixes
=== RUN   TestAccDirectConnectGatewayAssociation_v0StateUpgrade
=== PAUSE TestAccDirectConnectGatewayAssociation_v0StateUpgrade
=== RUN   TestAccDirectConnectGatewayAssociation_basicVPNGatewaySingleAccount
=== PAUSE TestAccDirectConnectGatewayAssociation_basicVPNGatewaySingleAccount
=== RUN   TestAccDirectConnectGatewayAssociation_basicVPNGatewayCrossAccount
=== PAUSE TestAccDirectConnectGatewayAssociation_basicVPNGatewayCrossAccount
=== RUN   TestAccDirectConnectGatewayAssociation_basicTransitGatewaySingleAccount
=== PAUSE TestAccDirectConnectGatewayAssociation_basicTransitGatewaySingleAccount
=== RUN   TestAccDirectConnectGatewayAssociation_basicTransitGatewayCrossAccount
=== PAUSE TestAccDirectConnectGatewayAssociation_basicTransitGatewayCrossAccount
=== RUN   TestAccDirectConnectGatewayAssociation_multiVPNGatewaysSingleAccount
=== PAUSE TestAccDirectConnectGatewayAssociation_multiVPNGatewaysSingleAccount
=== RUN   TestAccDirectConnectGatewayAssociation_allowedPrefixesVPNGatewaySingleAccount
=== PAUSE TestAccDirectConnectGatewayAssociation_allowedPrefixesVPNGatewaySingleAccount
=== RUN   TestAccDirectConnectGatewayAssociation_allowedPrefixesVPNGatewayCrossAccount
=== PAUSE TestAccDirectConnectGatewayAssociation_allowedPrefixesVPNGatewayCrossAccount
=== RUN   TestAccDirectConnectGatewayAssociation_recreateProposal
=== PAUSE TestAccDirectConnectGatewayAssociation_recreateProposal
=== CONT  TestAccDirectConnectGatewayAssociationProposal_basicVPNGateway
=== CONT  TestAccDirectConnectGatewayAssociation_basicVPNGatewayCrossAccount
=== CONT  TestAccDirectConnectGatewayAssociationProposal_endOfLifeTgw
--- PASS: TestAccDirectConnectGatewayAssociationProposal_basicVPNGateway (93.68s)
=== CONT  TestAccDirectConnectGatewayAssociation_allowedPrefixesVPNGatewaySingleAccount
--- PASS: TestAccDirectConnectGatewayAssociation_basicVPNGatewayCrossAccount (949.26s)
=== CONT  TestAccDirectConnectGatewayAssociation_recreateProposal
--- PASS: TestAccDirectConnectGatewayAssociationProposal_endOfLifeTgw (1166.82s)
=== CONT  TestAccDirectConnectGatewayAssociation_basicVPNGatewaySingleAccount
--- PASS: TestAccDirectConnectGatewayAssociation_allowedPrefixesVPNGatewaySingleAccount (1489.06s)
=== CONT  TestAccDirectConnectGatewayAssociation_allowedPrefixesVPNGatewayCrossAccount
--- PASS: TestAccDirectConnectGatewayAssociation_recreateProposal (1167.81s)
=== CONT  TestAccDirectConnectGatewayAssociation_v0StateUpgrade
--- PASS: TestAccDirectConnectGatewayAssociation_basicVPNGatewaySingleAccount (959.31s)
=== CONT  TestAccDirectConnectGatewayAssociationProposal_disappears
--- PASS: TestAccDirectConnectGatewayAssociationProposal_disappears (88.40s)
=== CONT  TestAccDirectConnectGatewayAssociationProposal_allowedPrefixes
--- PASS: TestAccDirectConnectGatewayAssociationProposal_allowedPrefixes (94.78s)
=== CONT  TestAccDirectConnectGatewayAssociationProposal_endOfLifeVPN
--- PASS: TestAccDirectConnectGatewayAssociation_allowedPrefixesVPNGatewayCrossAccount (1169.11s)
=== CONT  TestAccDirectConnectGatewayAssociationProposal_basicTransitGateway
--- PASS: TestAccDirectConnectGatewayAssociationProposal_basicTransitGateway (117.20s)
=== CONT  TestAccDirectConnectGatewayAssociation_basicTransitGatewayCrossAccount
--- PASS: TestAccDirectConnectGatewayAssociation_v0StateUpgrade (1119.68s)
=== CONT  TestAccDirectConnectGatewayAssociation_multiVPNGatewaysSingleAccount
--- PASS: TestAccDirectConnectGatewayAssociationProposal_endOfLifeVPN (1247.68s)
=== CONT  TestAccDirectConnectGatewayAssociation_basicTransitGatewaySingleAccount
--- PASS: TestAccDirectConnectGatewayAssociation_basicTransitGatewayCrossAccount (1151.95s)
--- PASS: TestAccDirectConnectGatewayAssociation_multiVPNGatewaysSingleAccount (1155.46s)
--- PASS: TestAccDirectConnectGatewayAssociation_basicTransitGatewaySingleAccount (1230.39s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/directconnect	4791.971s

@ewbankkit
Copy link
Contributor

@mattburgess Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit merged commit 0aba279 into hashicorp:main Aug 8, 2024
42 checks passed
@github-actions github-actions bot added this to the v5.62.0 milestone Aug 8, 2024
@github-actions github-actions bot removed the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Aug 9, 2024
Copy link

github-actions bot commented Aug 9, 2024

This functionality has been released in v5.62.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!

Copy link

github-actions bot commented Sep 9, 2024

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.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
aws-sdk-go-migration Issues that are related to the providers migration to AWS SDK for Go v2. client-connections Pertains to the AWS Client and service connections. external-maintainer Contribution from a trusted external contributor. generators Relates to code generators. service/directconnect Issues and PRs that pertain to the directconnect service. size/XL Managed by automation to categorize the size of a PR. sweeper Pertains to changes to or issues with the sweeper. tags Pertains to resource tagging. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[AWS SDK for Go Migration] Direct Connect Service
3 participants