library
turbot/gcp
- Add IAM Policy Binding to KMS Key
- Add Labels to Compute Disk
- Add Labels to Compute Image
- Add Labels to Compute Instance
- Add or Update Labels on Compute Snapshot
- Add or Update Labels on Dataproc Cluster
- Add Labels to DNS Managed Zone
- Update Labels on Pub/Sub Subscription
- Add Labels to Pub/Sub Topic
- Add Labels to SQL Instance
- Update Labels on Storage Bucket
- Add Metadata to Instance
- Add Metadata to Compute Project Info
- Attach Compute Disk to Instance
- Clone Cloud SQL Instance
- Create API Key
- Create Compute Disk
- Create Compute Instance
- Create Compute Engine Snapshot
- Create Logging Metric
- Create Logging Sink
- Create Monitoring Policy
- Create Pub/Sub Subscriptions
- Create Pub/Sub Topics
- Create Cloud SQL Instance
- Create Storage Buckets
- Create VPC Firewall Rule
- Create VPC
- Create VPC Subnet
- Delete Access Config from Instance
- Delete All Objects and Storage Bucket
- Delete AlloyDB Cluster
- Delete AlloyDB Instance
- Delete API Key
- Delete Compute Address
- Delete Compute Disk
- Delete Compute Instance
- Delete Compute Engine Snapshot
- Delete Dataproc Cluster
- Delete GKE Cluster
- Delete Pub/Sub Subscriptions
- Delete Pub/Sub Topics
- Delete Redis Instance
- Delete Service Account Key
- Delete Cloud SQL Instance
- Delete Storage Buckets
- Delete VPC Firewall Rule
- Delete VPC Network
- Delete VPC Subnet
- Delete VPN Gateway
- Detach Compute Disk from Instance
- Enable Cloud Service
- Get Compute Instance Details
- List Compute Disks
- List Pub/Sub Topics
- List Storage Buckets
- Remove all Labels from Compute Disk
- Remove IAM Policy Binding from KMS Key
- Remove Labels from Compute Instance
- Remove Labels from Dataproc Cluster
- Remove Labels from DNS Managed Zone
- Remove Labels from SQL Instance
- Remove Labels from Storage Bucket
- Remove Metadata from Instance
- Remove Specific Label from Compute Disk
- Remove Specific Label from Compute Image
- Remove Specific Label from Compute Instance
- Remove Labels from Compute Snapshot
- Remove Labels from Pub/Sub Subscription
- Remove Labels from Pub/Sub Topic
- Set Machine Type
- Set Service Account for Instance
- Start Compute Instance
- Stop Compute Instance
- Stop SQL Instance
- Manage Pub/Sub topic
- Update Access Approval Settings
- Update API Key
- Update Compute Backend Service
- Update Compute Disk
- Update Compute Instance
- Update Compute Node Group
- Update DNS Managed Zone
- Update KMS Key
- Update Logging Bucket
- Update Pub/Sub Subscriptions
- Update Pub/Sub Topics
- Update SQL Instance
- Update Storage Bucket
- Update VPC Firewall Rule
- Update VPC Subnet
Get Involved
Version
Create Cloud SQL Instance
This pipeline creates a new Cloud SQL instance.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run gcp.pipeline.create_sql_instance \ --arg 'project_id=<string>' \ --arg 'instance_name=<string>' \ --arg 'region=<string>' \ --arg 'database_version=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = gcp.pipeline.create_sql_instance args = { project_id = <string> instance_name = <string> region = <string> database_version = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
cred | string | Yes | The GCP application credentials file path. | default |
project_id | string | Yes | The GCP project ID. | - |
instance_name | string | Yes | The name of the Cloud SQL instance to create. | - |
region | string | Yes | The GCP region for the Cloud SQL instance. | - |
database_version | string | Yes | The version of the Cloud SQL database (e.g., MYSQL_8_0). | - |
Outputs
Name | Description |
---|---|
sql_instance | Information about the created Cloud SQL instance. |
Tags
type = featured