From 3458ce8deb3835ae343c09d2509766da9982f903 Mon Sep 17 00:00:00 2001 From: Sergei Radich <167222022+v-SergeiRadich@users.noreply.github.com> Date: Tue, 11 Aug 2026 14:00:19 +0200 Subject: [PATCH] [MacOS] Add brew trust for all used taps (#14543) --- images/macos/scripts/build/install-aws-tools.sh | 1 + images/macos/scripts/build/install-common-utils.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/images/macos/scripts/build/install-aws-tools.sh b/images/macos/scripts/build/install-aws-tools.sh index db4565b739..601627d314 100644 --- a/images/macos/scripts/build/install-aws-tools.sh +++ b/images/macos/scripts/build/install-aws-tools.sh @@ -12,6 +12,7 @@ sudo installer -pkg "$awscliv2_pkg_path" -target / echo "Installing aws sam cli..." brew tap aws/tap +brew trust aws/tap brew_smart_install aws-sam-cli echo "Install aws cli session manager" diff --git a/images/macos/scripts/build/install-common-utils.sh b/images/macos/scripts/build/install-common-utils.sh index 7c1cfb4f4f..8df49202c7 100644 --- a/images/macos/scripts/build/install-common-utils.sh +++ b/images/macos/scripts/build/install-common-utils.sh @@ -12,6 +12,8 @@ for package in $common_packages; do case "$package" in packer) # Packer has been deprecated in Homebrew. Use tap to install Packer. + brew tap hashicorp/tap + brew trust hashicorp/tap brew install hashicorp/tap/packer ;;