在 aws 控制台中哪里可以找到 aws_iam_instance_profile?

Where to locate an aws_iam_instance_profile in aws console?

由于超时问题,terraform 未能创建 ec2 实例。

为了从中恢复,我手动从 aws 控制台中删除了 ec2 实例以及 terraform 状态文件。

但是现在它试图重新创建

  + aws_iam_instance_profile.server
      id:                                        <computed>
      arn:                                       <computed>
      create_date:                               <computed>
      name:                                      "server-profile"
      path:                                      "/"
      role:                                      "server-role"
      roles.#:                                   <computed>
      unique_id:                                 <computed>

因此我想在 aws 控制台中找到它并将其删除。但是我不知道在哪里可以找到它。

我在哪里可以找到 aws_iam_instance_profile.server

转到控制台中的 IAM,然后转到角色。

你应该能在那里找到角色,一旦你删除它,实例配置文件也应该消失。