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 datadog_monitor - Tags always change #182

Closed
shaulishaked opened this issue Apr 24, 2019 · 0 comments · Fixed by #214
Closed

Resource datadog_monitor - Tags always change #182

shaulishaked opened this issue Apr 24, 2019 · 0 comments · Fixed by #214

Comments

@shaulishaked
Copy link

Hi there,

Terraform Version

Terraform v0.11.13

  • provider.datadog v1.8.0

Affected Resource(s)

Tags in datadog_monitor

Expected Behavior

When no changes are done in Terraform datadog_monitor configuration,
terraform apply command should return empty changes.

Actual Behavior

Terraform will perform changes - changing the order of the tags in the monitors in which there are more than 1 tag.

Steps to Reproduce

  1. Create a monitor with multiple tags = []. For example: tags = ["this", "is", "a", "test"]
  2. Run terraform apply to create the monitor.
  3. Run terraform apply to see that there are Terraform changes:
    Terraform will perform the following actions:

~ module.<module_name>.datadog_monitor.<monitor_name>
tags.#: "this" => "is"
tags.2: "a" => "test"
tags.3: "is" => "a"
tags.4: "test" => "this"

platinummonkey referenced this issue in platinummonkey/terraform-provider-datadog May 21, 2019
…og/issues/182 as monitor tags order has no meaning and are not guaranteed to be in the same order
nmuesch added a commit that referenced this issue May 23, 2019
jbenais referenced this issue in jbenais/terraform-provider-datadog Aug 20, 2019
…og/issues/182 as monitor tags order has no meaning and are not guaranteed to be in the same order
jbenais pushed a commit to jbenais/terraform-provider-datadog that referenced this issue Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant