[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-cloud/master] cfn/onionperf: Add DNS RR creation for instance
commit c45a60fcf8f6140f863a6694173e92b9a2127440
Author: Ana Custura <ana@xxxxxxxxxxxxxx>
Date: Thu Oct 31 12:23:10 2019 +0000
cfn/onionperf: Add DNS RR creation for instance
---
cloudformation/onionperf-dev.yml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/cloudformation/onionperf-dev.yml b/cloudformation/onionperf-dev.yml
index 6ac711c..474b8c2 100644
--- a/cloudformation/onionperf-dev.yml
+++ b/cloudformation/onionperf-dev.yml
@@ -23,6 +23,15 @@ Resources:
- Fn::ImportValue: !Sub 'MetricsPingableSecurityGroup'
- Fn::ImportValue: !Sub 'MetricsHTTPSecurityGroup'
- Fn::ImportValue: !Sub 'MetricsHTTPSSecurityGroup'
+ OnionperfDNS:
+ Type: AWS::Route53::RecordSet
+ Properties:
+ HostedZoneName: tm-dev-aws.safemetrics.org.
+ Name: !Join ['', [!Ref 'AWS::StackName', .tm-dev-aws.safemetrics.org.]]
+ Type: A
+ TTL: '300'
+ ResourceRecords:
+ - !GetAtt Instance.PublicIp
Outputs:
PublicIp:
Description: "Instance public IP"
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits