From 1eae5baec1487edd8e5d9377943922a098aeb68e Mon Sep 17 00:00:00 2001 From: Pavel Iakovenko Date: Mon, 19 Aug 2024 11:00:28 -0700 Subject: [PATCH] [macOS] Treat github-api-pat as sensitive variable (#10453) --- images/macos/templates/macOS-12.anka.pkr.hcl | 5 +++-- images/macos/templates/macOS-13.anka.pkr.hcl | 5 +++-- images/macos/templates/macOS-13.arm64.anka.pkr.hcl | 5 +++-- images/macos/templates/macOS-14.anka.pkr.hcl | 5 +++-- images/macos/templates/macOS-14.arm64.anka.pkr.hcl | 5 +++-- 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/images/macos/templates/macOS-12.anka.pkr.hcl b/images/macos/templates/macOS-12.anka.pkr.hcl index eb1fff11..dc366199 100644 --- a/images/macos/templates/macOS-12.anka.pkr.hcl +++ b/images/macos/templates/macOS-12.anka.pkr.hcl @@ -54,8 +54,9 @@ variable "vm_password" { } variable "github_api_pat" { - type = string - default = "" + type = string + sensitive = true + default = "" } variable "xcode_install_storage_url" { diff --git a/images/macos/templates/macOS-13.anka.pkr.hcl b/images/macos/templates/macOS-13.anka.pkr.hcl index c3587434..9725cf43 100644 --- a/images/macos/templates/macOS-13.anka.pkr.hcl +++ b/images/macos/templates/macOS-13.anka.pkr.hcl @@ -54,8 +54,9 @@ variable "vm_password" { } variable "github_api_pat" { - type = string - default = "" + type = string + sensitive = true + default = "" } variable "xcode_install_storage_url" { diff --git a/images/macos/templates/macOS-13.arm64.anka.pkr.hcl b/images/macos/templates/macOS-13.arm64.anka.pkr.hcl index abfd0996..a5aa126e 100644 --- a/images/macos/templates/macOS-13.arm64.anka.pkr.hcl +++ b/images/macos/templates/macOS-13.arm64.anka.pkr.hcl @@ -54,8 +54,9 @@ variable "vm_password" { } variable "github_api_pat" { - type = string - default = "" + type = string + sensitive = true + default = "" } variable "xcode_install_storage_url" { diff --git a/images/macos/templates/macOS-14.anka.pkr.hcl b/images/macos/templates/macOS-14.anka.pkr.hcl index 638388f1..d0ac071e 100644 --- a/images/macos/templates/macOS-14.anka.pkr.hcl +++ b/images/macos/templates/macOS-14.anka.pkr.hcl @@ -54,8 +54,9 @@ variable "vm_password" { } variable "github_api_pat" { - type = string - default = "" + type = string + sensitive = true + default = "" } variable "xcode_install_storage_url" { diff --git a/images/macos/templates/macOS-14.arm64.anka.pkr.hcl b/images/macos/templates/macOS-14.arm64.anka.pkr.hcl index 547c5670..5a1a0927 100644 --- a/images/macos/templates/macOS-14.arm64.anka.pkr.hcl +++ b/images/macos/templates/macOS-14.arm64.anka.pkr.hcl @@ -54,8 +54,9 @@ variable "vm_password" { } variable "github_api_pat" { - type = string - default = "" + type = string + sensitive = true + default = "" } variable "xcode_install_storage_url" {