Skip to content

Change parameter group of the cluster to enable upgrading the DocDB via terraform #116

@Faris96Hub

Description

@Faris96Hub

Describe the Feature

Beeing able to change the paramter group via the attribute db_cluster_parameter_group in the resource aws_docdb_cluster.

Expected Behavior

If you currently try to upgrade the DocDB from 3.6.0 to v5.0.0 you also have to upgrade the cluster family of
the paramater group to "docdb5.0" which according to the terraform plan results in destruction of the current PG
("docdb3.6") and then creation of a new one ("docdb5.0"). Which is expected behavior. However the apply fails because terraform cant destroy the existing PG ("docdb3.6") because it is still linked to to the DocDB.

Use Case

Beeing able to Upgrade the created DocDB engine Version with terraform. For Example from v3.6.0 to 5.0.0.

Describe Ideal Solution

Enable module to change parameter group of the DocDB so it is possible to change the cluster-family attribute which would enable to upgrade the DocDB with terraform

Alternatives Considered

No response

Additional Context

No response

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