Skip to content

TerraForm: Environment name and key in-place update fails #173

@OlgierdEthon

Description

@OlgierdEthon

The change is possible in the UI, however the plan reports a change to happen to the environment ID, as well as it's keys:

  ~ resource "devcycle_environment" "environment" {
      ~ id          = "READACTED" -> (known after apply)
      ~ key         = "READACTED" -> "READACTED"
      ~ name        = "READACTED" -> "READACTED"
      ~ sdk_keys    = [
        REDACTED...
        ] -> (known after apply)
        # (5 unchanged attributes hidden)

And then the actual apply fails:

│ Error: Value Conversion Error
│
│   with [REDACTED].devcycle_environment.environment,
│   on [REDACTED] line REDACTED, in resource "devcycle_environment" "environment":
│   [REDACTED]: resource "devcycle_environment" "environment" {
│
│ An unexpected error was encountered trying to build a value. This is always an error in the provider. Please report the following to the provider developer:
│
│ unhandled unknown value

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions