Skip to content
This repository has been archived by the owner on Nov 14, 2020. It is now read-only.

rabbitmq_queue -- doesn't support update #37

Closed
ganhuang opened this issue Sep 17, 2019 · 0 comments · Fixed by #38
Closed

rabbitmq_queue -- doesn't support update #37

ganhuang opened this issue Sep 17, 2019 · 0 comments · Fixed by #38

Comments

@ganhuang
Copy link

Terraform Version

Terraform v0.11.11

  • provider.rabbitmq v1.1.0

Affected Resource(s)

  • rabbitmq_queue

Terraform Configuration Files

resource "rabbitmq_queue" "rendition-queues"{
  count = "${length(var.rabbitmq_rendition_queue_settings)}"
  name  = "${lookup(var.rabbitmq_rendition_queue_settings[count.index], "queue_name")}"
  vhost = "/"
  settings {
    durable     = true
    auto_delete = false
    arguments_json   = <<ARGS
    {
      "x-max-priority":${lookup(var.rabbitmq_rendition_queue_settings[count.index], "max_priority")},
      "x-dead-letter-exchange":"xxxx",
      "x-dead-letter-routing-key" : "${lookup(var.rabbitmq_rendition_queue_settings[count.index], "queue_name")}_DLQ"
    }
ARGS
  }
}

Debug Output

terrafrom plan indicated that the resource will be updated once updating the arguments_json against the resource.

      settings.0.arguments_json: "HIDDEN"

Expected Behavior

What should have happened?

Actual Behavior

* rabbitmq_queue.rendition-queues.7: doesn't support update

Steps to Reproduce

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

  1. terraform apply
  2. update arguments_json for the resource
  3. terraform apply
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant