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

[datadog_synthetics_global_variable] Remove drift on option argument #2768

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ecdatadog
Copy link

@ecdatadog ecdatadog commented Jan 15, 2025

When creating the resource

resource "datadog_synthetics_global_variable" "test_variable" {
  name        = "EXAMPLE_VARIABLE"
  description = "Description of the variable"
  tags        = ["foo:bar", "env:test"]
  value       = "variable-value"
}

the following drift was always present

Terraform will perform the following actions:

  # datadog_synthetics_global_variable.test_variable will be updated in-place
  ~ resource "datadog_synthetics_global_variable" "test_variable" {
        id               = "xxx"
        name             = "EXAMPLE_VARIABLE"
        tags             = [
            "foo:bar",
            "env:test",
        ]
        # (4 unchanged attributes hidden)

      - options {
          - totp_parameters {}
        }
    }

This PR removes this unwanted drift

Copy link
Contributor

@Drarig29 Drarig29 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants