DataDog / terraform-provider-datadog

Terraform Datadog provider
https://www.terraform.io/docs/providers/datadog/
Mozilla Public License 2.0
403 stars 380 forks source link

object contains unparsed element: map[namespace:xxx] tag_filter_str:[]] in datadog_integration_aws_tag_filter resource #2673

Closed lloydmanansala closed 1 week ago

lloydmanansala commented 1 week ago

Datadog Terraform Provider Version

v3.46.0

Terraform Version

v1.9.5

What resources or data sources are affected?

resource "datadog_integration_aws_tag_filter" "additional_aws_filter_tag" {
  for_each       = <object>
  account_id     = var.account_id
  namespace      = each.value.namespace
  tag_filter_str = each.value.tags
}

Terraform Configuration Files

Relevant debug or panic output

Relevant debug or panic output


│ Error: object contains unparsed element: map[namespace:step_functions tag_filter_str:<nil>]
│ 
│   with datadog_integration_aws_tag_filter.additional_aws_filter_tag["0"],
│   on aws-dd-integration.tf line 28, in resource "datadog_integration_aws_tag_filter" "additional_aws_filter_tag":
│   28: resource "datadog_integration_aws_tag_filter" "additional_aws_filter_tag" {```

### Expected Behavior

_No response_

### Actual Behavior

_No response_

### Steps to Reproduce

_No response_

### Important Factoids

_No response_

### References

https://github.com/DataDog/terraform-provider-datadog/issues/2039
mc-mmccants commented 1 week ago

Looks like they just released 3.48.1 that should fix this, testing it out now.

Edit: Confirming that v3.48.1 fixes it for me.

amaskara-dd commented 1 week ago

closing in favor of https://github.com/DataDog/terraform-provider-datadog/issues/2669