Tip Terraform and AWS Security Group rules in EC2 classic
Read OriginalThis 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.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser