Terraform-provider-aws: Support AWS Chatbot

Created on 7 Mar 2020  路  6Comments  路  Source: hashicorp/terraform-provider-aws

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue 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 issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

AWS Just Released Support for Chatbot in Cloudformation

https://aws.amazon.com/about-aws/whats-new/2020/03/provision-aws-chatbot-configurations-aws-cloudformation/

Would be nice to gain this support in Terraform as well

New or Affected Resource(s)

N/A

Potential Terraform Configuration

resource "aws_chatbot_slack_channel_config" "slack" {
  config_name = ""
  iam_role_arn = ""
  logging_level = ""
  slack_channel_id =   ""
  slack_workspace_id = ""
  sns_topic_arn = "" 
}

References

enhancement needs-triage

Most helpful comment

AWS Go SDK still does not have support for Chatbot. There is an open issue from Oct 7, 2020 requesting to add Chatbot support to the AWS Go SDK. We as a community could have been better about opening this issue ourselves back in March, but here we are. As soon as this issue is complete, this terraform-provider-aws issue can begin work.

https://github.com/aws/aws-sdk-go/issues/3582

I would suggest going over there and +1 to add visibility.

All 6 comments

@e-moshaya Thanks for this.
The AWS Chatbot service is currently in beta and there is not yet support in the AWS Go SDK.

@e-moshaya Thanks for this.
The AWS Chatbot service is currently in beta and there is not yet support in the AWS Go SDK.

This is now GA, but there is not yet support in the AWS Go SDK.

They don't have an API yet either, but they do offer cloudformation support.

I've started work on a public module which wraps Cloudformation to enable configuration of chatbot slack channels in terraform: https://github.com/waveaccounting/terraform-aws-chatbot-slack-configuration

I've published an alpha release (github) which has been tested to work, hoping to release an official 1.0 soon if anyone wants to use it!

@mwarkentin Maybe this can serve as inspiration: https://github.com/panos--/terraform-aws-chatbot-slack -- uses the CloudFormation workaround, too.

I've written this module and use it to receive AWS Health alerts and CloudWatch Alarms in Slack.

Hello, there's any update about this???

AWS Go SDK still does not have support for Chatbot. There is an open issue from Oct 7, 2020 requesting to add Chatbot support to the AWS Go SDK. We as a community could have been better about opening this issue ourselves back in March, but here we are. As soon as this issue is complete, this terraform-provider-aws issue can begin work.

https://github.com/aws/aws-sdk-go/issues/3582

I would suggest going over there and +1 to add visibility.

Was this page helpful?
0 / 5 - 0 ratings