skip to Main Content

Launch Template UserData is not MIME multipart format

I am trying to use a launch template for AWS batch jobs. The user-data template file is: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="==BOUNDARY==" --==BOUNDARY== Content-Type: text/cloud-boothook; charset="us-ascii" #cloud-boothook #!/bin/bash cloud-init-per once docker_options echo 'OPTIONS="$${OPTIONS} --storage-opt dm.basesize=20G"' >> /etc/sysconfig/docker --==BOUNDARY== Content-Type: text/cloud-config;…

VIEW QUESTION

Connect to Athena without access?

I need to connect to Athena using Python. The code used is as follows: import pyathena import pandas as pd athena_conn = pyathena.connect(access_key, secret_key, s3_staging_dir, region_name) df = pd.read_sql("SELECT * FROM db.tableLIMIT 10", athena_conn) df.head(5) I, personally don't have access…

VIEW QUESTION
Back To Top
Search