Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Minor: Don't create DNS record during host provisioning (host script does this itself)

Rich Turner329ca1ad6e6b
diff --git a/.ci_cd/aws/cloudformation-create-ec2.yml b/.ci_cd/aws/cloudformation-create-ec2.yml
index 32f9134ff..9a8633b7d 100644
--- a/.ci_cd/aws/cloudformation-create-ec2.yml
+++ b/.ci_cd/aws/cloudformation-create-ec2.yml
@@ -85,22 +85,10 @@ Parameters:
Default: ""
Conditions:
- CreateDNSRecord: !Equals [!Ref DNSHostedZoneRoleArn, ""]
AssignElasticIP: !Equals [!Ref ElasticIP, "true"]
Resources:
- DNSRecord:
- Type: AWS::Route53::RecordSet
- Condition: CreateDNSRecord
- Properties:
- HostedZoneName: !Sub "${DNSHostedZoneName}."
- Name: !Ref Host
- ResourceRecords:
- - !GetAtt EC2Instance.PublicIp
- TTL: '60'
- Type: A
-
InstanceRoleProfile:
Type: AWS::IAM::InstanceProfile
Properties: