feat(tofu): adding information outputs
adding enable disable support for deployment
This commit is contained in:
@ -64,6 +64,7 @@ else
|
||||
if [ ! -f "${TOKENRC}" ]; then
|
||||
echo "service_url=${service_url}" >> "${TOKENRC}"
|
||||
echo "refresh_token=${refresh_token}" >> "${TOKENRC}"
|
||||
echo "username=${username}" >> "${TOKENRC}"
|
||||
chmod 600 ${TOKENRC}
|
||||
fi
|
||||
fi
|
||||
@ -77,5 +78,6 @@ fi
|
||||
ARG1=${@:$OPTIND:1}
|
||||
|
||||
export TF_VAR_vra_url="${service_url}"
|
||||
export TF_VAR_vra_username="${username}"
|
||||
export TF_VAR_vra_refresh_token="${refresh_token}"
|
||||
tofu ${ARG1}
|
||||
tofu ${ARG1} -no-color
|
Reference in New Issue
Block a user