-
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
add data ec2 transit gateway vpc attatchments #12409
add data ec2 transit gateway vpc attatchments #12409
Conversation
… list of all vpnc attachments matching criterias and not only one
…pointed by 'go fmt'
2f9ae0e
to
c2a13b0
Compare
c2a13b0
to
6785560
Compare
@Maarc-D Thanks for tackling this. |
Hello, I don't really know the better way and where are the guidelines about this :/ |
…o fit existing and just return list of ids
Hello, |
…tion to match changed impementation
Acceptance test output: % make testacc TESTS=TestAccEC2VPCPeeringConnection_basic PKG=ec2 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccEC2VPCPeeringConnection_basic' -timeout 180m === RUN TestAccEC2VPCPeeringConnection_basic === PAUSE TestAccEC2VPCPeeringConnection_basic === CONT TestAccEC2VPCPeeringConnection_basic --- PASS: TestAccEC2VPCPeeringConnection_basic (33.35s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 37.632s
Acceptance test output: % make testacc TESTS=TestAccEC2VPCPeeringConnection_ PKG=ec2 ACCTEST_PARALLELISM=3 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 3 -run='TestAccEC2VPCPeeringConnection_' -timeout 180m === RUN TestAccEC2VPCPeeringConnection_basic === PAUSE TestAccEC2VPCPeeringConnection_basic === RUN TestAccEC2VPCPeeringConnection_disappears === PAUSE TestAccEC2VPCPeeringConnection_disappears === RUN TestAccEC2VPCPeeringConnection_tags === PAUSE TestAccEC2VPCPeeringConnection_tags === RUN TestAccEC2VPCPeeringConnection_options === PAUSE TestAccEC2VPCPeeringConnection_options === RUN TestAccEC2VPCPeeringConnection_failedState === PAUSE TestAccEC2VPCPeeringConnection_failedState === RUN TestAccEC2VPCPeeringConnection_peerRegionAutoAccept === PAUSE TestAccEC2VPCPeeringConnection_peerRegionAutoAccept === RUN TestAccEC2VPCPeeringConnection_region === PAUSE TestAccEC2VPCPeeringConnection_region === RUN TestAccEC2VPCPeeringConnection_accept === PAUSE TestAccEC2VPCPeeringConnection_accept === RUN TestAccEC2VPCPeeringConnection_optionsNoAutoAccept === PAUSE TestAccEC2VPCPeeringConnection_optionsNoAutoAccept === CONT TestAccEC2VPCPeeringConnection_basic === CONT TestAccEC2VPCPeeringConnection_peerRegionAutoAccept === CONT TestAccEC2VPCPeeringConnection_options --- PASS: TestAccEC2VPCPeeringConnection_peerRegionAutoAccept (16.50s) === CONT TestAccEC2VPCPeeringConnection_failedState --- PASS: TestAccEC2VPCPeeringConnection_failedState (16.42s) === CONT TestAccEC2VPCPeeringConnection_tags --- PASS: TestAccEC2VPCPeeringConnection_basic (34.74s) === CONT TestAccEC2VPCPeeringConnection_optionsNoAutoAccept --- PASS: TestAccEC2VPCPeeringConnection_optionsNoAutoAccept (28.04s) === CONT TestAccEC2VPCPeeringConnection_region --- PASS: TestAccEC2VPCPeeringConnection_options (68.20s) === CONT TestAccEC2VPCPeeringConnection_disappears --- PASS: TestAccEC2VPCPeeringConnection_disappears (28.36s) === CONT TestAccEC2VPCPeeringConnection_accept --- PASS: TestAccEC2VPCPeeringConnection_region (34.07s) --- PASS: TestAccEC2VPCPeeringConnection_tags (77.26s) --- PASS: TestAccEC2VPCPeeringConnection_accept (74.92s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 178.607s
r/aws_vpc_peering_connection_options: Tidy up. Acceptance test output: % make testacc TESTARGS='-run=TestAccEC2VPCPeeringConnection_\|TestAccEC2VPCPeeringConnectionOptions_\|TestAccEC2VPCPeeringConnectionAccepter_' PKG=ec2 ACCTEST_PARALLELISM=3 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 3 -run=TestAccEC2VPCPeeringConnection_\|TestAccEC2VPCPeeringConnectionOptions_\|TestAccEC2VPCPeeringConnectionAccepter_ -timeout 180m === RUN TestAccEC2VPCPeeringConnectionAccepter_sameRegionSameAccount === PAUSE TestAccEC2VPCPeeringConnectionAccepter_sameRegionSameAccount === RUN TestAccEC2VPCPeeringConnectionAccepter_differentRegionSameAccount === PAUSE TestAccEC2VPCPeeringConnectionAccepter_differentRegionSameAccount === RUN TestAccEC2VPCPeeringConnectionAccepter_sameRegionDifferentAccount === PAUSE TestAccEC2VPCPeeringConnectionAccepter_sameRegionDifferentAccount === RUN TestAccEC2VPCPeeringConnectionAccepter_differentRegionDifferentAccount === PAUSE TestAccEC2VPCPeeringConnectionAccepter_differentRegionDifferentAccount === RUN TestAccEC2VPCPeeringConnectionOptions_basic === PAUSE TestAccEC2VPCPeeringConnectionOptions_basic === RUN TestAccEC2VPCPeeringConnectionOptions_differentRegionSameAccount === PAUSE TestAccEC2VPCPeeringConnectionOptions_differentRegionSameAccount === RUN TestAccEC2VPCPeeringConnectionOptions_sameRegionDifferentAccount === PAUSE TestAccEC2VPCPeeringConnectionOptions_sameRegionDifferentAccount === RUN TestAccEC2VPCPeeringConnection_basic === PAUSE TestAccEC2VPCPeeringConnection_basic === RUN TestAccEC2VPCPeeringConnection_disappears === PAUSE TestAccEC2VPCPeeringConnection_disappears === RUN TestAccEC2VPCPeeringConnection_tags === PAUSE TestAccEC2VPCPeeringConnection_tags === RUN TestAccEC2VPCPeeringConnection_options === PAUSE TestAccEC2VPCPeeringConnection_options === RUN TestAccEC2VPCPeeringConnection_failedState === PAUSE TestAccEC2VPCPeeringConnection_failedState === RUN TestAccEC2VPCPeeringConnection_peerRegionAutoAccept === PAUSE TestAccEC2VPCPeeringConnection_peerRegionAutoAccept === RUN TestAccEC2VPCPeeringConnection_region === PAUSE TestAccEC2VPCPeeringConnection_region === RUN TestAccEC2VPCPeeringConnection_accept === PAUSE TestAccEC2VPCPeeringConnection_accept === RUN TestAccEC2VPCPeeringConnection_optionsNoAutoAccept === PAUSE TestAccEC2VPCPeeringConnection_optionsNoAutoAccept === CONT TestAccEC2VPCPeeringConnectionAccepter_sameRegionSameAccount === CONT TestAccEC2VPCPeeringConnection_disappears === CONT TestAccEC2VPCPeeringConnectionOptions_basic --- PASS: TestAccEC2VPCPeeringConnection_disappears (30.57s) === CONT TestAccEC2VPCPeeringConnectionAccepter_sameRegionDifferentAccount acctest.go:599: 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: TestAccEC2VPCPeeringConnectionAccepter_sameRegionDifferentAccount (0.05s) === CONT TestAccEC2VPCPeeringConnectionAccepter_differentRegionDifferentAccount acctest.go:599: 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: TestAccEC2VPCPeeringConnectionAccepter_differentRegionDifferentAccount (0.05s) === CONT TestAccEC2VPCPeeringConnection_basic --- PASS: TestAccEC2VPCPeeringConnectionAccepter_sameRegionSameAccount (35.20s) === CONT TestAccEC2VPCPeeringConnectionOptions_sameRegionDifferentAccount acctest.go:599: 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: TestAccEC2VPCPeeringConnectionOptions_sameRegionDifferentAccount (0.05s) === CONT TestAccEC2VPCPeeringConnectionAccepter_differentRegionSameAccount --- PASS: TestAccEC2VPCPeeringConnection_basic (33.82s) === CONT TestAccEC2VPCPeeringConnectionOptions_differentRegionSameAccount --- PASS: TestAccEC2VPCPeeringConnectionOptions_basic (73.77s) === CONT TestAccEC2VPCPeeringConnection_options --- PASS: TestAccEC2VPCPeeringConnectionAccepter_differentRegionSameAccount (41.45s) === CONT TestAccEC2VPCPeeringConnection_peerRegionAutoAccept --- PASS: TestAccEC2VPCPeeringConnection_peerRegionAutoAccept (14.34s) === CONT TestAccEC2VPCPeeringConnection_failedState --- PASS: TestAccEC2VPCPeeringConnection_failedState (16.04s) === CONT TestAccEC2VPCPeeringConnection_optionsNoAutoAccept --- PASS: TestAccEC2VPCPeeringConnection_optionsNoAutoAccept (29.37s) === CONT TestAccEC2VPCPeeringConnection_region --- PASS: TestAccEC2VPCPeeringConnection_options (68.49s) === CONT TestAccEC2VPCPeeringConnection_tags --- PASS: TestAccEC2VPCPeeringConnectionOptions_differentRegionSameAccount (80.40s) === CONT TestAccEC2VPCPeeringConnection_accept --- PASS: TestAccEC2VPCPeeringConnection_region (37.49s) === CONT TestAccEC2VPCPeeringConnection_accept vpc_peering_connection_test.go:341: Step 2/4 error: Check failed: Check 2/2 error: aws_vpc_peering_connection.test: Attribute 'accept_status' expected "active", got "pending-acceptance" --- FAIL: TestAccEC2VPCPeeringConnection_accept (42.74s) --- PASS: TestAccEC2VPCPeeringConnection_tags (77.39s) FAIL FAIL github.com/hashicorp/terraform-provider-aws/internal/service/ec2 223.670s FAIL make: *** [testacc] Error 1
…t.DeepEqual'. Acceptance test output: % make testacc TESTARGS='-run=TestAccEC2VPCPeeringConnectionOptions_' PKG=ec2 ACCTEST_PARALLELISM=3 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 3 -run=TestAccEC2VPCPeeringConnectionOptions_ -timeout 180m === RUN TestAccEC2VPCPeeringConnectionOptions_basic === PAUSE TestAccEC2VPCPeeringConnectionOptions_basic === RUN TestAccEC2VPCPeeringConnectionOptions_differentRegionSameAccount === PAUSE TestAccEC2VPCPeeringConnectionOptions_differentRegionSameAccount === RUN TestAccEC2VPCPeeringConnectionOptions_sameRegionDifferentAccount === PAUSE TestAccEC2VPCPeeringConnectionOptions_sameRegionDifferentAccount === CONT TestAccEC2VPCPeeringConnectionOptions_basic === CONT TestAccEC2VPCPeeringConnectionOptions_sameRegionDifferentAccount === CONT TestAccEC2VPCPeeringConnectionOptions_differentRegionSameAccount === CONT TestAccEC2VPCPeeringConnectionOptions_sameRegionDifferentAccount acctest.go:599: 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: TestAccEC2VPCPeeringConnectionOptions_sameRegionDifferentAccount (1.47s) --- PASS: TestAccEC2VPCPeeringConnectionOptions_basic (69.69s) --- PASS: TestAccEC2VPCPeeringConnectionOptions_differentRegionSameAccount (113.94s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 117.605s
% make testacc TESTARGS='-run=TestAccEC2VPCPeeringConnection_' PKG=ec2 ACCTEST_PARALLELISM=3 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 3 -run=TestAccEC2VPCPeeringConnection_ -timeout 180m === RUN TestAccEC2VPCPeeringConnection_basic === PAUSE TestAccEC2VPCPeeringConnection_basic === RUN TestAccEC2VPCPeeringConnection_disappears === PAUSE TestAccEC2VPCPeeringConnection_disappears === RUN TestAccEC2VPCPeeringConnection_tags === PAUSE TestAccEC2VPCPeeringConnection_tags === RUN TestAccEC2VPCPeeringConnection_options === PAUSE TestAccEC2VPCPeeringConnection_options === RUN TestAccEC2VPCPeeringConnection_failedState === PAUSE TestAccEC2VPCPeeringConnection_failedState === RUN TestAccEC2VPCPeeringConnection_peerRegionAutoAccept === PAUSE TestAccEC2VPCPeeringConnection_peerRegionAutoAccept === RUN TestAccEC2VPCPeeringConnection_region === PAUSE TestAccEC2VPCPeeringConnection_region === RUN TestAccEC2VPCPeeringConnection_accept === PAUSE TestAccEC2VPCPeeringConnection_accept === RUN TestAccEC2VPCPeeringConnection_optionsNoAutoAccept === PAUSE TestAccEC2VPCPeeringConnection_optionsNoAutoAccept === CONT TestAccEC2VPCPeeringConnection_basic === CONT TestAccEC2VPCPeeringConnection_peerRegionAutoAccept === CONT TestAccEC2VPCPeeringConnection_options --- PASS: TestAccEC2VPCPeeringConnection_peerRegionAutoAccept (16.27s) === CONT TestAccEC2VPCPeeringConnection_failedState --- PASS: TestAccEC2VPCPeeringConnection_failedState (16.74s) === CONT TestAccEC2VPCPeeringConnection_accept --- PASS: TestAccEC2VPCPeeringConnection_basic (35.12s) === CONT TestAccEC2VPCPeeringConnection_optionsNoAutoAccept --- PASS: TestAccEC2VPCPeeringConnection_optionsNoAutoAccept (26.46s) === CONT TestAccEC2VPCPeeringConnection_tags --- PASS: TestAccEC2VPCPeeringConnection_options (68.15s) === CONT TestAccEC2VPCPeeringConnection_region --- PASS: TestAccEC2VPCPeeringConnection_region (32.27s) === CONT TestAccEC2VPCPeeringConnection_disappears --- PASS: TestAccEC2VPCPeeringConnection_accept (74.73s) --- PASS: TestAccEC2VPCPeeringConnection_disappears (27.15s) --- PASS: TestAccEC2VPCPeeringConnection_tags (75.10s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 140.355s % make testacc TESTARGS='-run=TestAccEC2VPCPeeringConnectionAccepter_' PKG=ec2 ACCTEST_PARALLELISM=3 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 3 -run=TestAccEC2VPCPeeringConnectionAccepter_ -timeout 180m === RUN TestAccEC2VPCPeeringConnectionAccepter_sameRegionSameAccount === PAUSE TestAccEC2VPCPeeringConnectionAccepter_sameRegionSameAccount === RUN TestAccEC2VPCPeeringConnectionAccepter_differentRegionSameAccount === PAUSE TestAccEC2VPCPeeringConnectionAccepter_differentRegionSameAccount === RUN TestAccEC2VPCPeeringConnectionAccepter_sameRegionDifferentAccount === PAUSE TestAccEC2VPCPeeringConnectionAccepter_sameRegionDifferentAccount === RUN TestAccEC2VPCPeeringConnectionAccepter_differentRegionDifferentAccount === PAUSE TestAccEC2VPCPeeringConnectionAccepter_differentRegionDifferentAccount === CONT TestAccEC2VPCPeeringConnectionAccepter_sameRegionSameAccount === CONT TestAccEC2VPCPeeringConnectionAccepter_sameRegionDifferentAccount === CONT TestAccEC2VPCPeeringConnectionAccepter_differentRegionSameAccount --- PASS: TestAccEC2VPCPeeringConnectionAccepter_sameRegionSameAccount (34.16s) === CONT TestAccEC2VPCPeeringConnectionAccepter_differentRegionDifferentAccount --- PASS: TestAccEC2VPCPeeringConnectionAccepter_sameRegionDifferentAccount (34.27s) --- PASS: TestAccEC2VPCPeeringConnectionAccepter_differentRegionSameAccount (44.26s) --- PASS: TestAccEC2VPCPeeringConnectionAccepter_differentRegionDifferentAccount (40.92s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 78.772s % make testacc TESTARGS='-run=TestAccEC2VPCPeeringConnectionOptions_' PKG=ec2 ACCTEST_PARALLELISM=3 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 3 -run=TestAccEC2VPCPeeringConnectionOptions_ -timeout 180m === RUN TestAccEC2VPCPeeringConnectionOptions_basic === PAUSE TestAccEC2VPCPeeringConnectionOptions_basic === RUN TestAccEC2VPCPeeringConnectionOptions_differentRegionSameAccount === PAUSE TestAccEC2VPCPeeringConnectionOptions_differentRegionSameAccount === RUN TestAccEC2VPCPeeringConnectionOptions_sameRegionDifferentAccount === PAUSE TestAccEC2VPCPeeringConnectionOptions_sameRegionDifferentAccount === CONT TestAccEC2VPCPeeringConnectionOptions_basic === CONT TestAccEC2VPCPeeringConnectionOptions_sameRegionDifferentAccount === CONT TestAccEC2VPCPeeringConnectionOptions_differentRegionSameAccount --- PASS: TestAccEC2VPCPeeringConnectionOptions_sameRegionDifferentAccount (56.44s) --- PASS: TestAccEC2VPCPeeringConnectionOptions_basic (69.69s) --- PASS: TestAccEC2VPCPeeringConnectionOptions_differentRegionSameAccount (85.41s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 89.065s
Acceptance test output: % make testacc TESTARGS='-run=TestAccEC2VPCPeeringConnectionDataSource_' PKG=ec2 ACCTEST_PARALLELISM=3 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 3 -run=TestAccEC2VPCPeeringConnectionDataSource_ -timeout 180m === RUN TestAccEC2VPCPeeringConnectionDataSource_cidrBlock === PAUSE TestAccEC2VPCPeeringConnectionDataSource_cidrBlock === RUN TestAccEC2VPCPeeringConnectionDataSource_id === PAUSE TestAccEC2VPCPeeringConnectionDataSource_id === RUN TestAccEC2VPCPeeringConnectionDataSource_peerCIDRBlock === PAUSE TestAccEC2VPCPeeringConnectionDataSource_peerCIDRBlock === RUN TestAccEC2VPCPeeringConnectionDataSource_peerVPCID === PAUSE TestAccEC2VPCPeeringConnectionDataSource_peerVPCID === RUN TestAccEC2VPCPeeringConnectionDataSource_vpcID === PAUSE TestAccEC2VPCPeeringConnectionDataSource_vpcID === CONT TestAccEC2VPCPeeringConnectionDataSource_cidrBlock === CONT TestAccEC2VPCPeeringConnectionDataSource_peerVPCID === CONT TestAccEC2VPCPeeringConnectionDataSource_peerCIDRBlock --- PASS: TestAccEC2VPCPeeringConnectionDataSource_peerVPCID (31.16s) === CONT TestAccEC2VPCPeeringConnectionDataSource_id --- PASS: TestAccEC2VPCPeeringConnectionDataSource_peerCIDRBlock (38.86s) === CONT TestAccEC2VPCPeeringConnectionDataSource_vpcID --- PASS: TestAccEC2VPCPeeringConnectionDataSource_cidrBlock (38.91s) --- PASS: TestAccEC2VPCPeeringConnectionDataSource_id (30.19s) --- PASS: TestAccEC2VPCPeeringConnectionDataSource_vpcID (29.77s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 72.197s
Acceptance test output: % make testacc TESTARGS='-run=TestAccEC2VPCPeeringConnectionsDataSource_' PKG=ec2 ACCTEST_PARALLELISM=3 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 3 -run=TestAccEC2VPCPeeringConnectionsDataSource_ -timeout 180m === RUN TestAccEC2VPCPeeringConnectionsDataSource_basic === PAUSE TestAccEC2VPCPeeringConnectionsDataSource_basic === RUN TestAccEC2VPCPeeringConnectionsDataSource_NoMatches === PAUSE TestAccEC2VPCPeeringConnectionsDataSource_NoMatches === CONT TestAccEC2VPCPeeringConnectionsDataSource_basic === CONT TestAccEC2VPCPeeringConnectionsDataSource_NoMatches --- PASS: TestAccEC2VPCPeeringConnectionsDataSource_NoMatches (14.59s) --- PASS: TestAccEC2VPCPeeringConnectionsDataSource_basic (30.41s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 34.278s
@Maarc-D, I'm really keen on this for selfish purposes. Do you need a hand resolving the conflict it can be reviewed and merged? |
…ges world. Acceptance test output: % make testacc TESTS=TestAccEC2TransitGatewayDataSource_serial/VpcAttachments 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/VpcAttachments' -timeout 180m === RUN TestAccEC2TransitGatewayDataSource_serial === RUN TestAccEC2TransitGatewayDataSource_serial/VpcAttachments === RUN TestAccEC2TransitGatewayDataSource_serial/VpcAttachments/Filter === PAUSE TestAccEC2TransitGatewayDataSource_serial/VpcAttachments/Filter === CONT TestAccEC2TransitGatewayDataSource_serial/VpcAttachments/Filter --- PASS: TestAccEC2TransitGatewayDataSource_serial (429.60s) --- PASS: TestAccEC2TransitGatewayDataSource_serial/VpcAttachments (0.00s) --- PASS: TestAccEC2TransitGatewayDataSource_serial/VpcAttachments/Filter (429.60s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 434.980s
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 🚀.
Commercial
% make testacc TESTS=TestAccEC2TransitGatewayDataSource_serial/VpcAttachments 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/VpcAttachments' -timeout 180m
=== RUN TestAccEC2TransitGatewayDataSource_serial
=== RUN TestAccEC2TransitGatewayDataSource_serial/VpcAttachments
=== RUN TestAccEC2TransitGatewayDataSource_serial/VpcAttachments/Filter
=== PAUSE TestAccEC2TransitGatewayDataSource_serial/VpcAttachments/Filter
=== CONT TestAccEC2TransitGatewayDataSource_serial/VpcAttachments/Filter
--- PASS: TestAccEC2TransitGatewayDataSource_serial (429.60s)
--- PASS: TestAccEC2TransitGatewayDataSource_serial/VpcAttachments (0.00s)
--- PASS: TestAccEC2TransitGatewayDataSource_serial/VpcAttachments/Filter (429.60s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 434.980s
GovCloud
% make testacc TESTS=TestAccEC2TransitGatewayDataSource_serial/VpcAttachments 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/VpcAttachments' -timeout 180m
=== RUN TestAccEC2TransitGatewayDataSource_serial
=== RUN TestAccEC2TransitGatewayDataSource_serial/VpcAttachments
=== RUN TestAccEC2TransitGatewayDataSource_serial/VpcAttachments/Filter
=== PAUSE TestAccEC2TransitGatewayDataSource_serial/VpcAttachments/Filter
=== CONT TestAccEC2TransitGatewayDataSource_serial/VpcAttachments/Filter
--- PASS: TestAccEC2TransitGatewayDataSource_serial (371.43s)
--- PASS: TestAccEC2TransitGatewayDataSource_serial/VpcAttachments (0.00s)
--- PASS: TestAccEC2TransitGatewayDataSource_serial/VpcAttachments/Filter (371.43s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 376.277s
…to VPC Peering eventual consistency check.
For the VPC Peering changes: % make testacc TESTARGS='-run=TestAccEC2VPCPeeringConnectionsDataSource_' PKG=ec2 ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 3 -run=TestAccEC2VPCPeeringConnectionsDataSource_ -timeout 180m
=== RUN TestAccEC2VPCPeeringConnectionsDataSource_basic
=== PAUSE TestAccEC2VPCPeeringConnectionsDataSource_basic
=== RUN TestAccEC2VPCPeeringConnectionsDataSource_NoMatches
=== PAUSE TestAccEC2VPCPeeringConnectionsDataSource_NoMatches
=== CONT TestAccEC2VPCPeeringConnectionsDataSource_basic
=== CONT TestAccEC2VPCPeeringConnectionsDataSource_NoMatches
--- PASS: TestAccEC2VPCPeeringConnectionsDataSource_NoMatches (12.16s)
--- PASS: TestAccEC2VPCPeeringConnectionsDataSource_basic (20.18s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 24.007s
% make testacc TESTARGS='-run=TestAccEC2VPCPeeringConnectionDataSource_' PKG=ec2 ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 3 -run=TestAccEC2VPCPeeringConnectionDataSource_ -timeout 180m
=== RUN TestAccEC2VPCPeeringConnectionDataSource_cidrBlock
=== PAUSE TestAccEC2VPCPeeringConnectionDataSource_cidrBlock
=== RUN TestAccEC2VPCPeeringConnectionDataSource_id
=== PAUSE TestAccEC2VPCPeeringConnectionDataSource_id
=== RUN TestAccEC2VPCPeeringConnectionDataSource_peerCIDRBlock
=== PAUSE TestAccEC2VPCPeeringConnectionDataSource_peerCIDRBlock
=== RUN TestAccEC2VPCPeeringConnectionDataSource_peerVPCID
=== PAUSE TestAccEC2VPCPeeringConnectionDataSource_peerVPCID
=== RUN TestAccEC2VPCPeeringConnectionDataSource_vpcID
=== PAUSE TestAccEC2VPCPeeringConnectionDataSource_vpcID
=== CONT TestAccEC2VPCPeeringConnectionDataSource_cidrBlock
=== CONT TestAccEC2VPCPeeringConnectionDataSource_vpcID
=== CONT TestAccEC2VPCPeeringConnectionDataSource_peerVPCID
--- PASS: TestAccEC2VPCPeeringConnectionDataSource_vpcID (19.36s)
=== CONT TestAccEC2VPCPeeringConnectionDataSource_peerCIDRBlock
--- PASS: TestAccEC2VPCPeeringConnectionDataSource_peerVPCID (19.44s)
=== CONT TestAccEC2VPCPeeringConnectionDataSource_id
--- PASS: TestAccEC2VPCPeeringConnectionDataSource_cidrBlock (22.03s)
--- PASS: TestAccEC2VPCPeeringConnectionDataSource_id (18.89s)
--- PASS: TestAccEC2VPCPeeringConnectionDataSource_peerCIDRBlock (76.08s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 99.028s
% make testacc TESTARGS='-run=TestAccEC2VPCPeeringConnection_' PKG=ec2 ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 2 -run=TestAccEC2VPCPeeringConnection_ -timeout 180m
=== RUN TestAccEC2VPCPeeringConnection_basic
=== PAUSE TestAccEC2VPCPeeringConnection_basic
=== RUN TestAccEC2VPCPeeringConnection_disappears
=== PAUSE TestAccEC2VPCPeeringConnection_disappears
=== RUN TestAccEC2VPCPeeringConnection_tags
=== PAUSE TestAccEC2VPCPeeringConnection_tags
=== RUN TestAccEC2VPCPeeringConnection_options
=== PAUSE TestAccEC2VPCPeeringConnection_options
=== RUN TestAccEC2VPCPeeringConnection_failedState
=== PAUSE TestAccEC2VPCPeeringConnection_failedState
=== RUN TestAccEC2VPCPeeringConnection_peerRegionAutoAccept
=== PAUSE TestAccEC2VPCPeeringConnection_peerRegionAutoAccept
=== RUN TestAccEC2VPCPeeringConnection_region
=== PAUSE TestAccEC2VPCPeeringConnection_region
=== RUN TestAccEC2VPCPeeringConnection_accept
=== PAUSE TestAccEC2VPCPeeringConnection_accept
=== RUN TestAccEC2VPCPeeringConnection_optionsNoAutoAccept
=== PAUSE TestAccEC2VPCPeeringConnection_optionsNoAutoAccept
=== CONT TestAccEC2VPCPeeringConnection_basic
=== CONT TestAccEC2VPCPeeringConnection_peerRegionAutoAccept
--- PASS: TestAccEC2VPCPeeringConnection_peerRegionAutoAccept (11.42s)
=== CONT TestAccEC2VPCPeeringConnection_options
--- PASS: TestAccEC2VPCPeeringConnection_basic (21.40s)
=== CONT TestAccEC2VPCPeeringConnection_failedState
--- PASS: TestAccEC2VPCPeeringConnection_failedState (11.63s)
=== CONT TestAccEC2VPCPeeringConnection_tags
--- PASS: TestAccEC2VPCPeeringConnection_options (44.03s)
=== CONT TestAccEC2VPCPeeringConnection_disappears
--- PASS: TestAccEC2VPCPeeringConnection_disappears (17.07s)
=== CONT TestAccEC2VPCPeeringConnection_accept
--- PASS: TestAccEC2VPCPeeringConnection_tags (46.71s)
=== CONT TestAccEC2VPCPeeringConnection_optionsNoAutoAccept
--- PASS: TestAccEC2VPCPeeringConnection_optionsNoAutoAccept (21.86s)
=== CONT TestAccEC2VPCPeeringConnection_region
--- PASS: TestAccEC2VPCPeeringConnection_accept (46.32s)
--- PASS: TestAccEC2VPCPeeringConnection_region (21.84s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 127.073s |
@Maarc-D Thanks for the contribution 🎉 👏. |
This functionality has been released in v4.3.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
Closes #12363.
Closes #15908.
Release note for CHANGELOG:
Output from acceptance testing: