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

r/db_event_subscription - fix adding new event_categories to existing resource #21338

Closed

Conversation

kamilturek
Copy link
Collaborator

Community Note

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

Closes #21319. The regression was introduced by 23b49f6.

Output from acceptance testing:

$ make testacc TESTARGS="-run=TestAccRDSEventSubscription" PKG_NAME="internal/service/rds"                                                        х INT 1m 29s
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/rds -v -count 1 -parallel 20 -run=TestAccRDSEventSubscription -timeout 180m
=== RUN   TestAccRDSEventSubscription_basic
=== PAUSE TestAccRDSEventSubscription_basic
=== RUN   TestAccRDSEventSubscription_disappears
=== PAUSE TestAccRDSEventSubscription_disappears
=== RUN   TestAccRDSEventSubscription_Name_generated
=== PAUSE TestAccRDSEventSubscription_Name_generated
=== RUN   TestAccRDSEventSubscription_namePrefix
=== PAUSE TestAccRDSEventSubscription_namePrefix
=== RUN   TestAccRDSEventSubscription_tags
=== PAUSE TestAccRDSEventSubscription_tags
=== RUN   TestAccRDSEventSubscription_categories
=== PAUSE TestAccRDSEventSubscription_categories
=== RUN   TestAccRDSEventSubscription_sourceIDs
=== PAUSE TestAccRDSEventSubscription_sourceIDs
=== CONT  TestAccRDSEventSubscription_basic
=== CONT  TestAccRDSEventSubscription_disappears
=== CONT  TestAccRDSEventSubscription_sourceIDs
=== CONT  TestAccRDSEventSubscription_categories
=== CONT  TestAccRDSEventSubscription_Name_generated
=== CONT  TestAccRDSEventSubscription_namePrefix
=== CONT  TestAccRDSEventSubscription_tags
--- PASS: TestAccRDSEventSubscription_disappears (92.03s)
--- PASS: TestAccRDSEventSubscription_basic (100.60s)
--- PASS: TestAccRDSEventSubscription_Name_generated (108.90s)
--- PASS: TestAccRDSEventSubscription_namePrefix (109.00s)
--- PASS: TestAccRDSEventSubscription_tags (150.36s)
--- PASS: TestAccRDSEventSubscription_sourceIDs (157.10s)
--- PASS: TestAccRDSEventSubscription_categories (212.73s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/rds	218.511s

@github-actions github-actions bot added size/S Managed by automation to categorize the size of a PR. needs-triage Waiting for first response or review from a maintainer. service/rds Issues and PRs that pertain to the rds service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Oct 17, 2021
kamilturek and others added 18 commits October 17, 2021 22:43
added the following settings:
IncludeTransactionDetails
IncludePartitionValue
PartitionIncludeSchemaTable
IncludeTableAlterOperations
IncludeControlDetails
IncludeNullAndEmpty
added the new elements to the schema of the Kinesis settings
removed a "}," that should not have been removed :-)
Acceptance test output:

$ make testacc TESTARGS='-run=TestAccDMSEndpoint_kinesis' PKG_NAME=internal/service/dms
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/dms -v -count 1 -parallel 20 -run=TestAccDMSEndpoint_kinesis -timeout 180m
=== RUN   TestAccDMSEndpoint_kinesis
=== PAUSE TestAccDMSEndpoint_kinesis
=== CONT  TestAccDMSEndpoint_kinesis
--- PASS: TestAccDMSEndpoint_kinesis (182.20s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/dms	182.255s
Co-authored-by: Dirk Avery <31492422+YakDriver@users.noreply.github.com>
Bumps [integrations/github](https://github.com/integrations/terraform-provider-github) from 4.16.0 to 4.17.0.
- [Release notes](https://github.com/integrations/terraform-provider-github/releases)
- [Changelog](https://github.com/integrations/terraform-provider-github/blob/main/CHANGELOG.md)
- [Commits](integrations/terraform-provider-github@v4.16.0...v4.17.0)

---
updated-dependencies:
- dependency-name: integrations/github
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.41.2 to 1.41.4.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](aws/aws-sdk-go@v1.41.2...v1.41.4)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@ewbankkit ewbankkit added bug Addresses a defect in current functionality. and removed needs-triage Waiting for first response or review from a maintainer. labels Oct 18, 2021
@ewbankkit ewbankkit added the regression Pertains to a degraded workflow resulting from an upstream patch or internal enhancement. label Oct 18, 2021
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 🚀.

Commercial
% make testacc TESTARGS="-run=TestAccRDSEventSubscription_" PKG_NAME="internal/service/rds"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/rds -v -count 1 -parallel 20 -run=TestAccRDSEventSubscription_ -timeout 180m
=== RUN   TestAccRDSEventSubscription_basic
=== PAUSE TestAccRDSEventSubscription_basic
=== RUN   TestAccRDSEventSubscription_disappears
=== PAUSE TestAccRDSEventSubscription_disappears
=== RUN   TestAccRDSEventSubscription_Name_generated
=== PAUSE TestAccRDSEventSubscription_Name_generated
=== RUN   TestAccRDSEventSubscription_namePrefix
=== PAUSE TestAccRDSEventSubscription_namePrefix
=== RUN   TestAccRDSEventSubscription_tags
=== PAUSE TestAccRDSEventSubscription_tags
=== RUN   TestAccRDSEventSubscription_categories
=== PAUSE TestAccRDSEventSubscription_categories
=== RUN   TestAccRDSEventSubscription_sourceIDs
=== PAUSE TestAccRDSEventSubscription_sourceIDs
=== CONT  TestAccRDSEventSubscription_basic
=== CONT  TestAccRDSEventSubscription_tags
=== CONT  TestAccRDSEventSubscription_sourceIDs
=== CONT  TestAccRDSEventSubscription_disappears
=== CONT  TestAccRDSEventSubscription_categories
=== CONT  TestAccRDSEventSubscription_Name_generated
=== CONT  TestAccRDSEventSubscription_namePrefix
--- PASS: TestAccRDSEventSubscription_disappears (80.61s)
--- PASS: TestAccRDSEventSubscription_basic (85.29s)
--- PASS: TestAccRDSEventSubscription_namePrefix (85.35s)
--- PASS: TestAccRDSEventSubscription_Name_generated (85.42s)
--- PASS: TestAccRDSEventSubscription_sourceIDs (100.25s)
--- PASS: TestAccRDSEventSubscription_tags (111.55s)
--- PASS: TestAccRDSEventSubscription_categories (169.46s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/rds	172.520s
GovCloud
% make testacc TESTARGS="-run=TestAccRDSEventSubscription_" PKG_NAME="internal/service/rds"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/rds -v -count 1 -parallel 20 -run=TestAccRDSEventSubscription_ -timeout 180m
=== RUN   TestAccRDSEventSubscription_basic
=== PAUSE TestAccRDSEventSubscription_basic
=== RUN   TestAccRDSEventSubscription_disappears
=== PAUSE TestAccRDSEventSubscription_disappears
=== RUN   TestAccRDSEventSubscription_Name_generated
=== PAUSE TestAccRDSEventSubscription_Name_generated
=== RUN   TestAccRDSEventSubscription_namePrefix
=== PAUSE TestAccRDSEventSubscription_namePrefix
=== RUN   TestAccRDSEventSubscription_tags
=== PAUSE TestAccRDSEventSubscription_tags
=== RUN   TestAccRDSEventSubscription_categories
=== PAUSE TestAccRDSEventSubscription_categories
=== RUN   TestAccRDSEventSubscription_sourceIDs
=== PAUSE TestAccRDSEventSubscription_sourceIDs
=== CONT  TestAccRDSEventSubscription_basic
=== CONT  TestAccRDSEventSubscription_tags
=== CONT  TestAccRDSEventSubscription_disappears
=== CONT  TestAccRDSEventSubscription_Name_generated
=== CONT  TestAccRDSEventSubscription_sourceIDs
=== CONT  TestAccRDSEventSubscription_namePrefix
=== CONT  TestAccRDSEventSubscription_categories
--- PASS: TestAccRDSEventSubscription_disappears (81.52s)
--- PASS: TestAccRDSEventSubscription_namePrefix (89.18s)
--- PASS: TestAccRDSEventSubscription_Name_generated (89.31s)
--- PASS: TestAccRDSEventSubscription_basic (89.33s)
--- PASS: TestAccRDSEventSubscription_sourceIDs (104.76s)
--- PASS: TestAccRDSEventSubscription_tags (117.32s)
--- PASS: TestAccRDSEventSubscription_categories (179.20s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/rds	181.962s

@ewbankkit
Copy link
Contributor

@kamilturek Thanks for the contribution 🎉 👏.

ewbankkit and others added 10 commits October 18, 2021 10:12
…es/providerlint/github.com/aws/aws-sdk-go-1.41.4

build(deps): bump github.com/aws/aws-sdk-go from 1.41.2 to 1.41.4 in /providerlint
…m/infrastructure/repository/integrations/github-4.17.0

build(deps): bump integrations/github from 4.16.0 to 4.17.0 in /infrastructure/repository
fix: adjust generators directives with bool flags and add conditional logic for header template
…run-configurations

fix: Allow run_configurations to be set on Kinesis AnalyticsV2
provider: cn-northwest-1 (Ningxia) hostedZoneID
…scription_update

r/db_event_subscription - fix adding new `event_categories` to existing resource
…dd-setting

Add support for additional kinesis_settings to dms_endpoint
@ewbankkit ewbankkit closed this Oct 18, 2021
@github-actions github-actions bot added size/XL Managed by automation to categorize the size of a PR. and removed size/S Managed by automation to categorize the size of a PR. labels Oct 18, 2021
@kamilturek kamilturek deleted the b-aws_db_event_subscription_update branch February 11, 2022 16:56
@github-actions
Copy link

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 May 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. regression Pertains to a degraded workflow resulting from an upstream patch or internal enhancement. service/rds Issues and PRs that pertain to the rds 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fail to add new event_categories to an existing aws_db_event_subscription
8 participants