[tor-commits] [metrics-cloud/master] cfn/onionperf: Add DNS RR creation for instance
irl at torproject.org
irl at torproject.org
Thu Feb 13 18:37:13 UTC 2020
commit c45a60fcf8f6140f863a6694173e92b9a2127440
Author: Ana Custura <ana at netstat.org.uk>
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"
More information about the tor-commits
mailing list