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

Adding aws_transit_gateway_connect and peers #22181

Merged
merged 45 commits into from
Mar 2, 2022

Conversation

steweg
Copy link
Contributor

@steweg steweg commented Dec 12, 2021

Community Note

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

PR description

  • introduces resources:aws_transit_gateway_connect, aws_transit_gateway_connect_peer
  • introduces data_sources:aws_transit_gateway_connect, aws_transit_gateway_connect_peer
  • introduces documentation related to those resources and data sources above
  • updates the resource/data_source/documentation of: aws_transit_gateway with cidr_blocks setting

Closes #16844.
Closes #18425.
Supersedes #20780.

Output from acceptance testing:
I have run all the tests that I have created or modified, all have passed. I am also using it already in my project. Unfortunately I was not to run full acceptance testing by myself due to my AWS account limitations. Therefore please run these by you and if something pops up, please let me know and I will fix it
$ make testacc TESTS=TestAccEC2TransitGateway PKG=ec2
$ make testacc TESTS=TestAccEC2TransitGatewayDataSource PKG=ec2
$ make testacc TESTS=TestValidateIPv4OrIPv6 PKG=ec2

@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. size/XL Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. provider Pertains to the provider itself, rather than any interaction with AWS. service/ec2 Issues and PRs that pertain to the ec2 service. sweeper Pertains to changes to or issues with the sweeper. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Dec 12, 2021
@steweg steweg force-pushed the feature/tgw_connect2 branch from 2ab4204 to 1230717 Compare December 12, 2021 03:27
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome @steweg 👋

It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTING guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.

Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.

Thanks again, and welcome to the community! 😃

@steweg steweg force-pushed the feature/tgw_connect2 branch 5 times, most recently from 6295137 to e388913 Compare December 12, 2021 11:34
@justinretzolk justinretzolk added new-data-source Introduces a new data source. new-resource Introduces a new resource. enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Dec 14, 2021
@steweg steweg force-pushed the feature/tgw_connect2 branch 2 times, most recently from 20026fc to 2212ae8 Compare December 29, 2021 11:49
Copy link
Collaborator

@drewmullen drewmullen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@steweg This is really excellent work.

Couple of questions and some opportunities to improve user experience via validate. I'm not going to say the CIDR range validations are required but if they're "easy enough" to implement then it would improve user experience.

Again - really great work

internal/service/ec2/transit_gateway_data_source.go Outdated Show resolved Hide resolved
website/docs/r/ec2_transit_gateway.html.markdown Outdated Show resolved Hide resolved
internal/service/ec2/transit_gateway.go Outdated Show resolved Hide resolved
@steweg steweg force-pushed the feature/tgw_connect2 branch from 2212ae8 to 12a89a9 Compare February 9, 2022 20:08
Copy link
Collaborator

@drewmullen drewmullen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only 1 more thing IMO. good work

internal/service/ec2/validate_test.go Outdated Show resolved Hide resolved
@steweg steweg force-pushed the feature/tgw_connect2 branch 2 times, most recently from 181a5ca to 9d241e8 Compare February 9, 2022 21:21
@drewmullen
Copy link
Collaborator

@steweg am I doing anything wrong here?

$ make testacc TESTS=TestAccEC2TransitGateway PKG=ec2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccEC2TransitGateway' -timeout 180m
=== RUN   TestAccEC2TransitGatewayDataSource_serial
=== RUN   TestAccEC2TransitGatewayDataSource_serial/Connect
=== RUN   TestAccEC2TransitGatewayDataSource_serial/Connect/Filter
    transit_gateway_connect_data_source_test.go:15: Step 1/1 error: Error running pre-apply refresh: exit status 1

        Error: Unsupported block type

          on terraform_plugin_test.tf line 44, in data "aws_ec2_transit_gateway_connect" "test":
          44:   filter {

        Blocks of type "filter" are not expected here.
=== RUN   TestAccEC2TransitGatewayDataSource_serial/Connect/ID
    transit_gateway_connect_data_source_test.go:36: Step 1/1 error: Error running pre-apply refresh: exit status 1

        Error: Invalid or unknown key

          with data.aws_ec2_transit_gateway_connect.test,
          on terraform_plugin_test.tf line 44, in data "aws_ec2_transit_gateway_connect" "test":
          44:   id = aws_ec2_transit_gateway_connect.test.id

=== RUN   TestAccEC2TransitGatewayDataSource_serial/VpcAttachment
=== RUN   TestAccEC2TransitGatewayDataSource_serial/VpcAttachment/Filter

@steweg
Copy link
Contributor Author

steweg commented Feb 9, 2022

I think you have checkout old commit, which was having this bug. Can you double check?

@drewmullen
Copy link
Collaborator

I think you have checkout old commit, which was having this bug. Can you double check?

Ye. Correct, I had checkouted feature/tgw_connect and it looks like you made a 2nd branch feature/tgw_connect2. rerunning tests now on that branch

@drewmullen
Copy link
Collaborator

@steweg still running but getting a failure:

$ make testacc TESTS=TestAccEC2TransitGateway PKG=ec2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccEC2TransitGateway' -timeout 180m
=== RUN   TestAccEC2TransitGatewayDataSource_serial
=== RUN   TestAccEC2TransitGatewayDataSource_serial/Gateway
=== RUN   TestAccEC2TransitGatewayDataSource_serial/Gateway/Filter
=== RUN   TestAccEC2TransitGatewayDataSource_serial/Gateway/ID
=== RUN   TestAccEC2TransitGatewayDataSource_serial/VpnAttachment
=== RUN   TestAccEC2TransitGatewayDataSource_serial/VpnAttachment/Filter
=== RUN   TestAccEC2TransitGatewayDataSource_serial/VpnAttachment/TransitGatewayIdAndVpnConnectionId
=== RUN   TestAccEC2TransitGatewayDataSource_serial/Connect
=== RUN   TestAccEC2TransitGatewayDataSource_serial/Connect/Filter
=== RUN   TestAccEC2TransitGatewayDataSource_serial/Connect/ID
=== RUN   TestAccEC2TransitGatewayDataSource_serial/DxGatewayAttachment
=== RUN   TestAccEC2TransitGatewayDataSource_serial/DxGatewayAttachment/Filter
=== RUN   TestAccEC2TransitGatewayDataSource_serial/DxGatewayAttachment/TransitGatewayIdAndDxGatewayId
=== RUN   TestAccEC2TransitGatewayDataSource_serial/RouteTable
=== RUN   TestAccEC2TransitGatewayDataSource_serial/RouteTable/Filter
=== RUN   TestAccEC2TransitGatewayDataSource_serial/RouteTable/ID
=== RUN   TestAccEC2TransitGatewayDataSource_serial/RouteTables
=== RUN   TestAccEC2TransitGatewayDataSource_serial/RouteTables/basic
=== RUN   TestAccEC2TransitGatewayDataSource_serial/RouteTables/Filter
=== RUN   TestAccEC2TransitGatewayDataSource_serial/VpcAttachment
=== RUN   TestAccEC2TransitGatewayDataSource_serial/VpcAttachment/Filter
=== RUN   TestAccEC2TransitGatewayDataSource_serial/VpcAttachment/ID
=== RUN   TestAccEC2TransitGatewayDataSource_serial/ConnectPeer
=== RUN   TestAccEC2TransitGatewayDataSource_serial/ConnectPeer/Filter
=== RUN   TestAccEC2TransitGatewayDataSource_serial/ConnectPeer/ID
=== RUN   TestAccEC2TransitGatewayDataSource_serial/PeeringAttachment
=== RUN   TestAccEC2TransitGatewayDataSource_serial/PeeringAttachment/FilterDifferentAccount
    acctest.go:615: AWS_DEFAULT_REGION and AWS_ALTERNATE_REGION must be set to different values for acceptance tests
=== RUN   TestAccEC2TransitGatewayDataSource_serial/PeeringAttachment/IDSameAccount
    acctest.go:615: AWS_DEFAULT_REGION and AWS_ALTERNATE_REGION must be set to different values for acceptance tests
=== RUN   TestAccEC2TransitGatewayDataSource_serial/PeeringAttachment/IDDifferentAccount
    acctest.go:615: AWS_DEFAULT_REGION and AWS_ALTERNATE_REGION must be set to different values for acceptance tests
=== RUN   TestAccEC2TransitGatewayDataSource_serial/PeeringAttachment/Tags
    acctest.go:615: AWS_DEFAULT_REGION and AWS_ALTERNATE_REGION must be set to different values for acceptance tests
=== RUN   TestAccEC2TransitGatewayDataSource_serial/PeeringAttachment/FilterSameAccount
    acctest.go:615: AWS_DEFAULT_REGION and AWS_ALTERNATE_REGION must be set to different values for acceptance tests
--- FAIL: TestAccEC2TransitGatewayDataSource_serial (9340.88s)
    --- PASS: TestAccEC2TransitGatewayDataSource_serial/Gateway (504.16s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/Gateway/Filter (258.28s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/Gateway/ID (245.88s)
    --- PASS: TestAccEC2TransitGatewayDataSource_serial/VpnAttachment (1336.47s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/VpnAttachment/Filter (674.20s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/VpnAttachment/TransitGatewayIdAndVpnConnectionId (662.27s)
    --- PASS: TestAccEC2TransitGatewayDataSource_serial/Connect (955.74s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/Connect/Filter (479.69s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/Connect/ID (476.05s)
    --- PASS: TestAccEC2TransitGatewayDataSource_serial/DxGatewayAttachment (2451.09s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/DxGatewayAttachment/Filter (1249.60s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/DxGatewayAttachment/TransitGatewayIdAndDxGatewayId (1201.49s)
    --- PASS: TestAccEC2TransitGatewayDataSource_serial/RouteTable (732.42s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/RouteTable/Filter (376.72s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/RouteTable/ID (355.70s)
    --- PASS: TestAccEC2TransitGatewayDataSource_serial/RouteTables (703.76s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/RouteTables/basic (365.21s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/RouteTables/Filter (338.56s)
    --- PASS: TestAccEC2TransitGatewayDataSource_serial/VpcAttachment (976.72s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/VpcAttachment/Filter (544.76s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/VpcAttachment/ID (431.95s)
    --- PASS: TestAccEC2TransitGatewayDataSource_serial/ConnectPeer (1679.05s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/ConnectPeer/Filter (844.49s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/ConnectPeer/ID (834.56s)
    --- FAIL: TestAccEC2TransitGatewayDataSource_serial/PeeringAttachment (1.47s)
        --- FAIL: TestAccEC2TransitGatewayDataSource_serial/PeeringAttachment/FilterDifferentAccount (0.32s)
        --- FAIL: TestAccEC2TransitGatewayDataSource_serial/PeeringAttachment/IDSameAccount (0.29s)
        --- FAIL: TestAccEC2TransitGatewayDataSource_serial/PeeringAttachment/IDDifferentAccount (0.27s)
        --- FAIL: TestAccEC2TransitGatewayDataSource_serial/PeeringAttachment/Tags (0.27s)
        --- FAIL: TestAccEC2TransitGatewayDataSource_serial/PeeringAttachment/FilterSameAccount (0.32s)
=== RUN   TestAccEC2TransitGateway_serial
=== RUN   TestAccEC2TransitGateway_serial/RouteTablePropagation
=== RUN   TestAccEC2TransitGateway_serial/RouteTablePropagation/basic
=== RUN   TestAccEC2TransitGateway_serial/Gateway
=== RUN   TestAccEC2TransitGateway_serial/Gateway/disappears
=== RUN   TestAccEC2TransitGateway_serial/Gateway/AmazonSideASN

my goodness this takes a while! :D

@steweg
Copy link
Contributor Author

steweg commented Feb 10, 2022

Yeah, the problem is that those tests are running in serial, not in parallel. When I was trying those tests by myself I have adjusted the code to actually run just those tests in parallel and max 5 tests in parallel (there was some limitation on AWS, which prevented more for my account)., but those changes are excluded from the commit Here is actual list of tests that I have tested by myself:

New tests:
TestAccTransitGatewayDataSource_serial/Connect/Filter
TestAccTransitGatewayDataSource_serial/Connect/ID
TestAccTransitGatewayDataSource_serial/ConnectPeer/Filter
TestAccTransitGatewayDataSource_serial/ConnectPeer/ID
TestAccTransitGateway_serial/Connect/basic
TestAccTransitGateway_serial/Connect/disappears
TestAccTransitGateway_serial/Connect/Tags
TestAccTransitGateway_serial/Connect/TransitGatewayDefaultRouteTableAssociation
TestAccTransitGateway_serial/Connect/TransitGatewayDefaultRouteTableAssociationAndPropagationDisabled
TestAccTransitGateway_serial/Connect/TransitGatewayDefaultRouteTablePropagation
TestAccTransitGateway_serial/ConnectPeer/basic
TestAccTransitGateway_serial/ConnectPeer/disappears
TestAccTransitGateway_serial/ConnectPeer/BgpAsn
TestAccTransitGateway_serial/ConnectPeer/InsideCidrBlocks
TestAccTransitGateway_serial/ConnectPeer/Tags
TestAccTransitGateway_serial/ConnectPeer/TransitGatewayAddress
TestAccTransitGateway_serial/Gateway/CidrBlocks

Possible screw-ups/existing tests
TestAccTransitGatewayDataSource_serial/Gateway/Filter
TestAccTransitGatewayDataSource_serial/Gateway/ID
TestAccTransitGateway_serial/Gateway/basic
TestAccTransitGateway_serial/VpcAttachment/TransitGatewayDefaultRouteTableAssociation
TestAccTransitGateway_serial/VpcAttachment/TransitGatewayDefaultRouteTableAssociationAndPropagationDisabled
TestAccTransitGateway_serial/VpcAttachment/TransitGatewayDefaultRouteTablePropagation

Each test is almost 800s, so it really takes time.

For those that are failing. It doesn't seems to be problem of code or my commit, but rather AWS access (e.g. your account is not allowed for such operations, or the AWS region that you are using doesn't support such feature). Can you please cross-check with current master if those tests are working for you?

% make testacc TESTS=TestAccEC2TransitGateway_serial/Connect/basic PKG=ec2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccEC2TransitGateway_serial/Connect/basic'  -timeout 180m
=== RUN   TestAccEC2TransitGateway_serial
=== RUN   TestAccEC2TransitGateway_serial/ConnectPeer
=== RUN   TestAccEC2TransitGateway_serial/ConnectPeer/basic
=== RUN   TestAccEC2TransitGateway_serial/Connect
=== RUN   TestAccEC2TransitGateway_serial/Connect/basic
--- PASS: TestAccEC2TransitGateway_serial (1272.03s)
    --- PASS: TestAccEC2TransitGateway_serial/ConnectPeer (829.36s)
        --- PASS: TestAccEC2TransitGateway_serial/ConnectPeer/basic (829.36s)
    --- PASS: TestAccEC2TransitGateway_serial/Connect (442.67s)
        --- PASS: TestAccEC2TransitGateway_serial/Connect/basic (442.67s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/ec2	1276.446s
Acceptance test output:

% make testacc TESTS=TestAccEC2TransitGatewayDataSource_serial/Connect PKG=ec2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccEC2TransitGatewayDataSource_serial/Connect'  -timeout 180m
=== RUN   TestAccEC2TransitGatewayDataSource_serial
=== RUN   TestAccEC2TransitGatewayDataSource_serial/Connect
=== RUN   TestAccEC2TransitGatewayDataSource_serial/Connect/Filter
=== RUN   TestAccEC2TransitGatewayDataSource_serial/Connect/ID
=== RUN   TestAccEC2TransitGatewayDataSource_serial/ConnectPeer
=== RUN   TestAccEC2TransitGatewayDataSource_serial/ConnectPeer/ID
=== RUN   TestAccEC2TransitGatewayDataSource_serial/ConnectPeer/Filter
--- PASS: TestAccEC2TransitGatewayDataSource_serial (2622.91s)
    --- PASS: TestAccEC2TransitGatewayDataSource_serial/Connect (991.60s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/Connect/Filter (467.81s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/Connect/ID (523.79s)
    --- PASS: TestAccEC2TransitGatewayDataSource_serial/ConnectPeer (1631.31s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/ConnectPeer/ID (848.54s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/ConnectPeer/Filter (782.77s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/ec2	2632.103s
% make testacc TESTS=TestAccEC2TransitGateway_serial/ConnectPeer/basic PKG=ec2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccEC2TransitGateway_serial/ConnectPeer/basic'  -timeout 180m
=== RUN   TestAccEC2TransitGateway_serial
=== RUN   TestAccEC2TransitGateway_serial/ConnectPeer
=== RUN   TestAccEC2TransitGateway_serial/ConnectPeer/basic
--- PASS: TestAccEC2TransitGateway_serial (965.08s)
    --- PASS: TestAccEC2TransitGateway_serial/ConnectPeer (965.08s)
        --- PASS: TestAccEC2TransitGateway_serial/ConnectPeer/basic (965.08s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/ec2	968.957s
…ect_peer_id'.

Acceptance test output:

% make testacc TESTS=TestAccEC2TransitGatewayDataSource_serial/ConnectPeer PKG=ec2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccEC2TransitGatewayDataSource_serial/ConnectPeer'  -timeout 180m
=== RUN   TestAccEC2TransitGatewayDataSource_serial
=== RUN   TestAccEC2TransitGatewayDataSource_serial/ConnectPeer
=== RUN   TestAccEC2TransitGatewayDataSource_serial/ConnectPeer/Filter
=== RUN   TestAccEC2TransitGatewayDataSource_serial/ConnectPeer/ID
--- PASS: TestAccEC2TransitGatewayDataSource_serial (1597.37s)
    --- PASS: TestAccEC2TransitGatewayDataSource_serial/ConnectPeer (1597.37s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/ConnectPeer/Filter (815.37s)
        --- PASS: TestAccEC2TransitGatewayDataSource_serial/ConnectPeer/ID (782.00s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/ec2	1601.053s
…to handle "large" (4200000000–4294967294) ASNs.

Acceptance test output:

% make testacc TESTS=TestAccEC2TransitGateway_serial/ConnectPeer/BgpAsn PKG=ec2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccEC2TransitGateway_serial/ConnectPeer/BgpAsn'  -timeout 180m
=== RUN   TestAccEC2TransitGateway_serial
=== RUN   TestAccEC2TransitGateway_serial/ConnectPeer
=== RUN   TestAccEC2TransitGateway_serial/ConnectPeer/BgpAsn
--- PASS: TestAccEC2TransitGateway_serial (800.70s)
    --- PASS: TestAccEC2TransitGateway_serial/ConnectPeer (800.69s)
        --- PASS: TestAccEC2TransitGateway_serial/ConnectPeer/BgpAsn (800.69s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/ec2	804.916s
@github-actions github-actions bot added the verify Pertains to the verify package (i.e., provider-level validating, diff suppression, etc.) label Mar 1, 2022
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 TESTS=TestAccEC2TransitGateway_serial/Connect PKG=ec2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccEC2TransitGateway_serial/Connect'  -timeout 180m
=== RUN   TestAccEC2TransitGateway_serial
=== RUN   TestAccEC2TransitGateway_serial/ConnectPeer
=== RUN   TestAccEC2TransitGateway_serial/ConnectPeer/Tags
=== RUN   TestAccEC2TransitGateway_serial/ConnectPeer/TransitGatewayAddress
=== RUN   TestAccEC2TransitGateway_serial/ConnectPeer/basic
=== RUN   TestAccEC2TransitGateway_serial/ConnectPeer/disappears
=== RUN   TestAccEC2TransitGateway_serial/ConnectPeer/BgpAsn
=== RUN   TestAccEC2TransitGateway_serial/ConnectPeer/InsideCidrBlocks
=== RUN   TestAccEC2TransitGateway_serial/Connect
=== RUN   TestAccEC2TransitGateway_serial/Connect/TransitGatewayDefaultRouteTableAssociation
=== RUN   TestAccEC2TransitGateway_serial/Connect/TransitGatewayDefaultRouteTableAssociationAndPropagationDisabled
=== RUN   TestAccEC2TransitGateway_serial/Connect/TransitGatewayDefaultRouteTablePropagation
=== RUN   TestAccEC2TransitGateway_serial/Connect/basic
=== RUN   TestAccEC2TransitGateway_serial/Connect/disappears
=== RUN   TestAccEC2TransitGateway_serial/Connect/Tags
--- PASS: TestAccEC2TransitGateway_serial (7843.91s)
    --- PASS: TestAccEC2TransitGateway_serial/ConnectPeer (4904.07s)
        --- PASS: TestAccEC2TransitGateway_serial/ConnectPeer/Tags (879.97s)
        --- PASS: TestAccEC2TransitGateway_serial/ConnectPeer/TransitGatewayAddress (779.99s)
        --- PASS: TestAccEC2TransitGateway_serial/ConnectPeer/basic (782.07s)
        --- PASS: TestAccEC2TransitGateway_serial/ConnectPeer/disappears (830.77s)
        --- PASS: TestAccEC2TransitGateway_serial/ConnectPeer/BgpAsn (791.18s)
        --- PASS: TestAccEC2TransitGateway_serial/ConnectPeer/InsideCidrBlocks (840.09s)
    --- PASS: TestAccEC2TransitGateway_serial/Connect (2939.83s)
        --- PASS: TestAccEC2TransitGateway_serial/Connect/TransitGatewayDefaultRouteTableAssociation (712.92s)
        --- PASS: TestAccEC2TransitGateway_serial/Connect/TransitGatewayDefaultRouteTableAssociationAndPropagationDisabled (271.41s)
        --- PASS: TestAccEC2TransitGateway_serial/Connect/TransitGatewayDefaultRouteTablePropagation (454.51s)
        --- PASS: TestAccEC2TransitGateway_serial/Connect/basic (482.83s)
        --- PASS: TestAccEC2TransitGateway_serial/Connect/disappears (471.66s)
        --- PASS: TestAccEC2TransitGateway_serial/Connect/Tags (546.51s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/ec2	7847.465s

@ewbankkit
Copy link
Contributor

@steweg Thanks for the contribution 🎉 👏.

@ewbankkit
Copy link
Contributor

I'm going to merge this one and let nightly CI take care of running all the Transit Gateway acceptance tests.

@ewbankkit ewbankkit merged commit 8d7b251 into hashicorp:main Mar 2, 2022
@github-actions github-actions bot added this to the v4.4.0 milestone Mar 2, 2022
@github-actions
Copy link

github-actions bot commented Mar 4, 2022

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

@github-actions
Copy link

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 May 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. new-data-source Introduces a new data source. new-resource Introduces a new resource. provider Pertains to the provider itself, rather than any interaction with AWS. service/ec2 Issues and PRs that pertain to the ec2 service. size/XL Managed by automation to categorize the size of a PR. sweeper Pertains to changes to or issues with the sweeper. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. verify Pertains to the verify package (i.e., provider-level validating, diff suppression, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add or remove IPv4 or IPv6 CIDR blocks for Transit Gateway AWS Transit Gateway Connect Support
4 participants