[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-cloud/master] metrics-vpc: Adds HTTPASecurityGroup
commit bc3e0b2ad4f60b0ac75af3aba3ea60eeb3b93982
Author: Iain R. Learmonth <irl@xxxxxxxx>
Date: Tue Oct 29 13:16:46 2019 +0000
metrics-vpc: Adds HTTPASecurityGroup
---
cloudformation/metrics-vpc.yml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/cloudformation/metrics-vpc.yml b/cloudformation/metrics-vpc.yml
index cb5142b..c8def3f 100644
--- a/cloudformation/metrics-vpc.yml
+++ b/cloudformation/metrics-vpc.yml
@@ -89,6 +89,17 @@ Resources:
FromPort: 443
ToPort: 443
CidrIp: 0.0.0.0/0
+ HTTPASecurityGroup:
+ Type: AWS::EC2::SecurityGroup
+ Properties:
+ GroupName: "HTTPA Security Group"
+ GroupDescription: "TCP/8080 requests in"
+ VpcId: !Ref VPC
+ SecurityGroupIngress:
+ - IpProtocol: tcp
+ FromPort: 8080
+ ToPort: 8080
+ CidrIp: 0.0.0.0/0
Outputs:
VPC:
Value: !Ref VPC
@@ -115,6 +126,11 @@ Outputs:
Description: Tor Metrics HTTP Security Group ID
Export:
Name: !Sub MetricsHTTPSecurityGroup
+ HTTPASecurityGroup:
+ Value: !Ref HTTPASecurityGroup
+ Description: Tor Metrics HTTPA Security Group ID
+ Export:
+ Name: !Sub MetricsHTTPASecurityGroup
HTTPSSecurityGroup:
Value: !Ref HTTPSSecurityGroup
Description: Tor Metrics HTTPS Security Group ID
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits