Skip to content

aws.rds-parameter-group resource

Description

ParameterGroup manages an RDS DB parameter group: a named, family-scoped set of engine parameters a DB instance can reference. The group itself is made by CreateDBParameterGroup from its name, family, and description; those three are fixed once the group exists, so a change to any of them replaces the group. The parameter set is a separate concern reconciled after the group exists, through ModifyDBParameterGroup for added or changed parameters and ResetDBParameterGroup for removed ones, so it is a field that updates in place. Tags are reconciled as a set.

Source: internal/service/rds/parameter_group_rsrc.go:50

Example usage:

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

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

Inputs

name

string

required

family

string

required

description

string

required

parameters

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

tags

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