gpt4 book ai didi

aws-cloudformation - Cloudformation 使用引擎 aurora-postgresql 和 enginemode : serverless 创建 RDS 集群

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

我正在尝试使用cloudformation创建亚马逊RDS集群。我遇到问题的两个属性是 Engine: aurora-postgresqlEngineMode: serverless

这是我的模板:

  AuroraDBCluster:
Type: AWS::RDS::DBCluster
DeletionPolicy: Snapshot
UpdateReplacePolicy: Snapshot
Properties:
BackupRetentionPeriod: 7
DatabaseName: MyDBNameHere
DBClusterParameterGroupName: !Ref RDSDBClusterParameterGroup
DBSubnetGroupName: !Ref DBSubnetGroup
EnableHttpEndpoint: true
Engine: aurora-postgresql
EngineMode: serverless
EngineVersion: 11.7
MasterUsername:
shhhh
MasterUserPassword:
bequiet
Port: 5432
VpcSecurityGroupIds:
- !Ref MyReferenceHere

我知道这类似于 Creating an Aurora Serverless Cluster from cloudformation? ,但我的理解是设置 Engine: aurora 用于 MySql 而不是 postgresql。

我正在使用 Bitbucket 管道运行此程序并收到错误。您请求的引擎模式 Serverless 目前不可用。

提前谢谢您。

最佳答案

原因可能是您使用的是 PostgreSQL 11.7。

来自docs , Aurora Serverless 仅支持:

Aurora with PostgreSQL version 10.7 compatibility.

关于aws-cloudformation - Cloudformation 使用引擎 aurora-postgresql 和 enginemode : serverless 创建 RDS 集群,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62644323/

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