gpt4 book ai didi

aws-cloudformation - CloudFormation AWS::RDS::DBInstance 错误 "Specifying IOPs is not allowed for this engine"

转载 作者:行者123 更新时间:2023-12-03 07:46:48 27 4
gpt4 key购买 nike

我有这个 CloudFormation 代码

  DatabasePrimaryInstanceAurora0:
Type: AWS::RDS::DBInstance
Condition: IsEnvPRO
Properties:
Engine: aurora-postgresql
DBClusterIdentifier: !Ref Aurora0
DBInstanceClass: db.t4g.medium
DBInstanceIdentifier: postgres0-0
DBSubnetGroupName: rds1
StorageType: gp3

根据这个https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-storagetype ,我们一切顺利,但我从 cloudFormation 收到了错误

Resource handler returned message: "Invalid storage type: gp3 (Service: Rds, Status Code: 400, Request ID: 6b75124d-2e57-47fd-bbf3-54ab4f217a82)" (RequestToken: f72ffede-b654-a065-0c5e-cf91c05473d9, HandlerErrorCode: InvalidRequest)

感谢我添加的@9bO3av5fw5

      Iops: 3000

但是后来我...

Resource handler returned message: "Specifying IOPs is not allowed for this engine (Service: Rds, Status Code: 400, Request ID: 2a558dd8-9e6c-47c8-bef0-af674f05760b)" (RequestToken: 53f0e15e-53b7-d9f5-4817-9d2dcc34bef3, HandlerErrorCode: InvalidRequest)

我的引擎:

     Engine: aurora-postgresql
EngineMode: provisioned

最佳答案

答案就在这里https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html

General Purpose SSD gp3 storage is supported on Single-AZ and Multi-AZ DB instances, but isn't supported on Multi-AZ DB clusters. For more information, see Multi-AZ deployments for high availability and Multi-AZ DB cluster deployments.

关于aws-cloudformation - CloudFormation AWS::RDS::DBInstance 错误 "Specifying IOPs is not allowed for this engine",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74628758/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com