Google Cloud Accounts were added in Octopus 2021.2.
To deploy infrastructure to Google Cloud Platform, you can define a Google cloud account in Octopus.
Octopus manages the GCP credentials used by the Google cloud steps.
The Google cloud account is the JSON key file credentials that can be retrieved from the service account assigned to the instance that is executing the deployment.
Create a Google cloud account
Google Cloud steps can use an Octopus managed account for authentication.
- Navigate to Infrastructure ➜ Accounts, click the ADD ACCOUNT and select Google Cloud Account.
- Add a memorable name for the account.
- Provide a description for the account.
- Upload the JSON key file.
See the Google cloud documentation for instructions to create a service account and download the key file.
- Click the SAVE AND TEST to save the account and verify the credentials are valid.
Google Cloud steps can also defer to the service account assigned to the instance/virtual machine that hosts the Octopus Tentacles for authentication. In this scenario there is no need to create a Google Cloud account in Octopus Deploy.
Google cloud account variables
You can access your Google cloud account from within projects through a variable of type Google Cloud Account Variable. Learn more about Google Cloud Account Variables
- How to use the Run gcloud in a Script step
Help us continuously improve
Please let us know if you have any feedback about this page.
Last updated Sunday, January 1, 2023