We are using the Autoscaler for Spanner so terraform conflicts if the scaler sizes the instance differently from the module. Please include a variable for lifecycle block. Something like:
dynamic "lifecycle" {
for_each = var.ignore_processing_units ? [1] : []
content {
ignore_changes = [processing_units, num_nodes]
}
}
We are using the Autoscaler for Spanner so terraform conflicts if the scaler sizes the instance differently from the module. Please include a variable for lifecycle block. Something like: