emr - Can we add\attach security group to Terraform aws_cloudformation_stack resource -


i using terraform provision emr . in order calling resource "aws_cloudformation_stack" , attaching cloudformation template launch emr. working want emr have 22 inbound port open ssh connection.

please see reference https://www.terraform.io/docs/providers/aws/r/cloudformation_stack.html

i can attaching security group . please let me know how can this?

you should able handle creating security group via terraform, referencing dependency make sure it's created before cloudformation stack , providing security group id cloudformation template variable.


Comments

Popular posts from this blog

ios - Memory not freeing up after popping viewcontroller using ARC -

Java JSoup error fetching URL -

webstorm - PhpStorm file cache conflict with TypeScript compiler -