From eba7af2946b427ed86f331f1a00bceef06acfa00 Mon Sep 17 00:00:00 2001 From: Carson Long Date: Wed, 4 Oct 2023 19:18:35 -0700 Subject: [PATCH] fix(bbl-up): Use mikefarah/yq flags It appears that we used to use `kislyuk/yq` but #167 switched us to `mikefarah/yq` unintentionally. It appears that `--output-format yaml` will work for `mikefarah/yq` the same way that `--yaml-output` worked for `kislyuk/yq`. --- bbl-up/task | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bbl-up/task b/bbl-up/task index 13ed55cc..7af91357 100755 --- a/bbl-up/task +++ b/bbl-up/task @@ -116,10 +116,10 @@ function main() { ns_record_advisory="For DNS delegation to work, please ensure an NS record for ${LB_DOMAIN} is created in its parent DNS zone with the following nameservers:" if [[ "$BBL_IAAS" == "aws" ]]; then echo "$ns_record_advisory" - bbl outputs | yq '.env_dns_zone_name_servers[0:4]' --yaml-output | cut -d' ' -f2 + bbl outputs | yq '.env_dns_zone_name_servers[0:4]' --output-format yaml | cut -d' ' -f2 elif [[ "$BBL_IAAS" == "gcp" ]]; then echo "$ns_record_advisory" - bbl outputs | yq '.system_domain_dns_servers' --yaml-output | cut -d' ' -f2 + bbl outputs | yq '.system_domain_dns_servers' --output-format yaml | cut -d' ' -f2 fi if [[ "${DELETE_TERRAFORM_PLUGINS}" == "true" ]]; then