-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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 transfer
resources to AWS Go SDKv2
#37548
Migrate transfer
resources to AWS Go SDKv2
#37548
Conversation
Community NoteVoting for Prioritization
For Submitters
|
Acceptance test output: % make testacc TESTARGS='-run=TestAccTransfer_serial/SSHKey/disappears' PKG=transfer make: Verifying source code with gofmt... ==> Checking that code complies with gofmt requirements... TF_ACC=1 go1.22.2 test ./internal/service/transfer/... -v -count 1 -parallel 20 -run=TestAccTransfer_serial/SSHKey/disappears -timeout 360m === RUN TestAccTransfer_serial === PAUSE TestAccTransfer_serial === CONT TestAccTransfer_serial === RUN TestAccTransfer_serial/SSHKey === RUN TestAccTransfer_serial/SSHKey/disappears --- PASS: TestAccTransfer_serial (157.37s) --- PASS: TestAccTransfer_serial/SSHKey (157.37s) --- PASS: TestAccTransfer_serial/SSHKey/disappears (157.37s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/transfer 161.703s
# Conflicts: # internal/service/ec2/exports.go # internal/service/ec2/vpc_endpoint.go
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 🚀.
% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccTransfer_serial' PKG=transfer
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.2 test ./internal/service/transfer/... -v -count 1 -parallel 20 -run=TestAccTransfer_serial -timeout 720m
=== RUN TestAccTransfer_serial
=== PAUSE TestAccTransfer_serial
=== CONT TestAccTransfer_serial
=== RUN TestAccTransfer_serial/Access
=== RUN TestAccTransfer_serial/Access/disappears
=== RUN TestAccTransfer_serial/Access/EFSBasic
=== RUN TestAccTransfer_serial/Access/S3Basic
=== RUN TestAccTransfer_serial/Access/S3Policy
=== RUN TestAccTransfer_serial/Agreement
=== RUN TestAccTransfer_serial/Agreement/basic
=== RUN TestAccTransfer_serial/Agreement/disappears
=== RUN TestAccTransfer_serial/Agreement/tags
=== RUN TestAccTransfer_serial/Server
=== RUN TestAccTransfer_serial/Server/LambdaFunction
=== RUN TestAccTransfer_serial/Server/Protocols
=== RUN TestAccTransfer_serial/Server/ProtocolDetails
=== RUN TestAccTransfer_serial/Server/SecurityPolicy
=== RUN TestAccTransfer_serial/Server/Workflow
=== RUN TestAccTransfer_serial/Server/ForceDestroy
=== RUN TestAccTransfer_serial/Server/UpdateEndpointTypePublicToVPCAddressAllocationIDs
=== RUN TestAccTransfer_serial/Server/APIGatewayForceDestroy
=== RUN TestAccTransfer_serial/Server/DataSourceAPIGateway
=== RUN TestAccTransfer_serial/Server/DirectoryService
=== RUN TestAccTransfer_serial/Server/UpdateEndpointTypeVPCEndpointToVPC
=== RUN TestAccTransfer_serial/Server/APIGateway
=== RUN TestAccTransfer_serial/Server/DataSourceBasic
=== RUN TestAccTransfer_serial/Server/Domain
=== RUN TestAccTransfer_serial/Server/UpdateEndpointTypePublicToVPC
=== RUN TestAccTransfer_serial/Server/UpdateEndpointTypeVPCEndpointToVPCAddressAllocationIDs
=== RUN TestAccTransfer_serial/Server/disappears
=== RUN TestAccTransfer_serial/Server/SecurityPolicyFIPS
=== RUN TestAccTransfer_serial/Server/VPCAddressAllocationIDs
=== RUN TestAccTransfer_serial/Server/tags
=== RUN TestAccTransfer_serial/Server/DataSourceServiceManaged
=== RUN TestAccTransfer_serial/Server/HostKey
=== RUN TestAccTransfer_serial/Server/S3StorageOptions
=== RUN TestAccTransfer_serial/Server/SftpAuthenticationMethods
=== RUN TestAccTransfer_serial/Server/UpdateEndpointTypeVPCEndpointToVPCSecurityGroupIDs
=== RUN TestAccTransfer_serial/Server/UpdateEndpointTypeVPCToPublic
=== RUN TestAccTransfer_serial/Server/VPCAddressAllocationIDsSecurityGroupIDs
=== RUN TestAccTransfer_serial/Server/AuthenticationLoginBanners
=== RUN TestAccTransfer_serial/Server/VPCEndpointID
=== RUN TestAccTransfer_serial/Server/UpdateSftpAuthenticationMethods
=== RUN TestAccTransfer_serial/Server/StructuredLogDestinations
=== RUN TestAccTransfer_serial/Server/VPC
=== RUN TestAccTransfer_serial/Server/VPCSecurityGroupIDs
=== RUN TestAccTransfer_serial/Server/basic
=== RUN TestAccTransfer_serial/SSHKey
=== RUN TestAccTransfer_serial/SSHKey/basic
=== RUN TestAccTransfer_serial/Tag
=== RUN TestAccTransfer_serial/Tag/Value
=== RUN TestAccTransfer_serial/Tag/System
=== RUN TestAccTransfer_serial/Tag/basic
=== RUN TestAccTransfer_serial/Tag/disappears
=== RUN TestAccTransfer_serial/User
=== RUN TestAccTransfer_serial/User/Posix
=== RUN TestAccTransfer_serial/User/UserNameValidation
=== RUN TestAccTransfer_serial/User/basic
=== RUN TestAccTransfer_serial/User/disappears
=== RUN TestAccTransfer_serial/User/tags
=== RUN TestAccTransfer_serial/User/HomeDirectoryMappings
=== RUN TestAccTransfer_serial/User/ModifyWithOptions
--- PASS: TestAccTransfer_serial (12534.59s)
--- PASS: TestAccTransfer_serial/Access (3315.31s)
--- PASS: TestAccTransfer_serial/Access/disappears (782.78s)
--- PASS: TestAccTransfer_serial/Access/EFSBasic (853.35s)
--- PASS: TestAccTransfer_serial/Access/S3Basic (842.40s)
--- PASS: TestAccTransfer_serial/Access/S3Policy (836.77s)
--- PASS: TestAccTransfer_serial/Agreement (545.15s)
--- PASS: TestAccTransfer_serial/Agreement/basic (165.71s)
--- PASS: TestAccTransfer_serial/Agreement/disappears (187.10s)
--- PASS: TestAccTransfer_serial/Agreement/tags (173.98s)
--- PASS: TestAccTransfer_serial/Server (6627.91s)
--- PASS: TestAccTransfer_serial/Server/LambdaFunction (207.89s)
--- PASS: TestAccTransfer_serial/Server/Protocols (212.55s)
--- PASS: TestAccTransfer_serial/Server/ProtocolDetails (195.40s)
--- PASS: TestAccTransfer_serial/Server/SecurityPolicy (224.33s)
--- PASS: TestAccTransfer_serial/Server/Workflow (204.09s)
--- PASS: TestAccTransfer_serial/Server/ForceDestroy (190.58s)
--- PASS: TestAccTransfer_serial/Server/UpdateEndpointTypePublicToVPCAddressAllocationIDs (437.17s)
--- PASS: TestAccTransfer_serial/Server/APIGatewayForceDestroy (192.84s)
--- PASS: TestAccTransfer_serial/Server/DataSourceAPIGateway (189.54s)
--- PASS: TestAccTransfer_serial/Server/DirectoryService (827.60s)
--- PASS: TestAccTransfer_serial/Server/UpdateEndpointTypeVPCEndpointToVPC (101.68s)
--- PASS: TestAccTransfer_serial/Server/APIGateway (162.14s)
--- PASS: TestAccTransfer_serial/Server/DataSourceBasic (186.21s)
--- PASS: TestAccTransfer_serial/Server/Domain (187.55s)
--- PASS: TestAccTransfer_serial/Server/UpdateEndpointTypePublicToVPC (281.76s)
--- PASS: TestAccTransfer_serial/Server/UpdateEndpointTypeVPCEndpointToVPCAddressAllocationIDs (200.06s)
--- PASS: TestAccTransfer_serial/Server/disappears (186.34s)
--- PASS: TestAccTransfer_serial/Server/SecurityPolicyFIPS (195.09s)
--- PASS: TestAccTransfer_serial/Server/VPCAddressAllocationIDs (254.84s)
--- PASS: TestAccTransfer_serial/Server/tags (201.93s)
--- PASS: TestAccTransfer_serial/Server/DataSourceServiceManaged (187.89s)
--- PASS: TestAccTransfer_serial/Server/HostKey (157.95s)
--- PASS: TestAccTransfer_serial/Server/S3StorageOptions (198.20s)
--- PASS: TestAccTransfer_serial/Server/SftpAuthenticationMethods (194.13s)
--- PASS: TestAccTransfer_serial/Server/UpdateEndpointTypeVPCEndpointToVPCSecurityGroupIDs (80.43s)
--- PASS: TestAccTransfer_serial/Server/UpdateEndpointTypeVPCToPublic (216.67s)
--- PASS: TestAccTransfer_serial/Server/VPCAddressAllocationIDsSecurityGroupIDs (185.31s)
--- PASS: TestAccTransfer_serial/Server/AuthenticationLoginBanners (188.97s)
--- PASS: TestAccTransfer_serial/Server/VPCEndpointID (60.40s)
--- PASS: TestAccTransfer_serial/Server/UpdateSftpAuthenticationMethods (205.44s)
--- PASS: TestAccTransfer_serial/Server/StructuredLogDestinations (199.33s)
--- PASS: TestAccTransfer_serial/Server/VPC (128.26s)
--- PASS: TestAccTransfer_serial/Server/VPCSecurityGroupIDs (52.61s)
--- PASS: TestAccTransfer_serial/Server/basic (198.51s)
--- PASS: TestAccTransfer_serial/SSHKey (188.97s)
--- PASS: TestAccTransfer_serial/SSHKey/basic (188.97s)
--- PASS: TestAccTransfer_serial/Tag (760.76s)
--- PASS: TestAccTransfer_serial/Tag/Value (196.57s)
--- PASS: TestAccTransfer_serial/Tag/System (188.55s)
--- PASS: TestAccTransfer_serial/Tag/basic (188.37s)
--- PASS: TestAccTransfer_serial/Tag/disappears (187.27s)
--- PASS: TestAccTransfer_serial/User (1101.93s)
--- PASS: TestAccTransfer_serial/User/Posix (166.96s)
--- PASS: TestAccTransfer_serial/User/UserNameValidation (10.74s)
--- PASS: TestAccTransfer_serial/User/basic (188.97s)
--- PASS: TestAccTransfer_serial/User/disappears (157.55s)
--- PASS: TestAccTransfer_serial/User/tags (203.54s)
--- PASS: TestAccTransfer_serial/User/HomeDirectoryMappings (218.09s)
--- PASS: TestAccTransfer_serial/User/ModifyWithOptions (201.90s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/transfer 12539.143s
% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccTransferCertificate_\|TestAccTransferConnector_\|TestAccTransferProfile_\|TestAccTransferWorkflow_' PKG=transfer ACCTEST_PARALLELISM=4
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.2 test ./internal/service/transfer/... -v -count 1 -parallel 4 -run=TestAccTransferCertificate_\|TestAccTransferConnector_\|TestAccTransferProfile_\|TestAccTransferWorkflow_ -timeout 720m
=== RUN TestAccTransferCertificate_basic
=== PAUSE TestAccTransferCertificate_basic
=== RUN TestAccTransferCertificate_certificate
=== PAUSE TestAccTransferCertificate_certificate
=== RUN TestAccTransferCertificate_certificateChain
=== PAUSE TestAccTransferCertificate_certificateChain
=== RUN TestAccTransferCertificate_certificateKey
=== PAUSE TestAccTransferCertificate_certificateKey
=== RUN TestAccTransferCertificate_disappears
=== PAUSE TestAccTransferCertificate_disappears
=== RUN TestAccTransferCertificate_tags
=== PAUSE TestAccTransferCertificate_tags
=== RUN TestAccTransferCertificate_description
=== PAUSE TestAccTransferCertificate_description
=== RUN TestAccTransferConnector_basic
--- PASS: TestAccTransferConnector_basic (25.23s)
=== RUN TestAccTransferConnector_sftpConfig
--- PASS: TestAccTransferConnector_sftpConfig (14.84s)
=== RUN TestAccTransferConnector_securityPolicyName
--- PASS: TestAccTransferConnector_securityPolicyName (17.73s)
=== RUN TestAccTransferConnector_disappears
--- PASS: TestAccTransferConnector_disappears (10.67s)
=== RUN TestAccTransferConnector_tags
--- PASS: TestAccTransferConnector_tags (27.57s)
=== RUN TestAccTransferProfile_basic
=== PAUSE TestAccTransferProfile_basic
=== RUN TestAccTransferProfile_certificateIDs
=== PAUSE TestAccTransferProfile_certificateIDs
=== RUN TestAccTransferProfile_disappears
=== PAUSE TestAccTransferProfile_disappears
=== RUN TestAccTransferProfile_tags
=== PAUSE TestAccTransferProfile_tags
=== RUN TestAccTransferWorkflow_basic
--- PASS: TestAccTransferWorkflow_basic (11.65s)
=== RUN TestAccTransferWorkflow_onExceptionSteps
--- PASS: TestAccTransferWorkflow_onExceptionSteps (11.69s)
=== RUN TestAccTransferWorkflow_description
--- PASS: TestAccTransferWorkflow_description (11.89s)
=== RUN TestAccTransferWorkflow_tags
--- PASS: TestAccTransferWorkflow_tags (26.28s)
=== RUN TestAccTransferWorkflow_disappears
--- PASS: TestAccTransferWorkflow_disappears (10.00s)
=== RUN TestAccTransferWorkflow_allSteps
--- PASS: TestAccTransferWorkflow_allSteps (40.80s)
=== CONT TestAccTransferCertificate_basic
=== CONT TestAccTransferProfile_certificateIDs
=== CONT TestAccTransferProfile_tags
=== CONT TestAccTransferCertificate_disappears
--- PASS: TestAccTransferCertificate_disappears (10.65s)
=== CONT TestAccTransferCertificate_description
--- PASS: TestAccTransferCertificate_basic (12.81s)
=== CONT TestAccTransferProfile_basic
--- PASS: TestAccTransferProfile_certificateIDs (13.08s)
=== CONT TestAccTransferCertificate_certificateChain
--- PASS: TestAccTransferProfile_basic (12.21s)
=== CONT TestAccTransferCertificate_certificateKey
--- PASS: TestAccTransferCertificate_certificateChain (12.23s)
=== CONT TestAccTransferProfile_disappears
--- PASS: TestAccTransferProfile_tags (27.46s)
=== CONT TestAccTransferCertificate_tags
--- PASS: TestAccTransferCertificate_description (19.51s)
=== CONT TestAccTransferCertificate_certificate
--- PASS: TestAccTransferProfile_disappears (10.19s)
--- PASS: TestAccTransferCertificate_certificateKey (12.06s)
--- PASS: TestAccTransferCertificate_certificate (11.95s)
--- PASS: TestAccTransferCertificate_tags (26.24s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/transfer 257.974s
This functionality has been released in v5.53.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. |
Description
This PR migrates the
transfer
resources to AWS SDKv2.Relations
Closes #36216
References
Output from Acceptance Testing