Skip to content
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

F-aws db instance- support for UpgradeStorageConfig #36904

Merged
merged 14 commits into from
Aug 1, 2024

Conversation

nikhil-goenka
Copy link
Contributor

@nikhil-goenka nikhil-goenka commented Apr 14, 2024

Description

Relations

Closes #36617

References

Output from Acceptance Testing

% make testacc TESTS=TestAccRDSInstance_ReplicateSourceDB_upgrade PKG=rds
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.21.8 test ./internal/service/rds/... -v -count 1 -parallel 20 -run='TestAccRDSInstance_ReplicateSourceDB_upgrade'  -timeout 360m
=== RUN   TestAccRDSInstance_ReplicateSourceDB_upgrade
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_upgrade
=== CONT  TestAccRDSInstance_ReplicateSourceDB_upgrade
--- PASS: TestAccRDSInstance_ReplicateSourceDB_upgrade (1377.15s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/rds	1389.088s
% make testacc TESTS=TestAccRDSInstance_ReplicateSourceDB_basic PKG=rds  
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.21.8 test ./internal/service/rds/... -v -count 1 -parallel 20 -run='TestAccRDSInstance_ReplicateSourceDB_basic'  -timeout 360m
=== RUN   TestAccRDSInstance_ReplicateSourceDB_basic
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_basic
=== CONT  TestAccRDSInstance_ReplicateSourceDB_basic
--- PASS: TestAccRDSInstance_ReplicateSourceDB_basic (1640.77s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/rds	1660.159s

...

Copy link

Community Note

Voting for Prioritization

  • Please vote on this pull request by adding a 👍 reaction to the original post to help the community and maintainers prioritize this pull request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

For Submitters

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • For new resources and data sources, use skaff to generate scaffolding with comments detailing common expectations.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions bot added the size/M Managed by automation to categorize the size of a PR. label Apr 14, 2024
@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label Apr 14, 2024
@github-actions github-actions bot added tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/rds Issues and PRs that pertain to the rds service. labels Apr 14, 2024
@github-actions github-actions bot added the documentation Introduces or discusses updates to documentation. label Apr 14, 2024
@justinretzolk justinretzolk added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Apr 15, 2024
# Conflicts:
#	internal/service/rds/instance.go
@ewbankkit ewbankkit self-assigned this Aug 1, 2024
@github-actions github-actions bot added the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Aug 1, 2024
@ewbankkit ewbankkit requested a review from a team as a code owner August 1, 2024 16:05
Copy link
Contributor

@ewbankkit ewbankkit left a 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=TestAccRDSInstance_ReplicateSourceDB_upgradeStorageConfig\|TestAccRDSInstance_ReplicateSourceDB_basic' PKG=rds      
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.5 test ./internal/service/rds/... -v -count 1 -parallel 20  -run=TestAccRDSInstance_ReplicateSourceDB_upgradeStorageConfig\|TestAccRDSInstance_ReplicateSourceDB_basic -timeout 720m
=== RUN   TestAccRDSInstance_ReplicateSourceDB_basic
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_basic
=== RUN   TestAccRDSInstance_ReplicateSourceDB_upgradeStorageConfig
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_upgradeStorageConfig
=== CONT  TestAccRDSInstance_ReplicateSourceDB_basic
=== CONT  TestAccRDSInstance_ReplicateSourceDB_upgradeStorageConfig
--- PASS: TestAccRDSInstance_ReplicateSourceDB_upgradeStorageConfig (1455.51s)
--- PASS: TestAccRDSInstance_ReplicateSourceDB_basic (1647.70s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/rds	1652.806s
% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccRDSInstanceRoleAssociation_' PKG=rds
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.5 test ./internal/service/rds/... -v -count 1 -parallel 20  -run=TestAccRDSInstanceRoleAssociation_ -timeout 720m
=== RUN   TestAccRDSInstanceRoleAssociation_basic
=== PAUSE TestAccRDSInstanceRoleAssociation_basic
=== RUN   TestAccRDSInstanceRoleAssociation_disappears
=== PAUSE TestAccRDSInstanceRoleAssociation_disappears
=== CONT  TestAccRDSInstanceRoleAssociation_basic
=== CONT  TestAccRDSInstanceRoleAssociation_disappears
--- PASS: TestAccRDSInstanceRoleAssociation_disappears (997.52s)
--- PASS: TestAccRDSInstanceRoleAssociation_basic (1029.53s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/rds	1034.654s
% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccRDSOptionGroup_' PKG=rds ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.5 test ./internal/service/rds/... -v -count 1 -parallel 3  -run=TestAccRDSOptionGroup_ -timeout 720m
=== RUN   TestAccRDSOptionGroup_basic
=== PAUSE TestAccRDSOptionGroup_basic
=== RUN   TestAccRDSOptionGroup_disappears
=== PAUSE TestAccRDSOptionGroup_disappears
=== RUN   TestAccRDSOptionGroup_nameGenerated
=== PAUSE TestAccRDSOptionGroup_nameGenerated
=== RUN   TestAccRDSOptionGroup_namePrefix
=== PAUSE TestAccRDSOptionGroup_namePrefix
=== RUN   TestAccRDSOptionGroup_tags
=== PAUSE TestAccRDSOptionGroup_tags
=== RUN   TestAccRDSOptionGroup_timeoutBlock
=== PAUSE TestAccRDSOptionGroup_timeoutBlock
=== RUN   TestAccRDSOptionGroup_optionGroupDescription
=== PAUSE TestAccRDSOptionGroup_optionGroupDescription
=== RUN   TestAccRDSOptionGroup_basicDestroyWithInstance
=== PAUSE TestAccRDSOptionGroup_basicDestroyWithInstance
=== RUN   TestAccRDSOptionGroup_Option_optionSettings
=== PAUSE TestAccRDSOptionGroup_Option_optionSettings
=== RUN   TestAccRDSOptionGroup_OptionOptionSettings_iamRole
=== PAUSE TestAccRDSOptionGroup_OptionOptionSettings_iamRole
=== RUN   TestAccRDSOptionGroup_sqlServerOptionsUpdate
=== PAUSE TestAccRDSOptionGroup_sqlServerOptionsUpdate
=== RUN   TestAccRDSOptionGroup_oracleOptionsUpdate
=== PAUSE TestAccRDSOptionGroup_oracleOptionsUpdate
=== RUN   TestAccRDSOptionGroup_OptionOptionSettings_multipleNonDefault
=== PAUSE TestAccRDSOptionGroup_OptionOptionSettings_multipleNonDefault
=== RUN   TestAccRDSOptionGroup_multipleOptions
=== PAUSE TestAccRDSOptionGroup_multipleOptions
=== RUN   TestAccRDSOptionGroup_Tags_withOptions
=== PAUSE TestAccRDSOptionGroup_Tags_withOptions
=== RUN   TestAccRDSOptionGroup_badDiffs
=== PAUSE TestAccRDSOptionGroup_badDiffs
=== CONT  TestAccRDSOptionGroup_basic
=== CONT  TestAccRDSOptionGroup_Option_optionSettings
=== CONT  TestAccRDSOptionGroup_tags
--- PASS: TestAccRDSOptionGroup_basic (13.75s)
=== CONT  TestAccRDSOptionGroup_OptionOptionSettings_multipleNonDefault
--- PASS: TestAccRDSOptionGroup_Option_optionSettings (24.62s)
=== CONT  TestAccRDSOptionGroup_badDiffs
--- PASS: TestAccRDSOptionGroup_tags (30.01s)
=== CONT  TestAccRDSOptionGroup_Tags_withOptions
--- PASS: TestAccRDSOptionGroup_OptionOptionSettings_multipleNonDefault (21.20s)
=== CONT  TestAccRDSOptionGroup_multipleOptions
--- PASS: TestAccRDSOptionGroup_multipleOptions (12.78s)
=== CONT  TestAccRDSOptionGroup_sqlServerOptionsUpdate
--- PASS: TestAccRDSOptionGroup_badDiffs (25.98s)
=== CONT  TestAccRDSOptionGroup_oracleOptionsUpdate
--- PASS: TestAccRDSOptionGroup_Tags_withOptions (29.10s)
=== CONT  TestAccRDSOptionGroup_nameGenerated
--- PASS: TestAccRDSOptionGroup_sqlServerOptionsUpdate (20.33s)
=== CONT  TestAccRDSOptionGroup_namePrefix
--- PASS: TestAccRDSOptionGroup_nameGenerated (12.53s)
=== CONT  TestAccRDSOptionGroup_optionGroupDescription
--- PASS: TestAccRDSOptionGroup_oracleOptionsUpdate (24.54s)
=== CONT  TestAccRDSOptionGroup_basicDestroyWithInstance
--- PASS: TestAccRDSOptionGroup_namePrefix (12.44s)
=== CONT  TestAccRDSOptionGroup_OptionOptionSettings_iamRole
--- PASS: TestAccRDSOptionGroup_optionGroupDescription (12.75s)
=== CONT  TestAccRDSOptionGroup_disappears
--- PASS: TestAccRDSOptionGroup_disappears (10.27s)
=== CONT  TestAccRDSOptionGroup_timeoutBlock
--- PASS: TestAccRDSOptionGroup_OptionOptionSettings_iamRole (22.24s)
--- PASS: TestAccRDSOptionGroup_timeoutBlock (12.35s)
--- PASS: TestAccRDSOptionGroup_basicDestroyWithInstance (517.67s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/rds	597.762s

@ewbankkit
Copy link
Contributor

@nikhil-goenka Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit merged commit d85ce41 into hashicorp:main Aug 1, 2024
40 of 41 checks passed
@github-actions github-actions bot added this to the v5.61.0 milestone Aug 1, 2024
@github-actions github-actions bot removed the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Aug 2, 2024
Copy link

github-actions bot commented Aug 2, 2024

This functionality has been released in v5.61.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!

Copy link

github-actions bot commented Sep 1, 2024

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.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. service/rds Issues and PRs that pertain to the rds service. size/M Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement]: Add UpgradeStorageConfig to CreateDBInstanceReadReplica
3 participants