Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
from pprint import pprint
import requests
postdata = {
"cluster_name": "deploy_test_cluster"
,"spark_version": "3.3.x-scala2.11"
,"node_type_id": "r4.xlarge"
"min_workers": 2,
"max_workers": 4,
,'ebs_volume_type': "THROUGHPUT_OPTIMIZED_HDD"
,"spark_conf": {
"spark.speculation": True
"aws_attributes": {
"availability": "SPOT",
"zone_id": "us-east-1c",
create =""
,auth=('*******','*******'), json=postdata)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.