Add - at the beginning of the line: delete-tf-backend: -${AWS_AUTH_PREFIX} aws s3api delete-bucket --bucket ${TF_BACKEND_BUCKET} --region ${AWS_REGION} -${AWS_AUTH_PREFIX} aws dynamodb delete-table --table-name ${TF_BACKEND_TABLE} --region ${AWS_REGION}