【问题标题】:CDK or CloudFormation resource for adding SSH key to IAM user?用于向 IAM 用户添加 SSH 密钥的 CDK 或 CloudFormation 资源?
【发布时间】:2022-01-16 05:34:07
【问题描述】:

我无法在文档中找到如何在 AWS CDK 中指定 IAM 用户的公共 SSH 密钥,并且似乎也找不到相应的 CloudFormation 类型。 Terraform 有以下几点:

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_user_ssh_key

如何在 CloudFormation 或 CDK 中指定密钥?

【问题讨论】:

  • 我看到您对自定义资源提出了新问题。这正是我的回答所建议的,但您尚未接受我的回答。请问为什么?
  • 进展如何?仍然不清楚你能做什么?
  • 让它与 AwsCustomResource 一起使用。

标签: amazon-web-services amazon-cloudformation aws-cdk


【解决方案1】:

这是不支持。您必须为此开发自己的custom resource

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-03-12
    • 2014-05-23
    • 1970-01-01
    • 2021-02-23
    • 2019-10-16
    • 1970-01-01
    • 2014-05-13
    • 2020-11-13
    相关资源
    最近更新 更多