-
Notifications
You must be signed in to change notification settings - Fork 826
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6a670c
commit a52c2d7
Showing
5 changed files
with
72 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
output "vmss_public_ip_fqdn" { | ||
value = azurerm_public_ip.vmss.fqdn | ||
value = azurerm_public_ip.vmss.fqdn | ||
} | ||
|
||
output "jumpbox_public_ip_fqdn" { | ||
value = azurerm_public_ip.jumpbox.fqdn | ||
value = azurerm_public_ip.jumpbox.fqdn | ||
} | ||
|
||
output "jumpbox_public_ip" { | ||
value = azurerm_public_ip.jumpbox.ip_address | ||
} | ||
|
||
output "vm_private_key" { | ||
value = tls_private_key.rsa-4096.private_key_pem | ||
value = azurerm_public_ip.jumpbox.ip_address | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,42 @@ | ||
variable "packer_resource_group_name" { | ||
description = "Name of the resource group in which the Packer image will be created" | ||
default = "myPackerImages" | ||
description = "Name of the resource group in which the Packer image will be created" | ||
default = "myPackerImages" | ||
} | ||
|
||
variable "packer_image_name" { | ||
description = "Name of the Packer image" | ||
default = "myPackerImage" | ||
description = "Name of the Packer image" | ||
default = "myPackerImage" | ||
} | ||
|
||
variable "resource_group_name" { | ||
description = "Name of the resource group in which the Packer image will be created" | ||
default = "myPackerImages" | ||
description = "Name of the resource group in which the Packer image will be created" | ||
default = null | ||
} | ||
|
||
variable "location" { | ||
default = "eastus" | ||
description = "Location where resources will be created" | ||
default = "eastus" | ||
description = "Location where resources will be created" | ||
} | ||
|
||
variable "tags" { | ||
description = "Map of the tags to use for the resources that are deployed" | ||
type = map(string) | ||
default = { | ||
environment = "codelab" | ||
} | ||
description = "Map of the tags to use for the resources that are deployed" | ||
type = map(string) | ||
default = { | ||
environment = "codelab" | ||
} | ||
} | ||
|
||
variable "application_port" { | ||
description = "Port that you want to expose to the external load balancer" | ||
default = 80 | ||
description = "Port that you want to expose to the external load balancer" | ||
default = 80 | ||
} | ||
|
||
variable "admin_user" { | ||
description = "User name to use as the admin account on the VMs that will be part of the VM scale set" | ||
default = "azureuser" | ||
description = "User name to use as the admin account on the VMs that will be part of the VM scale set" | ||
default = "azureuser" | ||
} | ||
|
||
variable "admin_password" { | ||
description = "Default password for admin account" | ||
description = "Default password for admin account" | ||
default = null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters