Fix Terraform example security group

Specify the VPC ID in the `service` security group resource block and add a comment.
This commit is contained in:
Adam Pike
2022-02-17 20:06:06 -03:30
committed by GitHub
parent 2988c1c331
commit f746d52ebb

View File

@@ -195,6 +195,8 @@ resource "aws_security_group" "alb" {
}
resource "aws_security_group" "service" {
# Create a security group for the service
vpc_id = data.aws_vpc.this.id
# Only allow traffic from the load balancer security group
ingress {