Skip to content

Defaulting SLO tags to an empty map explodes apply #699

Closed
@bixu

Description

@bixu

Versions

0.35.0 and above

Steps to reproduce

  1. Create an SLO via a module call with tags set dynamically like this:
  tags = var.tags["enabled"] == true ? {
    group = var.tags["group"]
    team = var.tags["team"]
  } : {}
  1. terraform apply fails with an error:
Error: Provider produced inconsistent result after apply
When applying changes to module.my_module.my_slo.slo, provider "provider[\"registry.terraform.io/honeycombio/honeycombio\"]" produced an unexpected new value: .tags: was cty.MapValEmpty(cty.String), but now null.

This is a bug in the provider, which should be reported in the provider's own issue tracker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions