无法为多个环境创建 aws sqs 队列?

Could not create aws sqs queue for multiple environment?

aws sqs中的yml文件有 资源: 我的队列: 类型:AWS::SQS::Queue 特性: 队列名称:"mytestqueue"

创建舞台环境时如何处理MYQueue, 它正在抛出 Queue already exists!

如何将 MyQueue 添加到 template.yml 文件中的阶段。

最好忽略手动命名资源,您不能对此类资源执行更新。让服务创建可以帮助您进行更新的名称。

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html#aws-sqs-queue-name

"If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name."

请阅读这些文章以了解 amazon sqs 队列并实施:

  1. https://hydroid.medium.com/aws-sqs-simple-queue-service-14699b8cca7f
  2. https://hydroid.medium.com/create-get-amazon-sqs-queues-8d9c5381f3e2