mdering commented on issue #28023:
URL: https://github.com/apache/airflow/issues/28023#issuecomment-1333893667

   it looks like this can be specified in the `gce_cluster_config` field. 
referring to here 
https://cloud.google.com/python/docs/reference/dataproc/latest/google.cloud.dataproc_v1.types.ClusterConfig
   so maybe something like (I did not test this)
   
   ```python
   CLUSTER_CONFIG = {
       "gce_cluster_config":{
           "shielded_instance_config":{
               "enableSecureBoot": True,
               "enableVtpm": True,
               "enableIntegrityMonitoring": True
           }
       },
       "master_config": {
           "num_instances": 1,
           "machine_type_uri": "n1-standard-4",
           "disk_config": {"boot_disk_type": "pd-standard", 
"boot_disk_size_gb": 1024},
       },
       "worker_config": {
           "num_instances": 2,
           "machine_type_uri": "n1-standard-4",
           "disk_config": {"boot_disk_type": "pd-standard", 
"boot_disk_size_gb": 1024},
       },
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to