Skip to content

Event gateway Resources which omit secrets in response show drift when plain strings are used as input #171

@harshadixit12

Description

@harshadixit12

For example, konnect_event_gateway_static_key accepts value as an expression, as well as base64 encoded string.
However, the API does not return the value in response body if it is a plain string.
Terraform interprets this as missing value, and tries to update in subsequent plan/apply.

Since API returns value when it is an expression, no false drift is seen in that case.
https://kongstrong.slack.com/archives/C089Z3BMC9Z/p1766080688569839?thread_ts=1765403226.115999&cid=C089Z3BMC9Z

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