Terraform AlreadyExistsException:名称为arn:aws:kms:XXXXX:XXXXXXXXX:alias/myalias的别名已存在 [英] Terraform AlreadyExistsException: An alias with the name arn:aws:kms:XXXXX:XXXXXXXXX:alias/myalias already exists

查看:113
本文介绍了Terraform AlreadyExistsException:名称为arn:aws:kms:XXXXX:XXXXXXXXX:alias/myalias的别名已存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行terraform apply时出现以下错误

Terraform AlreadyExistsException: An alias with the name arn:aws:kms:XXXXX:XXXXXXXXX:alias/myalias already exists

我可以确认该资源(KMS-Key-Alias)在AWS上存在. 怎么会这样 我该如何解决?

I can confirm that the resource (the KMS-Key-Alias) exists on AWS. How can this happen? How can I resolve this?

推荐答案

问题是创建了资源,但是Terraform状态不包含该资源.

The problem is that the resource was created, but the Terraform state does not contain this resource.

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆