mirror of
https://github.com/trailofbits/buttercup
synced 2026-06-21 14:11:39 +00:00
3fd777063b
* Test configuration for Azure deployment * ci: re-enable docker build/push * ci: docker push labeled PRs * Use `make deploy` for both local and azure deployments * doc: update AKS_DEPLOYMENT doc * add confirmation in Makefile * Make resource group location configurable
63 lines
1.5 KiB
Terraform
63 lines
1.5 KiB
Terraform
variable "resource_group_location" {
|
|
type = string
|
|
default = "eastus"
|
|
description = "Location of the resource group."
|
|
}
|
|
|
|
variable "resource_group_name_prefix" {
|
|
type = string
|
|
default = "example"
|
|
description = "Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription."
|
|
}
|
|
|
|
variable "resource_group_name" {
|
|
type = string
|
|
default = null
|
|
description = "Name of the existing resource group to use. If not set, a new resource group will be created with a random name using resource_group_name_prefix."
|
|
}
|
|
|
|
variable "sys_node_count" {
|
|
type = number
|
|
description = "The initial quantity of nodes for the node pool."
|
|
default = 2
|
|
}
|
|
|
|
variable "usr_node_count" {
|
|
type = number
|
|
description = "The initial quantity of nodes for the node pool."
|
|
default = 3
|
|
}
|
|
|
|
variable "username" {
|
|
type = string
|
|
description = "The admin username for the new cluster."
|
|
default = "azureadmin"
|
|
}
|
|
|
|
variable "vm_size" {
|
|
type = string
|
|
description = "The size of the VM to use for the nodes."
|
|
default = "Standard_L16s"
|
|
}
|
|
|
|
variable "ARM_SUBSCRIPTION_ID" {
|
|
type = string
|
|
description = "Azure subscription ID"
|
|
}
|
|
|
|
variable "ARM_TENANT_ID" {
|
|
type = string
|
|
description = "Azure tenant ID"
|
|
}
|
|
|
|
variable "ARM_CLIENT_ID" {
|
|
type = string
|
|
description = "Azure client ID"
|
|
}
|
|
|
|
variable "ARM_CLIENT_SECRET" {
|
|
type = string
|
|
sensitive = true
|
|
description = "Azure client secret"
|
|
}
|