Replace client_secret to client_cert_path (#5579)

This commit is contained in:
Aleksandr Chebotov
2022-05-20 13:51:55 +03:00
committed by GitHub
parent dc7d03e49d
commit c93738bd53
7 changed files with 18 additions and 1 deletions
+6
View File
@@ -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"