parameterize ca script
This commit is contained in:
parent
0a4af15521
commit
791f5672e3
3 changed files with 6 additions and 6 deletions
3
debian/main.tf
vendored
3
debian/main.tf
vendored
|
@ -22,7 +22,8 @@ module "tf_debian_vm" {
|
|||
disk_base_pool = coalesce(var.disk_base_pool, module.invariants.disk_base_pool)
|
||||
cloudinit_pool = coalesce(var.cloudinit_pool, module.invariants.cloudinit_pool)
|
||||
bridge_name = coalesce(var.bridge_name, module.invariants.bridge_name)
|
||||
ca_host = coalesce(var.ca_host, module.invariants.ca_host)
|
||||
ca_host = module.invariants.ca_host
|
||||
ca_script = module.invariants.ca_script
|
||||
memory = var.memory
|
||||
data_disk = var.data_disk
|
||||
fixed_address = var.fixed_address
|
||||
|
|
5
debian/variables.tf
vendored
5
debian/variables.tf
vendored
|
@ -47,11 +47,6 @@ variable "bridge_name" {
|
|||
default = null
|
||||
}
|
||||
|
||||
variable "ca_host" {
|
||||
type = string
|
||||
default = null
|
||||
}
|
||||
|
||||
variable "memory" {
|
||||
type = number
|
||||
default = 1024
|
||||
|
|
|
@ -28,3 +28,7 @@ output "bridge_name" {
|
|||
output "ca_host" {
|
||||
value = "hermes.dmz"
|
||||
}
|
||||
|
||||
output "ca_script" {
|
||||
value = "/root/ssh_ca/ssh_ca.sh"
|
||||
}
|
||||
|
|
Reference in a new issue