Amit Saha 1/5/2018

Tip Terraform and AWS Security Group rules in EC2 classic

Read Original

This technical article addresses a specific Terraform configuration issue when using the aws_security_group_rule resource with AWS EC2 classic. It details an error where the source security group is reported as non-existent, even when it is correctly defined. The solution provided is to use the security group's name attribute (aws_security_group.sg2.name) instead of its ID (aws_security_group.sg2.id) for the source_security_group_id parameter.

Tip Terraform and AWS Security Group rules in EC2 classic

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser