-
Notifications
You must be signed in to change notification settings - Fork 9k
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
Migrate Outposts
resources to AWS SDK V2
#38075
Open
DanielRieske
wants to merge
32
commits into
hashicorp:main
Choose a base branch
from
DanielRieske:f/migrate-outposts-sdkv2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Migrate Outposts
resources to AWS SDK V2
#38075
DanielRieske
wants to merge
32
commits into
hashicorp:main
from
DanielRieske:f/migrate-outposts-sdkv2
+657
−721
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Community NoteVoting for Prioritization
For Submitters
|
% make testacc TESTARGS='-run=TestAccEC2Outposts' PKG=ec2 ACCTEST_PARALLELISM=4
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.4 test ./internal/service/ec2/... -v -count 1 -parallel 4 -run=TestAccEC2Outposts -timeout 360m
=== RUN TestAccEC2OutpostsCoIPPoolDataSource_filter
=== PAUSE TestAccEC2OutpostsCoIPPoolDataSource_filter
=== RUN TestAccEC2OutpostsCoIPPoolDataSource_id
=== PAUSE TestAccEC2OutpostsCoIPPoolDataSource_id
=== RUN TestAccEC2OutpostsCoIPPoolsDataSource_basic
=== PAUSE TestAccEC2OutpostsCoIPPoolsDataSource_basic
=== RUN TestAccEC2OutpostsCoIPPoolsDataSource_filter
=== PAUSE TestAccEC2OutpostsCoIPPoolsDataSource_filter
=== RUN TestAccEC2OutpostsLocalGatewayDataSource_basic
=== PAUSE TestAccEC2OutpostsLocalGatewayDataSource_basic
=== RUN TestAccEC2OutpostsLocalGatewayRouteTableDataSource_basic
=== PAUSE TestAccEC2OutpostsLocalGatewayRouteTableDataSource_basic
=== RUN TestAccEC2OutpostsLocalGatewayRouteTableDataSource_filter
=== PAUSE TestAccEC2OutpostsLocalGatewayRouteTableDataSource_filter
=== RUN TestAccEC2OutpostsLocalGatewayRouteTableDataSource_localGatewayID
=== PAUSE TestAccEC2OutpostsLocalGatewayRouteTableDataSource_localGatewayID
=== RUN TestAccEC2OutpostsLocalGatewayRouteTableDataSource_outpostARN
=== PAUSE TestAccEC2OutpostsLocalGatewayRouteTableDataSource_outpostARN
=== RUN TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_basic
=== PAUSE TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_basic
=== RUN TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_disappears
=== PAUSE TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_disappears
=== RUN TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_tags
=== PAUSE TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_tags
=== RUN TestAccEC2OutpostsLocalGatewayRouteTablesDataSource_basic
=== PAUSE TestAccEC2OutpostsLocalGatewayRouteTablesDataSource_basic
=== RUN TestAccEC2OutpostsLocalGatewayRouteTablesDataSource_filter
=== PAUSE TestAccEC2OutpostsLocalGatewayRouteTablesDataSource_filter
=== RUN TestAccEC2OutpostsLocalGatewayRoute_basic
=== PAUSE TestAccEC2OutpostsLocalGatewayRoute_basic
=== RUN TestAccEC2OutpostsLocalGatewayRoute_disappears
=== PAUSE TestAccEC2OutpostsLocalGatewayRoute_disappears
=== RUN TestAccEC2OutpostsLocalGatewayVirtualInterfaceDataSource_filter
=== PAUSE TestAccEC2OutpostsLocalGatewayVirtualInterfaceDataSource_filter
=== RUN TestAccEC2OutpostsLocalGatewayVirtualInterfaceDataSource_id
=== PAUSE TestAccEC2OutpostsLocalGatewayVirtualInterfaceDataSource_id
=== RUN TestAccEC2OutpostsLocalGatewayVirtualInterfaceDataSource_tags
=== PAUSE TestAccEC2OutpostsLocalGatewayVirtualInterfaceDataSource_tags
=== RUN TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupDataSource_filter
=== PAUSE TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupDataSource_filter
=== RUN TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupDataSource_localGatewayID
=== PAUSE TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupDataSource_localGatewayID
=== RUN TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupDataSource_tags
=== PAUSE TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupDataSource_tags
=== RUN TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_basic
=== PAUSE TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_basic
=== RUN TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_filter
=== PAUSE TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_filter
=== RUN TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_tags
=== PAUSE TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_tags
=== RUN TestAccEC2OutpostsLocalGatewaysDataSource_basic
=== PAUSE TestAccEC2OutpostsLocalGatewaysDataSource_basic
=== CONT TestAccEC2OutpostsCoIPPoolDataSource_filter
=== CONT TestAccEC2OutpostsLocalGatewayRouteTablesDataSource_filter
=== CONT TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupDataSource_localGatewayID
=== CONT TestAccEC2OutpostsLocalGatewayVirtualInterfaceDataSource_id
=== NAME TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupDataSource_localGatewayID
outposts_local_gateway_virtual_interface_group_data_source_test.go:43: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupDataSource_localGatewayID (0.82s)
=== CONT TestAccEC2OutpostsLocalGatewaysDataSource_basic
=== NAME TestAccEC2OutpostsLocalGatewayVirtualInterfaceDataSource_id
outposts_local_gateway_virtual_interface_data_source_test.go:47: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayVirtualInterfaceDataSource_id (0.82s)
=== CONT TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_tags
=== NAME TestAccEC2OutpostsCoIPPoolDataSource_filter
outposts_coip_pool_data_source_test.go:20: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsCoIPPoolDataSource_filter (0.88s)
=== CONT TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_filter
=== NAME TestAccEC2OutpostsLocalGatewayRouteTablesDataSource_filter
outposts_local_gateway_route_tables_data_source_test.go:38: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayRouteTablesDataSource_filter (0.91s)
=== CONT TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_basic
=== NAME TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_tags
outposts_local_gateway_virtual_interface_groups_data_source_test.go:62: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_tags (0.17s)
=== CONT TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupDataSource_tags
=== NAME TestAccEC2OutpostsLocalGatewaysDataSource_basic
outposts_local_gateways_data_source_test.go:19: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewaysDataSource_basic (0.17s)
=== CONT TestAccEC2OutpostsLocalGatewayRoute_disappears
=== NAME TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_filter
outposts_local_gateway_virtual_interface_groups_data_source_test.go:41: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_filter (0.15s)
=== CONT TestAccEC2OutpostsLocalGatewayVirtualInterfaceDataSource_filter
=== NAME TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_basic
outposts_local_gateway_virtual_interface_groups_data_source_test.go:21: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_basic (0.16s)
=== CONT TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupDataSource_filter
=== NAME TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupDataSource_tags
outposts_local_gateway_virtual_interface_group_data_source_test.go:66: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupDataSource_tags (0.16s)
=== CONT TestAccEC2OutpostsLocalGatewayRouteTableDataSource_localGatewayID
=== NAME TestAccEC2OutpostsLocalGatewayRoute_disappears
outposts_local_gateway_route_test.go:60: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayRoute_disappears (0.16s)
=== CONT TestAccEC2OutpostsLocalGatewayRouteTablesDataSource_basic
=== NAME TestAccEC2OutpostsLocalGatewayVirtualInterfaceDataSource_filter
outposts_local_gateway_virtual_interface_data_source_test.go:22: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayVirtualInterfaceDataSource_filter (0.15s)
=== CONT TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_tags
=== NAME TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupDataSource_filter
outposts_local_gateway_virtual_interface_group_data_source_test.go:22: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupDataSource_filter (0.18s)
=== CONT TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_disappears
=== NAME TestAccEC2OutpostsLocalGatewayRouteTablesDataSource_basic
outposts_local_gateway_route_tables_data_source_test.go:19: skipping since no Outposts found
=== NAME TestAccEC2OutpostsLocalGatewayRouteTableDataSource_localGatewayID
outposts_local_gateway_route_table_data_source_test.go:64: skipping since no Outposts found
=== CONT TestAccEC2OutpostsLocalGatewayRouteTableDataSource_outpostARN
--- SKIP: TestAccEC2OutpostsLocalGatewayRouteTablesDataSource_basic (0.18s)
--- SKIP: TestAccEC2OutpostsLocalGatewayRouteTableDataSource_localGatewayID (0.18s)
=== CONT TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_basic
=== NAME TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_tags
outposts_local_gateway_route_table_vpc_association_test.go:82: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_tags (0.19s)
=== CONT TestAccEC2OutpostsLocalGatewayDataSource_basic
=== NAME TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_disappears
outposts_local_gateway_route_table_vpc_association_test.go:59: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_disappears (0.14s)
=== CONT TestAccEC2OutpostsLocalGatewayRouteTableDataSource_filter
=== NAME TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_basic
outposts_local_gateway_route_table_vpc_association_test.go:29: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_basic (0.15s)
=== CONT TestAccEC2OutpostsLocalGatewayRouteTableDataSource_basic
=== NAME TestAccEC2OutpostsLocalGatewayRouteTableDataSource_outpostARN
outposts_local_gateway_route_table_data_source_test.go:86: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayRouteTableDataSource_outpostARN (0.15s)
=== CONT TestAccEC2OutpostsLocalGatewayVirtualInterfaceDataSource_tags
=== NAME TestAccEC2OutpostsLocalGatewayDataSource_basic
outposts_local_gateway_data_source_test.go:20: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayDataSource_basic (0.15s)
=== CONT TestAccEC2OutpostsCoIPPoolsDataSource_basic
=== NAME TestAccEC2OutpostsLocalGatewayRouteTableDataSource_filter
outposts_local_gateway_route_table_data_source_test.go:42: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayRouteTableDataSource_filter (0.15s)
=== CONT TestAccEC2OutpostsCoIPPoolsDataSource_filter
=== NAME TestAccEC2OutpostsLocalGatewayRouteTableDataSource_basic
outposts_local_gateway_route_table_data_source_test.go:20: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayRouteTableDataSource_basic (0.16s)
=== CONT TestAccEC2OutpostsLocalGatewayRoute_basic
=== NAME TestAccEC2OutpostsLocalGatewayVirtualInterfaceDataSource_tags
outposts_local_gateway_virtual_interface_data_source_test.go:74: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayVirtualInterfaceDataSource_tags (0.18s)
=== CONT TestAccEC2OutpostsCoIPPoolDataSource_id
=== NAME TestAccEC2OutpostsCoIPPoolsDataSource_basic
outposts_coip_pools_data_source_test.go:19: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsCoIPPoolsDataSource_basic (0.21s)
=== NAME TestAccEC2OutpostsCoIPPoolsDataSource_filter
outposts_coip_pools_data_source_test.go:38: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsCoIPPoolsDataSource_filter (0.23s)
=== NAME TestAccEC2OutpostsLocalGatewayRoute_basic
outposts_local_gateway_route_test.go:30: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayRoute_basic (0.20s)
=== NAME TestAccEC2OutpostsCoIPPoolDataSource_id
outposts_coip_pool_data_source_test.go:41: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsCoIPPoolDataSource_id (0.25s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 6.783s @DanielRieske We are going to work with AWS to try and get this tested against actual Outposts instances. |
…t maybe in other appends (staticcheck)'.
Sounds good, let me know if there is anything more I can do for this PR. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
aws-sdk-go-migration
Issues that are related to the providers migration to AWS SDK for Go v2.
external-maintainer
Contribution from a trusted external contributor.
generators
Relates to code generators.
prioritized
Part of the maintainer teams immediate focus. To be addressed within the current quarter.
service/ec2outposts
Issues and PRs that pertain to the ec2outposts service.
service/transitgateway
Issues and PRs that pertain to the transitgateway service.
size/XL
Managed by automation to categorize the size of a PR.
tests
PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR migrates the
Outposts
resources to AWS SDKv2.Note for the reviewer, that I wasn't able to run the tests as my account doesn't have any Outposts.
Relations
Closes #36196
References
Output from Acceptance Testing