Hi,
I was trying to run the script and even when the shell shows "You're done" actually it get stuck on this script:
echo "Importing the swagger template"
aws apigateway import-rest-api --body 'file:///tmp/apigateway-swagger.json' --region ${REGION} > /tmp/apigateway-import-api --region ${REGION}
GATEWAY_ID=$(cat /tmp/apigateway-import-api | grep id | awk '{print $2}' | xargs |sed -e 's/^"//' -e 's/"$//' -e 's/,$//')
I believe the problem is aws apigateway becuase in shell returns "Invalid base64".
On the documentation it seems like I need to add --cli-binary-format raw-in-base64-out but even with that I don't get the response to create the tmp file.
Hi,
I was trying to run the script and even when the shell shows "You're done" actually it get stuck on this script:
I believe the problem is
aws apigatewaybecuase in shell returns "Invalid base64".On the documentation it seems like I need to add
--cli-binary-format raw-in-base64-outbut even with that I don't get the response to create the tmp file.