本文介绍了创建数据库实例时出错:InvalidParameterCombination:找不到 aurora-mysql 的版本 5.6.10a的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么想法为什么会出现这个错误 Error created DB Instance: InvalidParameterCombination: Cannot find version 5.6.10a for aurora-mysql 在执行计划时?版本 5.6.10a 我从 aws mgt 控制台得到它.我试过 aurora 5.7 还是失败了.

any ideas why I got this error Error creating DB Instance: InvalidParameterCombination: Cannot find version 5.6.10a for aurora-mysql when executing the plan? The version 5.6.10a I got it from the aws mgt console. I tried aurora 5.7 and still failed.

resource "aws_db_instance" "test" {
    identifier                = "test"
    allocated_storage         = 1
    storage_type              = "aurora"
    engine                    = "aurora-mysql"
    engine_version            = "5.6.10a"
    instance_class            = "db.t2.small"
    name                      = "testdb"
    username                  = "testadmin"
    password                  = "xxxxx"
    port                      = 3306
    publicly_accessible       = false
    availability_zone         = "us-east-2a"
    security_group_names      = []
    vpc_security_group_ids    = ["sg-xxxxx"]
    db_subnet_group_name      = "default-vpc-xxxxx"
    parameter_group_name      = "default.aurora5.6"
    multi_az                  = false
    backup_retention_period   = 1
    #backup_window             = "08:48-09:18"
    #maintenance_window        = "sun:08:56-sun:09:26"
    final_snapshot_identifier = "test-final"
}

推荐答案

我猜引擎名称 'aurora-mysql' 指的是引擎版本 5.7.x
对于 5.6.10a 版,引擎名称是 aurora

I guess engine name 'aurora-mysql' refers to engine version 5.7.x
and for version 5.6.10a engine name is aurora

请参考以下链接

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraMySQL.Updates.20180206.html#AuroraMySQL.Updates.20180206.CLI

这篇关于创建数据库实例时出错:InvalidParameterCombination:找不到 aurora-mysql 的版本 5.6.10a的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 00:34