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

Provider attempting to remove query metric #2408

Open
georgeopenshaw opened this issue May 16, 2024 · 0 comments
Open

Provider attempting to remove query metric #2408

georgeopenshaw opened this issue May 16, 2024 · 0 comments
Labels

Comments

@georgeopenshaw
Copy link

Datadog Terraform Provider Version

3.38.0

Terraform Version

1.7.4

What resources or data sources are affected?

resource "datadog_security_monitoring_rule"

Terraform Configuration Files

query {
    aggregation     = "new_value"
    group_by_fields = ["@userIdentity.sessionContext.sessionIssuer.arn"]
    metrics         = ["@requestParameters.roleArn"]
    name            = "name"
    query           = "our query"
  }

Relevant debug or panic output

No response

Expected Behavior

There should be no changes to be applied

Actual Behavior

On every run terraform attempts to remove the metric option from the query

Steps to Reproduce

  1. Create a new value config with a query block as per the Terraform Configuration Files above with a version of the provider that still allows the metric query option
  2. Run terraform apply
  3. Update the terraform provider to the latest verion
  4. Change the configuration to use the metrics list option
  5. Run terraform apply

image

Important Factoids

No response

References

No response

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

No branches or pull requests

1 participant