Skip to content

'engine_version' is required when 'snapshot_identifier' is specified #154

Open
@ragumix

Description

@ragumix

Describe the Bug

Looks like there is a mistake in the module regarding the engine_version parameter. When snapshot_identifier parameter specified, it needs to specify engine_version parameter. If engine_version parameter is not specified, the following suggestion will be showed:

var.engine_version
Database engine version, depends on engine type. Required unless a snapshot_identifier or replicate_source_db is provided.

Enter a value:

According to the official documentation (https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_instance#engine_version), there is no mentioning that it doesn't need to specify engine_version when you specified snapshot_identifier.

Expected Behavior

Fix description for engine_version parameter. Please delete this sentence for engine_version:

Required unless a snapshot_identifier or replicate_source_db is provided.

Steps to Reproduce

Try to create RDS from snapshot without specifying engine_version parameter.

Screenshots

No response

Environment

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug🐛 An issue with the system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions