error listing tags for RDS DB Cluster Snapshot

风流意气都作罢 提交于 2021-01-28 11:37:34

问题


So I have a workflow that looks like this:

[Production]

  1. Snap cluster
  2. Share snapshot to Staging

[Staging]

  1. Create new cluster out of shared snapshot

I'm using terraform so my config will look like this (for brevity I excluded other attributes and resources)

data "aws_db_cluster_snapshot" "development_final_snapshot" {
  db_cluster_identifier = "arn:prod_id:my_cluster"
  include_shared                 = true
  most_recent                    = true
  snapshot_type                  = "shared"
}

resource "aws_rds_cluster" "aurora" {
  snapshot_identifier  = "${data.aws_db_cluster_snapshot.development_final_snapshot.id}"
}

Then I get this error

error listing tags for RDS DB Cluster Snapshot (arn:prod_id:my_cluster): 
InvalidParameterValue: The specified resource name does not match an RDS resource in this region.

This was working fine last week :(.

来源:https://stackoverflow.com/questions/60233735/error-listing-tags-for-rds-db-cluster-snapshot

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!