Skip to content

Setting database_name with a mysql engine on aws_dms_endpoint will trigger continous change #1387

@the-noob

Description

@the-noob

Product

Terraform

Issue type

Other issue

Describe your issue to request changes to the content on developer.hashicorp.com. Be specific and provide as much detail as possible. Include page URLs and screenshots if applicable.

The documentation mentions just "optional" for database_name but it seems it's engine_name dependent ? For aurora-postgresql it was required but for mysql it just causes a continuous drift detection with Terraform trying to apply it on every run

  ~ resource "aws_dms_endpoint" "surveys_source" {
      + database_name                   = "surveys"
        id                              = "surveys-source"
        tags                            = {}
        # (15 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions