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.
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:
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:
Steps to Reproduce
Try to create RDS from snapshot without specifying engine_version parameter.
Screenshots
No response
Environment
No response
Additional Context
No response