Replace client_secret to client_cert_path (#5579)
This commit is contained in:
@@ -24,6 +24,11 @@ variable "client_secret" {
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "client_cert_path" {
|
||||
type = string
|
||||
default = "${env("ARM_CLIENT_CERT_PATH")}"
|
||||
}
|
||||
|
||||
variable "commit_url" {
|
||||
type = string
|
||||
default = ""
|
||||
@@ -146,6 +151,7 @@ source "azure-arm" "build_vhd" {
|
||||
capture_name_prefix = "${var.capture_name_prefix}"
|
||||
client_id = "${var.client_id}"
|
||||
client_secret = "${var.client_secret}"
|
||||
client_cert_path = "${var.client_cert_path}"
|
||||
image_offer = "0001-com-ubuntu-server-jammy"
|
||||
image_publisher = "canonical"
|
||||
image_sku = "22_04-lts"
|
||||
|
||||
Reference in New Issue
Block a user