amazon-web-services - 启动 CloudHSM 的 CF 模板时出错
问题描述
{
"Resources": {
"Cluster": {
"Type" : "AWS::CloudHSM::Cluster",
"Properties":{
"VpcId": "vpc-50ae0636",
"SubnetMapping": {
"us-west-1b": "subnet-49a1bc00",
"us-west-1c": "subnet-6f950334",
"us-west-1a": "subnet-fd54af9b"
},
"SecurityGroup": "sg-6cb2c216",
"HsmType": "hsm1.medium",
"Certificates": {},
"State": "CREATE_IN_PROGRESS",
"Hsms": [],
}
}
}
}
我正在尝试使用 CF 模板在 CloudHSM 中启动一个集群。我正面临这个问题。“模板格式错误:无法识别的资源类型:[AWS::HSM::Cluster]”
解决方案
AWS::CloudHSM::Cluster
不是有效的资源类型。遗憾的是,Cloudformation 不支持所有服务,或者可能支持的资源集不完整。
以下是 CloudFormation 当前支持的有效服务和资源类型的列表:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html
Cloudformation 团队非常频繁地推出对新资源的支持。您可以监控此页面以查看他们何时推出对新功能的支持: https ://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/ReleaseHistory.html
推荐阅读
- postgresql - 在 Postgresql 中创建一百万条记录的最快方法?
- spring-boot - 自定义 DefaultClientCredentialsTokenResponseClient 时访问请求属性时无线程绑定请求
- c++ - 关闭程序时 TOpenDialog 中的异常
- javascript - 如何根据所选值显示内容反应
- c - 如何从采用浮点输入的函数中输出十六进制值
- javascript - 如何将 ng-content 与 ng-container 一起使用?
- reactjs - 可重用组件结构(react native)
- python - 如何在 QHorizontalBarSeries/QChart 上的指定 x 值处绘制垂直线?
- oracle - Oracle 错误:NULL 列:表达式必须具有与相应表达式相同的数据类型 -
- html - 在 google colab 中显示大型视频文件