library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Set Service Account for Instance

This pipeline sets the service account and scopes for a Google Compute Engine instance.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.set_service_account_for_compute_instance \
--arg 'project_id=<string>' \
--arg 'zone=<string>' \
--arg 'instance_name=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = gcp.pipeline.set_service_account_for_compute_instance
args = {
project_id = <string>
zone = <string>
instance_name = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesThe GCP application credentials file path.default
project_idstringYesThe GCP project ID.-
zonestringYesThe GCP zone.-
instance_namestringYesThe name of the compute instance.-
service_accountstringNoThe service account to set for the instance.-
scopeslist(string)NoThe list of scopes to set for the instance.-

Outputs

This pipeline has no outputs.