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

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -