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

Resource: aws_iot_topic_rule does not support action type HTTP(S) #11940

Closed
rorysedgwick opened this issue Feb 6, 2020 · 1 comment · Fixed by #24395
Closed

Resource: aws_iot_topic_rule does not support action type HTTP(S) #11940

rorysedgwick opened this issue Feb 6, 2020 · 1 comment · Fixed by #24395
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/iot Issues and PRs that pertain to the iot service.

Comments

@rorysedgwick
Copy link

rorysedgwick commented Feb 6, 2020

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

Terraform v0.12.19
+ provider.aws v2.47.0

AWS IoT Core provides support for actions that forward messages to non-native services via HTTP(S).
The documentation suggests this is not a valid option for aws_iot_topic_rule configurations, which is confirmed by setting the parameters for a http action in the same syntax as for other action types.

New or Affected Resource(s)

  • aws_iot_topic_rule

Potential Terraform Configuration

resource "aws_iot_topic_rule" "rule" {
  name        = "MyRule"
  enabled     = true
  sql         = "SELECT * FROM 'topic/my_topic'"
  sql_version = "2015-10-08"

  sqs {
    queue_url  = aws_sqs_queue.test_queue.id
    role_arn   = aws_iam_role.role.arn
    use_base64 = false
  }

  http {
    url = myendpoint.com"
  }
}

Plan output:

Error: Unsupported block type

 on main.tf line 100, in resource "aws_iot_topic_rule" "rule":
 100:   http {

Blocks of type "http" are not expected here.

Is this a purposeful omission, or a case of the provider not yet implementing this functionality?

@rorysedgwick rorysedgwick added the enhancement Requests to existing resources that expand the functionality or scope. label Feb 6, 2020
@ghost ghost added the service/iot Issues and PRs that pertain to the iot service. label Feb 6, 2020
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Feb 6, 2020
@breathingdust breathingdust removed the needs-triage Waiting for first response or review from a maintainer. label Sep 22, 2021
@github-actions
Copy link

github-actions bot commented Jun 5, 2022

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 have found a problem that seems similar to this, 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 Jun 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/iot Issues and PRs that pertain to the iot service.
Projects
None yet
2 participants