couchbase-partners / google-deployment-manager-couchbase

Google Deployment Manager (DM) templates for Couchbase Enterprise
Apache License 2.0
11 stars 9 forks source link

External IP reporting #29

Closed khajduczenia closed 6 years ago

khajduczenia commented 6 years ago

This should be reviewed after #28.

This PR implements writing the external IP of one of the instances of a managed instance group to the group's dedicated variable. The variable value is then used to write the IP to an output of the DM template.

Variables are created and then watched with Deployment Manager's actions - new DM feature allowing to call REST API endpoints from inside the template.