Skip to content

cluster-parameter-group resource

Description

ClusterParameterGroupResource manages an RDS DB cluster parameter group: a named set of engine settings a DB cluster references. The name, family, and description are fixed when the group is created, so a change to any of them replaces the group; the parameter set and the tags reconcile in place. The parameter set is a declared set: a parameter listed here is applied, and a parameter removed from the list is reset to its engine default, so the group holds only the parameters the configuration names.

Source: internal/service/rds/cluster_parameter_group_rsrc.go:53

Example usage:

imports: {
  aws-rds: 'github.com/cloudboss/unobin-library-aws//service/rds'
}

resources: {
  example: aws-rds.cluster-parameter-group {
    # Set input fields here.
  }
}

Inputs

name

string

required

family

string

required

description

string

required

parameters

optional(list(object))
optional(
  list(
    object({
      name: string
      value: string
      apply-method: optional(string)
    })
  )
)

tags

optional(map(string))

Input Constraints

Parameters rules

apply-method must be immediate or pending-reboot.

Rule logic
For each
input.parameters ?? []
When
@each.value.apply-method != null
Require
@each.value.apply-method == 'immediate'
|| @each.value.apply-method == 'pending-reboot'

Outputs

arn

string