italovinicius18 opened a new issue, #28023:
URL: https://github.com/apache/airflow/issues/28023

   ### What do you see as an issue?
   
   Here is the command i'm using to create the VM:
   
   ```py
   CLUSTER_CONFIG = {
       "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},
       },
   }
   
   create_cluster = DataprocCreateClusterOperator(
       task_id="create_cluster",
       project_id=PROJECT_ID,
       cluster_config=CLUSTER_CONFIG,
       region=REGION,
       cluster_name=CLUSTER_NAME,
   )
   ```
   
   And I'm following the document below:
   
   
https://airflow.apache.org/docs/apache-airflow-providers-google/stable/operators/cloud/dataproc.html
   
https://airflow.apache.org/docs/apache-airflow-providers-google/stable/_api/airflow/providers/google/cloud/operators/dataproc/index.html#airflow.providers.google.cloud.operators.dataproc.ClusterGenerator
   
https://airflow.apache.org/docs/apache-airflow-providers-google/stable/_modules/airflow/providers/google/cloud/operators/dataproc.html#ClusterGenerator
   
   But I want to add the options of shielded VM, like the options below:
   
   ```py
   {
     "enableSecureBoot": True,
     "enableVtpm": True,
     "enableIntegrityMonitoring": True
   }
   ```
   But i don't know which parameter I specify these options, and I need a help 
to solve this.
   
   I've tried to put this on 'properties' parameter of ClusterGenerator, but 
this doesn't work.
   
   Can someone help me?
   
   ### Solving the problem
   
   I believe that if the documentation was more detailed, I could identify if 
my problem is the missing feature, seeing that I could help create this 
feature, but I cannot identify if this shielded vm parameter can be applied to 
the ClusterGenerator function
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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