Last active
February 5, 2020 03:24
-
-
Save mijdavis2/15cda299f25ba1bc4047edb84f9f0f49 to your computer and use it in GitHub Desktop.
Result of malformed aws_security_group_rule resource; TF v0.12.6; provider.aws v2.47.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# For security purposes, the output has been obfuscated with '***' in a few places. | |
# | |
Error: Expected to find one security group with ID "", got: []*ec2.SecurityGroup{{ | |
Description: "SG for access to *** layer", | |
GroupId: "sg-*****", | |
GroupName: "*****", | |
IpPermissions: [ | |
{ | |
FromPort: 80, | |
IpProtocol: "tcp", | |
IpRanges: [{ | |
CidrIp: "*****", | |
Description: "HTTP Access from shared VPC." | |
}], | |
ToPort: 80, | |
UserIdGroupPairs: [{ | |
GroupId: "*****", | |
UserId: "*****" | |
}] | |
}, | |
{ | |
FromPort: 3389, | |
IpProtocol: "tcp", | |
IpRanges: [{ | |
CidrIp: "*****", | |
Description: "RDP Access from shared VPC." | |
}], | |
ToPort: ***** | |
}, | |
{ | |
FromPort: *****, | |
IpProtocol: "tcp", | |
IpRanges: [{ | |
CidrIp: "*****", | |
Description: "HTTPS Access from shared VPC." | |
}], | |
ToPort: 443, | |
UserIdGroupPairs: [{ | |
GroupId: "*****", | |
UserId: "*****" | |
}] | |
}, | |
# [...] | |
# 14,000 lines later | |
# [...] | |
on .terraform/modules/message_loader/task_sg.tf line 42, in resource "aws_security_group_rule" "alb_egress_http_to_task": | |
42: resource "aws_security_group_rule" "alb_egress_http_to_task" { | |
[terragrunt] 2020/02/04 19:58:38 Hit multiple errors: | |
exit status 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment