2
votes

When creating an EMR cluster, you can specify a security configuration which I created prior. How do I specify this option from JSON cloudformation template?

I am referencing here: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-cluster.html#cfn-emr-cluster-additionalinfo

enter image description here

1

1 Answers

2
votes

Unfortunately, the SecurityConfiguration Request Parameter for the RunJobFlow API does not have a corresponding property on the AWS::EMR::Cluster CloudFormation Resource, so it seems that this feature is not (yet) officially supported in CloudFormation. This feature was added on Sep 21 2016, and there is typically a lag between new feature announcements and their corresponding support in existing CloudFormation resources.

As a workaround, you could create a Custom Resource that calls the RunJobFlow API directly.