From 211f859b946992392bcd95f4cdd99649bd265945 Mon Sep 17 00:00:00 2001 From: Olivier H Date: Wed, 23 Feb 2022 09:40:36 +0100 Subject: [PATCH] Fix Pipfile and add aws_profile as a param (#1) * Update serverless.yml * Require python v3.9 Co-authored-by: dudeitssm <36095297+dudeitssm@users.noreply.github.com> --- Pipfile | 2 +- serverless.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Pipfile b/Pipfile index 62332da..eef0497 100644 --- a/Pipfile +++ b/Pipfile @@ -11,4 +11,4 @@ requests = "*" pylint = "*" [requires] -python_version = "3.7" +python_version = "3.9" diff --git a/serverless.yml b/serverless.yml index 46acc3f..3252ea7 100644 --- a/serverless.yml +++ b/serverless.yml @@ -5,7 +5,7 @@ plugins: provider: name: aws # Sane defaults, easy for multi-account/multi-region organizations - profile: ${env:AWS_PROFILE, 'default'} + profile: ${param:aws_profile, env:AWS_PROFILE, 'default'} region: ${env:AWS_REGION, env:AWS_DEFAULT_REGION, 'us-east-1'} runtime: python3.9