是否可以使用CloudFormation更新通过AWS SDK创建的队列
我使用Java中的AWS SDK创建了一个SQS队列。我想将队列迁移到我的yaml云形式文件中。测试已经使用云形式。
将DEV添加到为云形式创建队列的区域列表之后,我会收到一个错误:
已经存在该名称和不同标签的
队列用3个标签创建的云形象。 旧队列有0个标签,但我通过控制台UI手动添加了3个标签,但错误仍然存在。
这是先前的云形式模板中不存在的标签的问题,因为没有使用云形式创建队列?
编辑: 我的云形式中已经存在队列,但是if ::等于函数中的dev不包括。
I have created an SQS queue using the aws sdk in java. I want to migrate the queue for dev into my yaml cloudformation file. Test uses cloudformation already.
After adding dev to the list of regions that the queue is created for in cloudformation I get an error:
A queue already exists with that name and different tags
I have created a new queue to test with in dev through cloudformation which gets created with 3 tags.
The old queue had 0 tags but I manually added the 3 tags through the console UI to be identical and yet the error persists.
Is this an issue with the tags not being present in the previous cloudformation template as the queue was not initallly created using cloudformation?
Edit:
The queue exists in my cloudformation already but dev is not included in the if::equals function.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须 import 。
You have to import your SQS queue into CloudFormation stack.