【问题标题】:Cannot create a cross region unencrypted read replica from encrypted source无法从加密源创建跨区域未加密只读副本
【发布时间】:2020-10-12 06:48:58
【问题描述】:

我正在尝试通过云形成模板在西部地区为东部地区的 RDS 数据库创建只读副本。 我收到一个错误:

Cannot create a cross region unencrypted read replica from encrypted source.

但是,我尝试提供 kms 密钥 ID 并将 CopyTagsToSnapshot 标记为 true 。这是我的云形成的样子:

Resources:
  MyDB:
   Type: AWS::RDS::DBInstance
   Properties:
    SourceDBInstanceIdentifier: !Ref ReadReplicaURL
    AllocatedStorage: !Ref DBAllocatedStorage
    CopyTagsToSnapshot: true
    DBSubnetGroupName: !Ref DBSubnetGroup
    VPCSecurityGroups:
     - !Ref DBSG1
    KmsKeyId: !Ref DBEncryptionKey
    StorageEncrypted: true
    DBInstanceClass: !Ref DBInstanceClass
    DBInstanceIdentifier: !Ref DBInstanceIdentifier
    Iops: !Ref DBIops
    MonitoringInterval: !Ref DBMonitoringInterval
    Engine: !Ref Engine
    MonitoringRoleArn: !Ref DBMonitoringRoleARN
    Port: !Ref DBPort
    PreferredMaintenanceWindow: !Ref DBPreferredMaintenanceWindow
    StorageType: io1

【问题讨论】:

  • 您共享的 YAML 似乎不完整。您可以更新以包含源和副本的资源定义吗?到目前为止,我只看到据我所知可能配置错误的来源。
  • 谢谢@talentedmrjones 看起来这个功能还没有用于云形成模板。请看下面我的回答。

标签: amazon-web-services amazon-cloudformation amazon-rds read-replication


【解决方案1】:

我从 AWS 代表那里得到的答案:

很遗憾,目前无法通过 CloudFormation 创建加密的 RDS 跨区域只读副本。有一个主动功能请求来实现此功能,我已将您的声音添加到其中。该功能实施后,将在此页面上公布:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/ReleaseHistory.html

【讨论】:

猜你喜欢
  • 2021-09-22
  • 1970-01-01
  • 2020-12-19
  • 1970-01-01
  • 1970-01-01
  • 2022-11-08
  • 1970-01-01
  • 2014-03-10
  • 1970-01-01
相关资源
最近更新 更多