Add outputs for Azure ingress IPv4 and worker pools

This commit is contained in:
Dalton Hubble
2018-08-27 21:30:26 -07:00
parent 991a5c6cee
commit 019009e9ee
6 changed files with 65 additions and 24 deletions

View File

@ -50,12 +50,6 @@ variable "os_image" {
description = "Channel for a Container Linux derivative (coreos-stable, coreos-beta, coreos-alpha)"
}
variable "disk_size" {
type = "string"
default = "40"
description = "Size of the disk in GB"
}
variable "priority" {
type = "string"
default = "Regular"

View File

@ -8,8 +8,9 @@ locals {
resource "azurerm_virtual_machine_scale_set" "workers" {
resource_group_name = "${var.resource_group_name}"
name = "${var.name}-workers"
location = "${var.region}"
name = "${var.name}-workers"
location = "${var.region}"
single_placement_group = false
sku {
name = "${var.vm_type}"
@ -76,7 +77,7 @@ resource "azurerm_virtual_machine_scale_set" "workers" {
resource "azurerm_autoscale_setting" "workers" {
resource_group_name = "${var.resource_group_name}"
name = "maintain-desired"
name = "${var.name}-maintain-desired"
location = "${var.region}"
# autoscale