Skip to content

Setting the vars property on the dog_host resource to an empty JSON object produces an error #95

@weaversam8

Description

@weaversam8

If you attempt to create a resource like this:

resource "dog_host" "abc" {
  name = "abc.example.com"
  vars = jsonencode({})
}

Terraform will produce an error like:

╷
│ Error: Provider produced inconsistent result after apply
│ 
│ When applying changes to dog_host.abc, provider "provider[\"registry.terraform.io/relaypro-open/dog\"]" produced an
│ unexpected new value: .vars: was cty.StringVal("{}"), 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions