-
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
Migrate Outposts
resources to AWS SDK v2
#38909
Migrate Outposts
resources to AWS SDK v2
#38909
Conversation
Community NoteVoting for Prioritization
For Submitters
|
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 Additional details:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccOutposts' PKG=outposts
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.6 test ./internal/service/outposts/... -v -count 1 -parallel 20 -run=TestAccOutposts -timeout 360m
=== RUN TestAccOutpostsAssetDataSource_basic
=== PAUSE TestAccOutpostsAssetDataSource_basic
=== RUN TestAccOutpostsAssetsDataSource_id
outpost_assets_data_source_test.go:21: Environment variable OUTPOST_AVAIL is not set
--- SKIP: TestAccOutpostsAssetsDataSource_id (0.00s)
=== RUN TestAccOutpostsAssetsDataSource_statusFilter
outpost_assets_data_source_test.go:45: Environment variable OUTPOST_AVAIL is not set
--- SKIP: TestAccOutpostsAssetsDataSource_statusFilter (0.00s)
=== RUN TestAccOutpostsAssetsDataSource_hostFilter
outpost_assets_data_source_test.go:69: Environment variable OUTPOST_HOST_ID is not set
--- SKIP: TestAccOutpostsAssetsDataSource_hostFilter (0.00s)
=== RUN TestAccOutpostsOutpostDataSource_id
=== PAUSE TestAccOutpostsOutpostDataSource_id
=== RUN TestAccOutpostsOutpostDataSource_name
=== PAUSE TestAccOutpostsOutpostDataSource_name
=== RUN TestAccOutpostsOutpostDataSource_arn
=== PAUSE TestAccOutpostsOutpostDataSource_arn
=== RUN TestAccOutpostsOutpostDataSource_ownerID
=== PAUSE TestAccOutpostsOutpostDataSource_ownerID
=== RUN TestAccOutpostsOutpostInstanceTypeDataSource_instanceType
=== PAUSE TestAccOutpostsOutpostInstanceTypeDataSource_instanceType
=== RUN TestAccOutpostsOutpostInstanceTypeDataSource_preferredInstanceTypes
=== PAUSE TestAccOutpostsOutpostInstanceTypeDataSource_preferredInstanceTypes
=== RUN TestAccOutpostsOutpostInstanceTypesDataSource_basic
=== PAUSE TestAccOutpostsOutpostInstanceTypesDataSource_basic
=== RUN TestAccOutpostsDataSource_basic
=== PAUSE TestAccOutpostsDataSource_basic
=== RUN TestAccOutpostsSiteDataSource_id
=== PAUSE TestAccOutpostsSiteDataSource_id
=== RUN TestAccOutpostsSiteDataSource_name
=== PAUSE TestAccOutpostsSiteDataSource_name
=== RUN TestAccOutpostsSitesDataSource_basic
=== PAUSE TestAccOutpostsSitesDataSource_basic
=== CONT TestAccOutpostsAssetDataSource_basic
=== CONT TestAccOutpostsOutpostInstanceTypeDataSource_preferredInstanceTypes
=== CONT TestAccOutpostsOutpostDataSource_arn
=== CONT TestAccOutpostsSiteDataSource_name
=== CONT TestAccOutpostsDataSource_basic
=== CONT TestAccOutpostsOutpostDataSource_name
=== CONT TestAccOutpostsOutpostInstanceTypesDataSource_basic
=== CONT TestAccOutpostsOutpostInstanceTypeDataSource_instanceType
=== CONT TestAccOutpostsSiteDataSource_id
=== CONT TestAccOutpostsSitesDataSource_basic
=== CONT TestAccOutpostsOutpostDataSource_ownerID
=== CONT TestAccOutpostsOutpostDataSource_id
outpost_data_source_test.go:20: skipping since no Outposts found
--- SKIP: TestAccOutpostsOutpostDataSource_id (0.78s)
=== NAME TestAccOutpostsOutpostDataSource_ownerID
outpost_data_source_test.go:106: skipping since no Outposts found
--- SKIP: TestAccOutpostsOutpostDataSource_ownerID (0.84s)
=== NAME TestAccOutpostsOutpostInstanceTypeDataSource_preferredInstanceTypes
outpost_instance_type_data_source_test.go:40: skipping since no Outposts found
--- SKIP: TestAccOutpostsOutpostInstanceTypeDataSource_preferredInstanceTypes (0.84s)
=== NAME TestAccOutpostsDataSource_basic
outposts_data_source_test.go:21: skipping since no Outposts found
--- SKIP: TestAccOutpostsDataSource_basic (0.92s)
=== NAME TestAccOutpostsOutpostInstanceTypesDataSource_basic
outpost_instance_types_data_source_test.go:21: skipping since no Outposts found
--- SKIP: TestAccOutpostsOutpostInstanceTypesDataSource_basic (0.92s)
=== NAME TestAccOutpostsOutpostDataSource_arn
outpost_data_source_test.go:79: skipping since no Outposts found
--- SKIP: TestAccOutpostsOutpostDataSource_arn (5.82s)
=== NAME TestAccOutpostsSiteDataSource_id
sites_data_source_test.go:71: skipping since no Sites Outpost found
--- SKIP: TestAccOutpostsSiteDataSource_id (5.82s)
=== NAME TestAccOutpostsOutpostDataSource_name
outpost_data_source_test.go:52: skipping since no Outposts found
--- SKIP: TestAccOutpostsOutpostDataSource_name (5.83s)
=== NAME TestAccOutpostsOutpostInstanceTypeDataSource_instanceType
outpost_instance_type_data_source_test.go:20: skipping since no Outposts found
--- SKIP: TestAccOutpostsOutpostInstanceTypeDataSource_instanceType (5.91s)
=== NAME TestAccOutpostsSitesDataSource_basic
sites_data_source_test.go:71: skipping since no Sites Outpost found
--- SKIP: TestAccOutpostsSitesDataSource_basic (5.92s)
=== NAME TestAccOutpostsAssetDataSource_basic
outpost_asset_data_source_test.go:20: skipping since no Outposts found
--- SKIP: TestAccOutpostsAssetDataSource_basic (5.94s)
=== NAME TestAccOutpostsSiteDataSource_name
sites_data_source_test.go:71: skipping since no Sites Outpost found
--- SKIP: TestAccOutpostsSiteDataSource_name (5.99s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/outposts 11.016s
@DanielRieske Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.63.1 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. |
Description
This PR migrates the remaining
Outposts
data resources to AWS SDKv2.I cannot test these resources as I don't have Outpost instances within my account, will follow the same test strategy as in:
#38075 (comment)
Relations
Closes #36195
Relates #32976
References
Output from Acceptance Testing