Skip to content

Commit

Permalink
Updates command text and adds Outputs section
Browse files Browse the repository at this point in the history
  • Loading branch information
eemperor committed Mar 23, 2018
1 parent 86cef58 commit 6ea6de4
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 8 deletions.
27 changes: 23 additions & 4 deletions modules/lx-autoscale/watchmaker-lx-autoscale.cfn.json
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,27 @@
}
}
},
"Outputs": {
"WatchmakerAutoScalingGroupId": {
"Description": "Autoscaling Group ID",
"Value": {
"Ref": "WatchmakerAutoScalingGroup"
}
},
"WatchmakerLaunchConfigId": {
"Description": "Launch Configuration ID",
"Value": {
"Ref": "WatchmakerLaunchConfig"
}
},
"WatchmakerLaunchConfigLogGroupName": {
"Condition": "InstallCloudWatchAgent",
"Description": "Log Group Name",
"Value": {
"Ref": "WatchmakerLaunchConfigLogGroup"
}
}
},
"Parameters": {
"AmiDistro": {
"AllowedValues": [
Expand Down Expand Up @@ -775,11 +796,9 @@
" bash -xe install.sh &&",
" systemctl enable amazon-cloudwatch-agent.service &&",
" systemctl start amazon-cloudwatch-agent.service &&",
" /opt/aws/amazon-cloudwatch-agent/bin/",
"amazon-cloudwatch-agent-ctl",
" /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl",
" -a fetch-config -m ec2 -c",
" file:/opt/aws/amazon-cloudwatch-agent/etc/",
"amazon-cloudwatch-agent.json -s"
" file:/opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.json -s"
]
]
},
Expand Down
6 changes: 2 additions & 4 deletions modules/lx-instance/watchmaker-lx-instance.cfn.json
Original file line number Diff line number Diff line change
Expand Up @@ -742,11 +742,9 @@
" bash -xe install.sh &&",
" systemctl enable amazon-cloudwatch-agent.service &&",
" systemctl start amazon-cloudwatch-agent.service &&",
" /opt/aws/amazon-cloudwatch-agent/bin/",
"amazon-cloudwatch-agent-ctl",
" /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl",
" -a fetch-config -m ec2 -c",
" file:/opt/aws/amazon-cloudwatch-agent/etc/",
"amazon-cloudwatch-agent.json -s"
" file:/opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.json -s"
]
]
},
Expand Down
21 changes: 21 additions & 0 deletions modules/win-autoscale/watchmaker-win-autoscale.cfn.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,27 @@
}
}
},
"Outputs": {
"WatchmakerAutoScalingGroupId": {
"Description": "Autoscaling Group ID",
"Value": {
"Ref": "WatchmakerAutoScalingGroup"
}
},
"WatchmakerLaunchConfigId": {
"Description": "Launch Configuration ID",
"Value": {
"Ref": "WatchmakerLaunchConfig"
}
},
"WatchmakerLaunchConfigLogGroupName": {
"Condition": "InstallCloudWatchAgent",
"Description": "Log Group Name",
"Value": {
"Ref": "WatchmakerLaunchConfigLogGroup"
}
}
},
"Parameters": {
"AmiId": {
"AllowedPattern": "^ami-[0-9a-z]{8}$|^ami-[0-9a-z]{17}$",
Expand Down

0 comments on commit 6ea6de4

Please sign in to comment.