创建数据库实例时出错:InvalidParameterCombination:无法找到aurora-mysql的5.6.10a版本

时间:2018-03-27 06:51:42

标签: amazon-web-services terraform

在执行计划时我遇到此错误Error creating DB Instance: InvalidParameterCombination: Cannot find version 5.6.10a for aurora-mysql的任何想法?版本5.6.10a我是从aws mgt控制台获得的。我尝试了极光5.7但仍然失败了。

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"
}

1 个答案:

答案 0 :(得分:1)

我猜引擎名称' aurora-mysql'指发动机版本5.7.x
对于版本5.6.10a,引擎名称是极光

请参阅以下链接

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