/
Create instance with specific version using REST API
Create instance with specific version using REST API
This article can be used to create a CDF instance with a specific version other than the default.
Before you begin
Update and set these environment variables. This uses the Data Fusion API name for prod:
export DATA_FUSION_API_NAME=datafusion.googleapis.com
export PROJECT=sample-project
export LOCATION=us-west1
export INSTANCE_ID=sample-instance
export INSTANCE_TYPE=BASIC
export VERSION=6.1.1
Use this API name for staging:
export DATA_FUSION_API_NAME=staging-datafusion.sandbox.googleapis.com
Use this API name for autopush:
export DATA_FUSION_API_NAME=autopush-datafusion.sandbox.googleapis.com
If you are unsure which versions are supported, you can use this command to get a list of the supported versions:
Create the instance
Run this command to create the instance: