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: set source type when updating categories #2833

Merged
merged 1 commit into from
Jan 11, 2018

Conversation

WhileLoop
Copy link
Contributor

@WhileLoop WhileLoop commented Jan 3, 2018

Resolves #1817

SourceType needs to be included when updating categories.

Test Results:

==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -run=TestAccAWSDBEventSubscription_categoryUpdate -timeout 120m
=== RUN   TestAccAWSDBEventSubscription_categoryUpdate
--- PASS: TestAccAWSDBEventSubscription_categoryUpdate (1228.67s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	1229.136s

@radeksimko radeksimko added the bug Addresses a defect in current functionality. label Jan 3, 2018
@t-pascal
Copy link

t-pascal commented Jan 3, 2018

Would love to see this as we are affected by #1817.

@bflad bflad added the service/rds Issues and PRs that pertain to the rds service. label Jan 11, 2018
@bflad bflad self-requested a review January 11, 2018 18:49
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. FYI as a general git best practice, its recommended you commit work to a non-master branch so your life is easier if the work is not accepted for whatever reason and so you can perform separate, concurrent updates of the code with less effort.

make testacc TEST=./aws TESTARGS='-run=TestAccAWSDBEventSubscription'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -run=TestAccAWSDBEventSubscription -timeout 120m
=== RUN   TestAccAWSDBEventSubscription_importBasic
--- PASS: TestAccAWSDBEventSubscription_importBasic (598.38s)
=== RUN   TestAccAWSDBEventSubscription_basicUpdate
--- PASS: TestAccAWSDBEventSubscription_basicUpdate (1306.87s)
=== RUN   TestAccAWSDBEventSubscription_withSourceIds
--- PASS: TestAccAWSDBEventSubscription_withSourceIds (716.69s)
=== RUN   TestAccAWSDBEventSubscription_categoryUpdate
--- PASS: TestAccAWSDBEventSubscription_categoryUpdate (960.41s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	3582.415s

@bflad bflad merged commit 35d011e into hashicorp:master Jan 11, 2018
@bflad bflad added this to the v1.7.0 milestone Jan 11, 2018
bflad added a commit that referenced this pull request Jan 11, 2018
@bflad
Copy link
Contributor

bflad commented Jan 12, 2018

This has been released in terraform-provider-aws version 1.7.0. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

jocgir added a commit to coveooss/terraform-provider-aws that referenced this pull request Jan 12, 2018
* commit 'b9284490eff637460fef663794a496d363e19f10': (190 commits)
  v1.7.0
  Update CHANGELOG.md
  d/aws_ssm_parameter: Support returning raw encrypted SecureString value. (hashicorp#2777)
  Bump aws-sdk-go to v1.12.60
  Update CHANGELOG.md
  Add acceptance test for import + randomization
  Removed reference to Core fixes
  Add instructions for vendor updates
  Use AWS example instead of Azure
  Update CHANGELOG for hashicorp#2833
  Update CHANGELOG.md
  r/lb_target_group: Fix validation rules for LB's healthcheck
  Update CHANGELOG for hashicorp#2911
  r/aws_guardduty_member: Provide given ID in error message when incorrect format
  Update CHANGELOG.md
  Update CHANGELOG with hashicorp#2888
  r/aws_guardduty_member: hashicorp#2911 PR review
  r/aws_cloudwatch_event_permission: hashicorp#2888 PR review
  Makefile: Fixed test outputs
  resource/aws_lb+aws_elb: Fix regression with undefined 'name'
  ...

# Conflicts:
#	.gitignore
#	aws/data_source_aws_s3_bucket_object.go
#	aws/resource_aws_elasticsearch_domain.go
@ghost
Copy link

ghost commented Apr 8, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 8, 2020
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. service/rds Issues and PRs that pertain to the rds service.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aws_db_event_subscription wont allow "all instances" and event categories without source_ids
5 participants