Skip to content

Lifecycle Rules in Module #100

@mark-aops

Description

@mark-aops

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]
  }
}

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