Sql server Terraform InvalidParameters与AWS Microsoft SQL的组合
在尝试使用terraform创建AWS RDS实例时出现问题,我已经阅读了AWS和terraform中的文档,我不明白为什么这是一个无效的组合,我正在尝试创建一个免费的tier DB进行测试:Sql server Terraform InvalidParameters与AWS Microsoft SQL的组合,sql-server,amazon-web-services,terraform,amazon-rds,Sql Server,Amazon Web Services,Terraform,Amazon Rds,在尝试使用terraform创建AWS RDS实例时出现问题,我已经阅读了AWS和terraform中的文档,我不明白为什么这是一个无效的组合,我正在尝试创建一个免费的tier DB进行测试: resource "aws_db_instance" "rds-mssql" { allocated_storage = 20 engine = "sqlserver-ee" engine_versio
resource "aws_db_instance" "rds-mssql" {
allocated_storage = 20
engine = "sqlserver-ee"
engine_version = "14.00.3356.20.v1"
instance_class = "db.t2.micro"
name = "mydbtest"
username = "usernameGoesHere"
password = "passwordGoesHere"
license_model = "license-included"
}
获取以下错误:
Error: Error creating DB Instance: InvalidParameterCombination: RDS does not support creating a DB instance with the following combination: DBInstanceClass=db.t2.micro, Engine=sqlserver-ee, EngineVersion=14.00.3356.20.v1, LicenseModel=license-included. For supported combinations of instance class and database engine version, see the documentation
我在此遵循了以下文档:
此外,我还从AWS控制台手动创建了一个具有这些规范的DB,没有问题
提前感谢
sqlserver ee
是针对企业版的t2.micro。我想你想要的是sqlserver ex
(速成版)。谢谢你曾经犯下的一个愚蠢的错误,我认为ee是(速成版)@ElihuDelValle没问题。如果答案有帮助,我们将不胜感激。