Help us understand the problem. What is going on with this article?

[JAWS-UG CLI] ACM入門 #13 ACM証明書の削除

More than 3 years have passed since last update.

これはAWS Certificate Manager (ACM)入門ハンズオン資料の一部です。
最初から続けて行っている場合「0.準備」の各項は作業不要です。第1項へ進んでください

0. 準備

0.1. ACM証明書arnの変数への格納

証明書のarnを変数 CERT_ARN へ格納します。

コマンド(例)
CERT_ARN=`aws acm list-certificates --region us-east-1 \
 --query CertificateSummaryList[].CertificateArn \
 --output text` && echo ${CERT_ARN}
結果
      arn:aws:acm:us-east-1:777777777777:certificate/9eb6865a-63a3-48df-92c2-ae113c877b33

1. ACM証明書の削除

1.1. 証明書の削除

コマンド
aws acm delete-certificate --region us-east-1 --certificate-arn ${CERT_ARN}
結果
      返り値なし

ここで An error occurred (ResourceInUseException)のようなエラーが出た場合は、何らかのサービスでまだこの証明書が使用されています。
利用中のACM証明書は削除することができません。
CloudFrontやELBなどを確認して先に削除してから再実行してください。

1.2. 削除されたか確認

コマンド
aws acm list-certificates --region us-east-1
結果
      {
          "CertificateSummaryList": []
      }
zakky
旅人。 いつかは旅人CTO。 AWS Certified Advanced Networking Speciality, Security Speciality, Solution Architect Professional
http://ntuser.hatenablog.com/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした