gcp stack output includes firewall
This commit is contained in:
parent
1e2ad899eb
commit
aa5e3a5640
2 changed files with 8 additions and 1 deletions
|
@ -90,10 +90,14 @@ if [[ -x $TERRAFORM_BIN ]]; then
|
|||
echo "Could not find environment variables matching: $(echo "^TF_${PATTERN}")"
|
||||
} || {
|
||||
unset $TOCLEAR
|
||||
echo "Cleared the following vars: $TOCLEAR"
|
||||
echo "Cleared the following vars: $(echo "$TOCLEAR" | xargs echo)"
|
||||
}
|
||||
}
|
||||
|
||||
function get-tf-env-plan() {
|
||||
set | grep '^TF\(_\(VAR_[a-z]\)\|\([A-Z_]TARGET=\)\)' | grep '\b='
|
||||
}
|
||||
|
||||
function clear-tf-env-vars() {
|
||||
clear-tf-env 'VAR_[a-z]'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue