-
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
TechDebt: Migrate apprunner
service to aws-sdk-go-v2
#34292
TechDebt: Migrate apprunner
service to aws-sdk-go-v2
#34292
Conversation
Community NoteVoting for Prioritization
For Submitters
|
# Conflicts: # go.mod # go.sum
% make testacc TESTARGS='-run=TestAccAppRunnerService_ImageRepository_basic' PKG=apprunner ACCTEST_PARALLELISM=2 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/apprunner/... -v -count 1 -parallel 2 -run=TestAccAppRunnerService_ImageRepository_basic -timeout 360m === RUN TestAccAppRunnerService_ImageRepository_basic === PAUSE TestAccAppRunnerService_ImageRepository_basic === CONT TestAccAppRunnerService_ImageRepository_basic --- PASS: TestAccAppRunnerService_ImageRepository_basic (191.85s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/apprunner 197.385s
…urce_directory` argument to support monorepos.
% make testacc TESTARGS='-run=TestAccAppRunnerService_ImageRepository_healthCheck' PKG=apprunner ACCTEST_PARALLELISM=2 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/apprunner/... -v -count 1 -parallel 2 -run=TestAccAppRunnerService_ImageRepository_healthCheck -timeout 360m === RUN TestAccAppRunnerService_ImageRepository_healthCheck === PAUSE TestAccAppRunnerService_ImageRepository_healthCheck === CONT TestAccAppRunnerService_ImageRepository_healthCheck --- PASS: TestAccAppRunnerService_ImageRepository_healthCheck (356.28s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/apprunner 361.648s
… private services.
% APPRUNNER_CUSTOM_DOMAIN=ewbankkit.com make testacc TESTARGS='-run=TestAccAppRunnerService_ImageRepository_networkConfiguration\|TestAccAppRunnerCustomDomainAssociation_basic' PKG=apprunner ACCTEST_PARALLELISM=2 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/apprunner/... -v -count 1 -parallel 2 -run=TestAccAppRunnerService_ImageRepository_networkConfiguration\|TestAccAppRunnerCustomDomainAssociation_basic -timeout 360m === RUN TestAccAppRunnerCustomDomainAssociation_basic === PAUSE TestAccAppRunnerCustomDomainAssociation_basic === RUN TestAccAppRunnerService_ImageRepository_networkConfiguration === PAUSE TestAccAppRunnerService_ImageRepository_networkConfiguration === CONT TestAccAppRunnerCustomDomainAssociation_basic === CONT TestAccAppRunnerService_ImageRepository_networkConfiguration --- PASS: TestAccAppRunnerCustomDomainAssociation_basic (190.00s) --- PASS: TestAccAppRunnerService_ImageRepository_networkConfiguration (488.30s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/apprunner 493.964s
… to ForceNew." This reverts commit b304c73.
…argument and `has_associated_service` attribute.
% make testacc TESTARGS='-run=TestAccAppRunnerAutoScalingConfigurationVersion_basic' PKG=apprunner ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/apprunner/... -v -count 1 -parallel 20 -run=TestAccAppRunnerAutoScalingConfigurationVersion_basic -timeout 360m === RUN TestAccAppRunnerAutoScalingConfigurationVersion_basic === PAUSE TestAccAppRunnerAutoScalingConfigurationVersion_basic === CONT TestAccAppRunnerAutoScalingConfigurationVersion_basic --- PASS: TestAccAppRunnerAutoScalingConfigurationVersion_basic (23.61s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/apprunner 29.181s
% make testacc TESTARGS='-run=TestAccAppRunnerDefaultAutoScalingConfigurationVersion_serial' PKG=apprunner ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/apprunner/... -v -count 1 -parallel 20 -run=TestAccAppRunnerDefaultAutoScalingConfigurationVersion_serial -timeout 360m === RUN TestAccAppRunnerDefaultAutoScalingConfigurationVersion_serial === PAUSE TestAccAppRunnerDefaultAutoScalingConfigurationVersion_serial === CONT TestAccAppRunnerDefaultAutoScalingConfigurationVersion_serial === RUN TestAccAppRunnerDefaultAutoScalingConfigurationVersion_serial/basic --- PASS: TestAccAppRunnerDefaultAutoScalingConfigurationVersion_serial (56.07s) --- PASS: TestAccAppRunnerDefaultAutoScalingConfigurationVersion_serial/basic (56.07s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/apprunner 61.601s
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=TestAccAppRunnerAutoScalingConfigurationVersion_' PKG=apprunner ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/apprunner/... -v -count 1 -parallel 2 -run=TestAccAppRunnerAutoScalingConfigurationVersion_ -timeout 360m
=== RUN TestAccAppRunnerAutoScalingConfigurationVersion_basic
=== PAUSE TestAccAppRunnerAutoScalingConfigurationVersion_basic
=== RUN TestAccAppRunnerAutoScalingConfigurationVersion_complex
=== PAUSE TestAccAppRunnerAutoScalingConfigurationVersion_complex
=== RUN TestAccAppRunnerAutoScalingConfigurationVersion_multipleVersions
=== PAUSE TestAccAppRunnerAutoScalingConfigurationVersion_multipleVersions
=== RUN TestAccAppRunnerAutoScalingConfigurationVersion_updateMultipleVersions
=== PAUSE TestAccAppRunnerAutoScalingConfigurationVersion_updateMultipleVersions
=== RUN TestAccAppRunnerAutoScalingConfigurationVersion_disappears
=== PAUSE TestAccAppRunnerAutoScalingConfigurationVersion_disappears
=== RUN TestAccAppRunnerAutoScalingConfigurationVersion_tags
=== PAUSE TestAccAppRunnerAutoScalingConfigurationVersion_tags
=== CONT TestAccAppRunnerAutoScalingConfigurationVersion_basic
=== CONT TestAccAppRunnerAutoScalingConfigurationVersion_updateMultipleVersions
--- PASS: TestAccAppRunnerAutoScalingConfigurationVersion_basic (24.75s)
=== CONT TestAccAppRunnerAutoScalingConfigurationVersion_multipleVersions
--- PASS: TestAccAppRunnerAutoScalingConfigurationVersion_updateMultipleVersions (48.24s)
=== CONT TestAccAppRunnerAutoScalingConfigurationVersion_tags
--- PASS: TestAccAppRunnerAutoScalingConfigurationVersion_multipleVersions (43.35s)
=== CONT TestAccAppRunnerAutoScalingConfigurationVersion_disappears
--- PASS: TestAccAppRunnerAutoScalingConfigurationVersion_disappears (17.45s)
=== CONT TestAccAppRunnerAutoScalingConfigurationVersion_complex
--- PASS: TestAccAppRunnerAutoScalingConfigurationVersion_tags (55.52s)
--- PASS: TestAccAppRunnerAutoScalingConfigurationVersion_complex (58.60s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/apprunner 149.424s
% make testacc TESTARGS='-run=TestAccAppRunnerConnection_' PKG=apprunner ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/apprunner/... -v -count 1 -parallel 2 -run=TestAccAppRunnerConnection_ -timeout 360m
=== RUN TestAccAppRunnerConnection_basic
=== PAUSE TestAccAppRunnerConnection_basic
=== RUN TestAccAppRunnerConnection_disappears
=== PAUSE TestAccAppRunnerConnection_disappears
=== RUN TestAccAppRunnerConnection_tags
=== PAUSE TestAccAppRunnerConnection_tags
=== CONT TestAccAppRunnerConnection_disappears
=== CONT TestAccAppRunnerConnection_tags
--- PASS: TestAccAppRunnerConnection_disappears (39.91s)
=== CONT TestAccAppRunnerConnection_basic
--- PASS: TestAccAppRunnerConnection_basic (48.35s)
--- PASS: TestAccAppRunnerConnection_tags (111.89s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/apprunner 125.470s
% APPRUNNER_CUSTOM_DOMAIN=ewbankkit.com make testacc TESTARGS='-run=TestAccAppRunnerCustomDomainAssociation_' PKG=apprunner ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/apprunner/... -v -count 1 -parallel 2 -run=TestAccAppRunnerCustomDomainAssociation_ -timeout 360m
=== RUN TestAccAppRunnerCustomDomainAssociation_basic
=== PAUSE TestAccAppRunnerCustomDomainAssociation_basic
=== RUN TestAccAppRunnerCustomDomainAssociation_disappears
=== PAUSE TestAccAppRunnerCustomDomainAssociation_disappears
=== CONT TestAccAppRunnerCustomDomainAssociation_basic
=== CONT TestAccAppRunnerCustomDomainAssociation_disappears
--- PASS: TestAccAppRunnerCustomDomainAssociation_disappears (248.66s)
--- PASS: TestAccAppRunnerCustomDomainAssociation_basic (279.96s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/apprunner 285.448s
% make testacc TESTARGS='-run=TestAccAppRunnerObservabilityConfiguration_' PKG=apprunner ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/apprunner/... -v -count 1 -parallel 2 -run=TestAccAppRunnerObservabilityConfiguration_ -timeout 360m
=== RUN TestAccAppRunnerObservabilityConfiguration_basic
=== PAUSE TestAccAppRunnerObservabilityConfiguration_basic
=== RUN TestAccAppRunnerObservabilityConfiguration_traceConfiguration
=== PAUSE TestAccAppRunnerObservabilityConfiguration_traceConfiguration
=== RUN TestAccAppRunnerObservabilityConfiguration_disappears
=== PAUSE TestAccAppRunnerObservabilityConfiguration_disappears
=== RUN TestAccAppRunnerObservabilityConfiguration_tags
=== PAUSE TestAccAppRunnerObservabilityConfiguration_tags
=== CONT TestAccAppRunnerObservabilityConfiguration_basic
=== CONT TestAccAppRunnerObservabilityConfiguration_disappears
--- PASS: TestAccAppRunnerObservabilityConfiguration_disappears (19.91s)
=== CONT TestAccAppRunnerObservabilityConfiguration_traceConfiguration
--- PASS: TestAccAppRunnerObservabilityConfiguration_basic (26.20s)
=== CONT TestAccAppRunnerObservabilityConfiguration_tags
--- PASS: TestAccAppRunnerObservabilityConfiguration_traceConfiguration (25.73s)
--- PASS: TestAccAppRunnerObservabilityConfiguration_tags (55.66s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/apprunner 87.866s
% make testacc TESTARGS='-run=TestAccAppRunnerVPCIngressConnection_' PKG=apprunner ACCTEST_PARALLELISM=1
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/apprunner/... -v -count 1 -parallel 1 -run=TestAccAppRunnerVPCIngressConnection_ -timeout 360m
=== RUN TestAccAppRunnerVPCIngressConnection_basic
=== PAUSE TestAccAppRunnerVPCIngressConnection_basic
=== RUN TestAccAppRunnerVPCIngressConnection_disappears
=== PAUSE TestAccAppRunnerVPCIngressConnection_disappears
=== RUN TestAccAppRunnerVPCIngressConnection_tags
=== PAUSE TestAccAppRunnerVPCIngressConnection_tags
=== CONT TestAccAppRunnerVPCIngressConnection_basic
--- PASS: TestAccAppRunnerVPCIngressConnection_basic (332.82s)
=== CONT TestAccAppRunnerVPCIngressConnection_tags
--- PASS: TestAccAppRunnerVPCIngressConnection_tags (410.40s)
=== CONT TestAccAppRunnerVPCIngressConnection_disappears
--- PASS: TestAccAppRunnerVPCIngressConnection_disappears (359.85s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/apprunner 1108.585s
% make testacc TESTARGS='-run=TestAccAppRunnerVPCConnector_' PKG=apprunner ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/apprunner/... -v -count 1 -parallel 2 -run=TestAccAppRunnerVPCConnector_ -timeout 360m
=== RUN TestAccAppRunnerVPCConnector_basic
=== PAUSE TestAccAppRunnerVPCConnector_basic
=== RUN TestAccAppRunnerVPCConnector_disappears
=== PAUSE TestAccAppRunnerVPCConnector_disappears
=== RUN TestAccAppRunnerVPCConnector_tags
=== PAUSE TestAccAppRunnerVPCConnector_tags
=== RUN TestAccAppRunnerVPCConnector_defaultTags
=== PAUSE TestAccAppRunnerVPCConnector_defaultTags
=== CONT TestAccAppRunnerVPCConnector_basic
=== CONT TestAccAppRunnerVPCConnector_defaultTags
--- PASS: TestAccAppRunnerVPCConnector_basic (34.20s)
=== CONT TestAccAppRunnerVPCConnector_tags
--- PASS: TestAccAppRunnerVPCConnector_defaultTags (67.40s)
=== CONT TestAccAppRunnerVPCConnector_disappears
--- PASS: TestAccAppRunnerVPCConnector_disappears (56.11s)
--- PASS: TestAccAppRunnerVPCConnector_tags (129.79s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/apprunner 169.768s
% make testacc TESTARGS='-run=TestAccAppRunnerService_' PKG=apprunner ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/apprunner/... -v -count 1 -parallel 2 -run=TestAccAppRunnerService_ -timeout 360m
=== RUN TestAccAppRunnerService_ImageRepository_basic
=== PAUSE TestAccAppRunnerService_ImageRepository_basic
=== RUN TestAccAppRunnerService_ImageRepository_autoScaling
=== PAUSE TestAccAppRunnerService_ImageRepository_autoScaling
=== RUN TestAccAppRunnerService_ImageRepository_encryption
=== PAUSE TestAccAppRunnerService_ImageRepository_encryption
=== RUN TestAccAppRunnerService_ImageRepository_healthCheck
=== PAUSE TestAccAppRunnerService_ImageRepository_healthCheck
=== RUN TestAccAppRunnerService_ImageRepository_instance_NoInstanceRole
=== PAUSE TestAccAppRunnerService_ImageRepository_instance_NoInstanceRole
=== RUN TestAccAppRunnerService_ImageRepository_instance_Update
=== PAUSE TestAccAppRunnerService_ImageRepository_instance_Update
=== RUN TestAccAppRunnerService_ImageRepository_instance_Update1
=== PAUSE TestAccAppRunnerService_ImageRepository_instance_Update1
=== RUN TestAccAppRunnerService_ImageRepository_networkConfiguration
=== PAUSE TestAccAppRunnerService_ImageRepository_networkConfiguration
=== RUN TestAccAppRunnerService_ImageRepository_observabilityConfiguration
=== PAUSE TestAccAppRunnerService_ImageRepository_observabilityConfiguration
=== RUN TestAccAppRunnerService_ImageRepository_runtimeEnvironmentVars
=== PAUSE TestAccAppRunnerService_ImageRepository_runtimeEnvironmentVars
=== RUN TestAccAppRunnerService_ImageRepository_runtimeEnvironmentSecrets
=== PAUSE TestAccAppRunnerService_ImageRepository_runtimeEnvironmentSecrets
=== RUN TestAccAppRunnerService_disappears
=== PAUSE TestAccAppRunnerService_disappears
=== RUN TestAccAppRunnerService_tags
=== PAUSE TestAccAppRunnerService_tags
=== CONT TestAccAppRunnerService_ImageRepository_basic
=== CONT TestAccAppRunnerService_ImageRepository_networkConfiguration
--- PASS: TestAccAppRunnerService_ImageRepository_basic (193.69s)
=== CONT TestAccAppRunnerService_ImageRepository_instance_NoInstanceRole
--- PASS: TestAccAppRunnerService_ImageRepository_instance_NoInstanceRole (191.68s)
=== CONT TestAccAppRunnerService_ImageRepository_instance_Update1
--- PASS: TestAccAppRunnerService_ImageRepository_networkConfiguration (468.31s)
=== CONT TestAccAppRunnerService_ImageRepository_instance_Update
--- PASS: TestAccAppRunnerService_ImageRepository_instance_Update1 (400.22s)
=== CONT TestAccAppRunnerService_ImageRepository_runtimeEnvironmentSecrets
--- PASS: TestAccAppRunnerService_ImageRepository_instance_Update (391.59s)
=== CONT TestAccAppRunnerService_tags
--- PASS: TestAccAppRunnerService_ImageRepository_runtimeEnvironmentSecrets (184.60s)
=== CONT TestAccAppRunnerService_disappears
--- PASS: TestAccAppRunnerService_tags (202.89s)
=== CONT TestAccAppRunnerService_ImageRepository_runtimeEnvironmentVars
--- PASS: TestAccAppRunnerService_disappears (178.58s)
=== CONT TestAccAppRunnerService_ImageRepository_encryption
--- PASS: TestAccAppRunnerService_ImageRepository_runtimeEnvironmentVars (197.90s)
=== CONT TestAccAppRunnerService_ImageRepository_healthCheck
--- PASS: TestAccAppRunnerService_ImageRepository_encryption (345.88s)
=== CONT TestAccAppRunnerService_ImageRepository_autoScaling
--- PASS: TestAccAppRunnerService_ImageRepository_healthCheck (365.57s)
=== CONT TestAccAppRunnerService_ImageRepository_observabilityConfiguration
--- PASS: TestAccAppRunnerService_ImageRepository_autoScaling (347.72s)
--- PASS: TestAccAppRunnerService_ImageRepository_observabilityConfiguration (371.54s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/apprunner 2004.039s
% make testacc TESTARGS='-run=TestAccAppRunnerDefaultAutoScalingConfigurationVersion_serial' PKG=apprunner
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/apprunner/... -v -count 1 -parallel 20 -run=TestAccAppRunnerDefaultAutoScalingConfigurationVersion_serial -timeout 360m
=== RUN TestAccAppRunnerDefaultAutoScalingConfigurationVersion_serial
=== PAUSE TestAccAppRunnerDefaultAutoScalingConfigurationVersion_serial
=== CONT TestAccAppRunnerDefaultAutoScalingConfigurationVersion_serial
=== RUN TestAccAppRunnerDefaultAutoScalingConfigurationVersion_serial/basic
--- PASS: TestAccAppRunnerDefaultAutoScalingConfigurationVersion_serial (56.07s)
--- PASS: TestAccAppRunnerDefaultAutoScalingConfigurationVersion_serial/basic (56.07s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/apprunner 61.601s
@brittandeyoung Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.27.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 pull request converts the
apprunner
service to use theaws-sdk-go-v2
.Relations
Relates #32976.
Closes #34192.
Closes #30216.
Closes #27861.
References
Output from Acceptance Testing