VM Launcher: configuration file
🐍 file-to-firestore python call
Parameters
Description
👁️🗨️ Example
{
"configuration_type": "vm-launcher",
"configuration_id": "000001_json_to_firestore_freshness_next_execution",
"environment": "DEV",
"account": "000099",
"activated": true,
"archived": false,
"direct_execution": true,
"gcp_project_id": "my-project",
"gcs_bucket": "my-bucket",
"gcs_working_directory": "gbq-to-firestore",
"credentials": {
"gcp-credentials.json": {
"content": {
"cipher_aes": "xxx",
"tag": "xxx",
"ciphertext": "xxx",
"enc_session_key": "xxx"
}
}
},
"script_to_execute": [
"pip3 install google-cloud-firestore simplejson pytz",
"python3 file-to-firestore.py ./000001 '{\"next_execution\":{\"sub_dir\":\"next_execution\",\"file_template\":\"freshness_next_execution_data-*.json\"}}'"
],
"vm_delete": true,
"vm_core_number": "2",
"vm_memory_amount": "4",
"vm_disk_size": "20",
"vm_compute_zone": "europe-west1-b",
"vm_custom_os_image_family": "ubuntu-2004-lts",
"vm_custom_os_image_project": "ubuntu-os-cloud"
}

Last updated