user11503765
user11503765

Reputation:

Error launching CloudFormation 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": [],
            }
        }
    }
}

I am trying to launch a cluster in CloudHSM using CF Template. I am facing this issue. "Template format error: Unrecognized resource types: [AWS::HSM::Cluster]"

Upvotes: 1

Views: 603

Answers (3)

JD D
JD D

Reputation: 8127

AWS::CloudHSM::Cluster is not a valid resource type. Unfortunately, Cloudformation does not support all services or may have an incomplete set of supported resources.

Here is a list of valid services and resource types currently supported by CloudFormation:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html

The Cloudformation team is pushing out support for new resources very frequently. You can monitor this page to see when they push out support for new features: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/ReleaseHistory.html

Upvotes: 1

WalKh
WalKh

Reputation: 502

CloudHSM is currently not supported by CloudFormation.
You can find a list of supported services and ressource types here.

Upvotes: 0

Related Questions