amazon-web-services - 无法删除 AWS 证书(证书正在使用中)
问题描述
但是,当我运行时:
aws elbv2 describe-load-balancers --region us-east-1 --load-balancer-arns
我没有返回负载均衡器?
另外,如果我尝试直接删除:
aws elbv2 delete-load-balancer --region us-east-1 --load-balancer-arn ...
我得到错误:
不是有效的负载均衡器 ARN
如何删除这些“关联”?
解决方案
当您部署区域 API 端点时,API Gateway 会代表您创建一个应用程序负载均衡器 (ALB)。负载均衡器归 API Gateway 所有,对您不可见。ALB 绑定到您在部署 API 时使用的 ACM 证书。
To remove the binding and allow ACM to delete your certificate, you must remove the API Gateway custom domain that is associated with the certificate.
来源:https ://docs.aws.amazon.com/acm/latest/userguide/troubleshoot-apigateway.html
推荐阅读
- java - 如何在不依赖数据库 oracle 的用户名和密码的情况下启动 spring-boot 应用程序?
- c# - 工具条 WinForms .Net Core 的问题
- android - Android 错误“org.threeten.bp.temporal.UnsupportedTemporalTypeException:不支持的单位:秒”
- php - 如何找到我的帐户 Google 服务帐户密钥文件?
- sql-server - MSSQL:列出几个数据库中每个用户的数据库成员角色
- html - 为什么右侧没有边距?
- python - python 在 Azure Pipelines 的“.py”中找不到“__main__”模块
- php - 使用 Shell 调用前端控制器 yii2 不起作用
- hive - 当蜂巢插入中途失败时会发生什么?
- javascript - 如何从 Electron 应用程序在 Chrome 中打开链接?