diff --git a/awx/uptime_app.yaml b/awx/uptime_app.yaml index ba5436f..491db84 100644 --- a/awx/uptime_app.yaml +++ b/awx/uptime_app.yaml @@ -44,6 +44,12 @@ source /home/builder/.bashrc export whoami + which gcloud + # The next line updates PATH for the Google Cloud SDK. + if [ -f '/home/builder/google-cloud-sdk/path.bash.inc' ]; then . '/home/builder/google-cloud-sdk/path.bash.inc'; fi + # The next line enables shell command completion for gcloud. + if [ -f '/home/builder/google-cloud-sdk/completion.bash.inc' ]; then . '/home/builder/google-cloud-sdk/completion.bash.inc'; fi + which gcloud gcloud compute addresses describe {{ static_ip_name }} \ --region={{ gcp_region }} \