dbclusterparametergroup

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2026 License: Apache-2.0 Imports: 24 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

docdb/DBClusterParameterGroup

Manages an Amazon DocumentDB cluster parameter group (DBClusterParameterGroup.docdb.aws2.crossplane.io).

Origin

Imported from provider-aws crossplane-contrib/provider-aws@ad8ac93 (clean; apis/docdb/import.yaml), ported by hand in 0bc1dd7.

Behavior

  • External name: metadata.name by default; used as DBClusterParameterGroupName in every call.
  • Create: CreateDBClusterParameterGroup with family, description and tags. AWS creates the group with default parameters; the parameters of the spec are set by the first update.
  • Late initialization: parameters of the group that the spec doesn't list are added to parameters with their current values (DescribeDBClusterParameters, all pages).
  • Drift: generated DiffUpdatableParameters (no fields: ModifyDBClusterParameterGroup only takes parameters), plus the values of parameters and tags. A changed dbParameterGroupFamily or description is reported as an error (AWS can't change them).
  • Update: ModifyDBClusterParameterGroup with all parameters of the spec, then tag changes.
  • Conditions: Available once observed.
Hook Why
preObserve, preCreate, preDelete, filterList name from the external name
lateInitialize parameters from DescribeDBClusterParameters
isUpToDate parameters, tags, immutable family/description
preUpdate, postUpdate parameters (custom field), tags
postObserve condition

Differences from provider-aws

  • Drift detection reports which field differs.
  • DescribeDBClusterParameters follows pagination markers.

Limitations

  • dbParameterGroupFamily and description can't be changed after creation; changing them makes the resource fail to sync.
  • applyMethod is not compared: AWS only changes it together with the value.
  • Every update sends all parameters of the spec (including late-initialized ones). AWS accepts at most 20 parameters per call; DocumentDB families have fewer.
  • Parameters removed from the spec are not reset to their defaults.

Examples

examples/docdb/dbclusterparametergroup.yaml.

History

Date PR Change
2026-11-04 #4 Create no longer copies the AWS response into spec.forProvider (status only)
2026-11-04 #4 Tags starting with aws: are ignored instead of being removed (ADR 0012)
2026-10-15 0bc1dd7 Imported from provider-aws and ported to runtime v2, SDK v2, namespaced

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffUpdatableParameters

func DiffUpdatableParameters(desired, observed *svcapitypes.DBClusterParameterGroupParameters) []string

DiffUpdatableParameters returns the JSON names of the spec fields that ModifyDBClusterParameterGroup can change and whose desired value differs from the observed one (see compare.IsSubset). Fields that are not set in desired are not compared. Fields whose name or shape differs between the update input and the read output are not included; compare them by hand.

func GenerateCreateDBClusterParameterGroupInput

func GenerateCreateDBClusterParameterGroupInput(cr *svcapitypes.DBClusterParameterGroup) (*svcsdk.CreateDBClusterParameterGroupInput, error)

GenerateCreateDBClusterParameterGroupInput returns a create input.

func GenerateDBClusterParameterGroup

GenerateDBClusterParameterGroup returns the current state in the form of *svcapitypes.DBClusterParameterGroup.

func GenerateDeleteDBClusterParameterGroupInput

func GenerateDeleteDBClusterParameterGroupInput(cr *svcapitypes.DBClusterParameterGroup) (*svcsdk.DeleteDBClusterParameterGroupInput, error)

GenerateDeleteDBClusterParameterGroupInput returns a deletion input.

func GenerateDescribeDBClusterParameterGroupsInput

func GenerateDescribeDBClusterParameterGroupsInput(cr *svcapitypes.DBClusterParameterGroup) (*svcsdk.DescribeDBClusterParameterGroupsInput, error)

GenerateDescribeDBClusterParameterGroupsInput returns input for read operation.

func GenerateModifyDBClusterParameterGroupInput

func GenerateModifyDBClusterParameterGroupInput(cr *svcapitypes.DBClusterParameterGroup) (*svcsdk.ModifyDBClusterParameterGroupInput, error)

GenerateModifyDBClusterParameterGroupInput returns an update input.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound returns whether the given error means that the resource does not exist.

func Setup

func Setup(mgr ctrl.Manager, o controller.Options) error

Setup adds a controller that reconciles DBClusterParameterGroup.

func SetupGated

func SetupGated(mgr ctrl.Manager, o controller.Options) error

SetupGated adds the DBClusterParameterGroup controller once its CRD is available.

Types

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL