Ресурс экземпляра DMS -
resource "aws_dms_replication_instance" "replication_instance" {
allocated_storage = 500
apply_immediately = true
auto_minor_version_upgrade = true
engine_version = "3.3.1"
multi_az = "${var.multi_az}"
preferred_maintenance_window = "sun:10:30-sun:14:30"
publicly_accessible = false
replication_instance_class = "dms.r4.xlarge"
replication_instance_id = "${local.name_prefix}-dms"
replication_subnet_group_id = "${aws_dms_replication_subnet_group.subnet_group.id}"
vpc_security_group_ids = "${var.vpc_security_group_ids}"
tags = "${merge(var.tags, map(
"description","DMS service",
"Name", "${local.name_prefix}-dms-instance"))}"
}
Ошибка -
Error: error modifying DMS Replication Instance (hpy-prd-expense-v2-dms-dms): InvalidParameterCombinationException: The AllowMajorVersionUpgrade flag must be present when upgrading to a new major version.
status code: 400, request id: 4a2c903b-5eda-49a8-ae8c-a0efd5d9ea7b
on replication-instance/main.tf line 12, in resource "aws_dms_replication_instance" "replication_instance":
12: resource "aws_dms_replication_instance" "replication_instance" {
Я не вижу параметра для изменения основного флага обновления версии в ресурсе Terraform для экземпляра DMS.