簡體   English   中英

為CloudHSM啟動CF模板時出錯

[英]Error while launching CF Template for CloudHSM

 { "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]”

CloudForM目前不支持CloudHSM。
您可以在此處找到支持的服務和資源類型列表。

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

截至目前,CloudHSM無法通過CF完成。 https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/cloudhsmv2.html#CloudHSMV2.Client.create_cluster

可以通過自定義資源完成,這是通過使用Lambda完成的。 或CLI。

https://docs.aws.amazon.com/cli/latest/reference/cloudhsmv2/index.html

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM