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

Terraform doesn't support event subscription in DMS #3057

Closed
Rahimovs opened this issue Jan 18, 2018 · 5 comments · Fixed by #7170
Closed

Terraform doesn't support event subscription in DMS #3057

Rahimovs opened this issue Jan 18, 2018 · 5 comments · Fixed by #7170
Assignees
Labels
new-resource Introduces a new resource.
Milestone

Comments

@Rahimovs
Copy link

Please add ability to add DMS event subscription (https://us-west-2.console.aws.amazon.com/dms/home?region=us-west-2#event-subscriptions:)

https://docs.aws.amazon.com/cli/latest/reference/dms/create-event-subscription.html
Terraform documentation checked:
https://www.terraform.io/docs/providers/aws/r/dms_replication_task.html

Hi there,

Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.

Terraform Version

Run terraform -v to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.

Terraform v0.10.2

Affected Resource(s)

Please list the resources as a list, for example:

  • opc_instance
  • opc_storage_volume

Database Migration Service

If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.

Terraform Configuration Files

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

n/a

Debug Output

Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.

n/a

Panic Output

If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the crash.log.

n/a

Expected Behavior

What should have happened?

n/a

Actual Behavior

What actually happened?

n/a

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform apply

n/a

Important Factoids

Are there anything atypical about your accounts that we should know? For example: Running in EC2 Classic? Custom version of OpenStack? Tight ACLs?

n/a

References

Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:

n/a

@bflad bflad added the new-resource Introduces a new resource. label Jan 19, 2018
@mwarkentin
Copy link
Contributor

If you feel like getting hacky, this works for us:

resource "aws_cloudformation_stack" "dms_event_subscription" {
  name = "${var.environment}-dms-event-subscription"

  template_body = <<STACK
AWSTemplateFormatVersion: 2010-09-09
Resources:
  ${upper(var.environment)}DMSES:
    Type: 'AWS::DMS::EventSubscription'
    Properties:
      SnsTopicArn: "${aws_sns_topic.dms_events.arn}"
STACK
}

@vide
Copy link

vide commented Jun 5, 2019

@mwarkentin thanks for the CF trick, it worked for us too! Really hope this ticket gets some love in the future

@bflad bflad self-assigned this Mar 17, 2020
@bflad bflad added this to the v2.58.0 milestone Apr 15, 2020
@bflad
Copy link
Contributor

bflad commented Apr 15, 2020

Support for a new aws_dms_event_subscription resource has been merged and will release with version 2.58.0 of the Terraform AWS Provider, later this week. Thanks to @hawknewton for the implementation. 👍

@ghost
Copy link

ghost commented Apr 17, 2020

This has been released in version 2.58.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 for triage. Thanks!

@ghost
Copy link

ghost commented May 15, 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 May 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-resource Introduces a new resource.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants