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.
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
Please list the resources as a list, for example:
Database Migration Service
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
# 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
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
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the crash.log
.
n/a
What should have happened?
n/a
What actually happened?
n/a
Please list the steps required to reproduce the issue, for example:
terraform apply
n/a
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
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
n/a
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
}
@mwarkentin thanks for the CF trick, it worked for us too! Really hope this ticket gets some love in the future
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. 👍
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!
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!
Most helpful comment
If you feel like getting hacky, this works for us: