RDS Cluster Parameter Group violates plan even without changes #4997
Labels
kind/bug
Some behavior is incorrect or out of spec
needs-repro
Needs repro steps before it can be triaged or fixed
needs-triage
Needs attention from the triage team
Describe what happened
We recently enabled Pulumi "plan" in our CI/CD and we're facing an issue where an RDS cluster parameter group is violating the plan even when the changes are not related to this resource.
We are setting this parameters to our parameter group:
The output error after running
pulumi up --plan='plan.json'
error: resource urn:pulumi:infra-happyreturns-legacy-dev::aws-platform::hr:aws:ClusterParameterGroup$aws:rds/clusterParameterGroup:ClusterParameterGroup::dev-happyreturns-13/ClusterParameterGroup violates plan: properties changed: ~~parameters[{[{map[__defaults:{[{applyMethod}]} applyMethod:{immediate} name:{pgaudit.log} value:{all}]} {map[__defaults:{[]} applyMethod:{pending-reboot} name:{max_wal_senders} value:{30}]} {map[__defaults:{[]} applyMethod:{pending-reboot} name:{max_replication_slots} value:{30}]} {map[__defaults:{[]} applyMethod:{immediate} name:{idle_in_transaction_session_timeout} value:{1800000}]} {map[__defaults:{[{applyMethod}]} applyMethod:{immediate} name:{pgaudit.role} value:{rds_pgaudit}]} {map[__defaults:{[{applyMethod}]} applyMethod:{immediate} name:{wal_sender_timeout} value:{0}]} {map[__defaults:{[{applyMethod}]} applyMethod:{immediate} name:{rds.force_ssl} value:{1}]} {map[__defaults:{[]} applyMethod:{pending-reboot} name:{rds.logical_replication} value:{1}]} {map[__defaults:{[]} applyMethod:{pending-reboot} name:{pg_stat_statements.max} value:{10000}]} {map[__defaults:{[]} applyMethod:{pending-reboot} name:{shared_preload_libraries} value:{pgaudit,pg_stat_statements}]} {map[__defaults:{[{applyMethod}]} applyMethod:{immediate} name:{pg_stat_statements.track} value:{ALL}]}]}!={[{map[__defaults:{[]} applyMethod:{pending-reboot} name:{max_replication_slots} value:{30}]} {map[__defaults:{[]} applyMethod:{immediate} name:{idle_in_transaction_session_timeout} value:{1800000}]} {map[__defaults:{[]} applyMethod:{pending-reboot} name:{rds.logical_replication} value:{1}]} {map[__defaults:{[{applyMethod}]} applyMethod:{immediate} name:{wal_sender_timeout} value:{0}]} {map[__defaults:{[{applyMethod}]} applyMethod:{immediate} name:{pgaudit.log} value:{all}]} {map[__defaults:{[]} applyMethod:{pending-reboot} name:{pg_stat_statements.max} value:{10000}]} {map[__defaults:{[]} applyMethod:{pending-reboot} name:{max_wal_senders} value:{30}]} {map[__defaults:{[{applyMethod}]} applyMethod:{immediate} name:{rds.force_ssl} value:{1}]} {map[__defaults:{[{applyMethod}]} applyMethod:{immediate} name:{pgaudit.role} value:{rds_pgaudit}]} {map[__defaults:{[{applyMethod}]} applyMethod:{immediate} name:{pg_stat_statements.track} value:{ALL}]} {map[__defaults:{[]} applyMethod:{pending-reboot} name:{shared_preload_libraries} value:{pgaudit,pg_stat_statements}]}]}]
The pulumi plan file:
The text was updated successfully, but these errors were encountered: