100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
CF template improvement
Michal Rutkad4a9e6cda74b
diff --git a/mvp/aws-cloudformation.template.yml b/mvp/aws-cloudformation.template.ymlindex 0f0b74b5b..d4805fe05 100644--- a/mvp/aws-cloudformation.template.yml+++ b/mvp/aws-cloudformation.template.yml@@ -267,7 +267,6 @@ Resources:#!/bin/bashrpm -Uvh https://s3.amazonaws.com/amazoncloudwatch-agent/amazon_linux/arm64/latest/amazon-cloudwatch-agent.rpm/opt/aws/bin/cfn-init -v --stack ${AWS::StackId} --resource EC2Instance --configsets install_all --region ${AWS::Region}- /opt/aws/bin/cfn-signal -e $? --stack ${AWS::StackId} --resource EC2Instance --region ${AWS::Region}yum update -ygroupadd dockergpasswd -a ec2-user docker@@ -279,7 +278,7 @@ Resources:# Install openremote-cli tool (for e-mail credentials)pip3 install -U openremote-clicd /home/ec2-user- # Create volume for deployment (needed for SWARM due to concurency in compose-file)+ # Create volume for deployment (needed for SWARM due to concurrency in compose-file)# docker volume create openremote_deployment-data# docker run --rm -v openremote_deployment-data:/deployment openremote/deployment:mvpwget https://github.com/openremote/openremote/raw/master/mvp/mvp-docker-compose-awslogs.yml -O docker-compose.yml@@ -323,6 +322,7 @@ Resources:cat ../access.txt ./fetch.txt > fetch_s3_deploy.shchmod +x fetch_s3_deploy.shrm fetch.txt+ /opt/aws/bin/cfn-signal -e $? --stack ${AWS::StackId} --resource EC2Instance --region ${AWS::Region}InstanceSecurityGroup:Type: AWS::EC2::SecurityGroup