diff --git a/app/scripts/modules/amazon/src/instance/details/instance.details.controller.js b/app/scripts/modules/amazon/src/instance/details/instance.details.controller.js index 7b81b6d1877..880948d708f 100644 --- a/app/scripts/modules/amazon/src/instance/details/instance.details.controller.js +++ b/app/scripts/modules/amazon/src/instance/details/instance.details.controller.js @@ -86,7 +86,7 @@ module.exports = angular function retrieveInstance() { var extraData = {}; - var instanceSummary, loadBalancers, targetGroups, account, region, vpcId; + var instanceSummary, loadBalancers, targetGroups, account, region, vpcId, serverGroupDisabled; if (!app.serverGroups) { // standalone instance instanceSummary = { id: instance.instanceId }; // terminate call expects `id` to be populated @@ -104,6 +104,7 @@ module.exports = angular account = serverGroup.account; region = serverGroup.region; vpcId = serverGroup.vpcId; + serverGroupDisabled = serverGroup.isDisabled; extraData.serverGroup = serverGroup.name; extraData.vpcId = serverGroup.vpcId; return true; @@ -194,6 +195,7 @@ module.exports = angular $scope.instance.account = account; $scope.instance.region = region; $scope.instance.vpcId = vpcId; + $scope.instance.serverGroupDisabled = serverGroupDisabled; $scope.instance.loadBalancers = loadBalancers; $scope.instance.targetGroups = targetGroups; if ($scope.instance.networkInterfaces) { diff --git a/app/scripts/modules/amazon/src/instance/details/instanceDetails.html b/app/scripts/modules/amazon/src/instance/details/instanceDetails.html index 572ce503d05..3f15ea881bf 100644 --- a/app/scripts/modules/amazon/src/instance/details/instanceDetails.html +++ b/app/scripts/modules/amazon/src/instance/details/instanceDetails.html @@ -39,7 +39,10 @@