-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
Description
when I have a resource for a postgres CDC clickpipe configured, this will always show up on the plan:
Terraform will perform the following actions:
# clickhouse_clickpipe.postgres_cdc will be updated in-place
~ resource "clickhouse_clickpipe" "postgres_cdc" {
id = "<redacted>"
name = "staging-rds-clickpipe"
~ state = "Running" -> (known after apply)
# (5 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
If I attempt to ignore that attribute by adding a lifecycle block:
lifecycle {
ignore_changes = [state]
}
then you get this persistent warning (also annoying)
Warning: Redundant ignore_changes element
on rds.tf line 11, in resource "clickhouse_clickpipe" "postgres_cdc":
11: resource "clickhouse_clickpipe" "postgres_cdc" {
Adding an attribute name to ignore_changes tells Terraform to
ignore future changes to the argument in configuration after the
object has been created, retaining the value originally
configured.
The attribute state is decided by the provider alone and
therefore there can be no configured value to compare with.
Including this attribute in ignore_changes has no effect. Remove
the attribute from ignore_changes to quiet this warning.
Reactions are currently unavailable