From 27fb35ea820122ee9fab762375886d9f3d25de29 Mon Sep 17 00:00:00 2001 From: Xavier Schildwachter Date: Thu, 20 Apr 2023 15:29:02 -0700 Subject: [PATCH] [Resolves #5] Remove version restriction (#6) We should not restrict allowable Sceptre or Troposphere versions. --- entrypoint.sh | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 57454f7..b538d76 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -10,14 +10,9 @@ function parseInputs { fi # Optional inputs - sceptreVer='2.3.0' + sceptreVer='4.0.2' if [[ "${INPUT_SCEPTRE_VERSION}" != "" ]]; then - if [[ "${INPUT_SCEPTRE_VERSION}" =~ ^2[.][0-9][.][0-9]$ ]]; then sceptreVer=${INPUT_SCEPTRE_VERSION} - else - echo "Unsupported sceptre version" - exit 1 - fi else echo "Input sceptre_version cannot be empty!" exit 1 @@ -43,15 +38,9 @@ function parseInputs { exit 1 fi - sceptreTroposphereVer='2.6.0' + sceptreTroposphereVer='4.3.2' if [[ "${INPUT_SCEPTRE_TROPOSPHERE_VERSION}" != "" ]]; then - if [[ "${INPUT_SCEPTRE_TROPOSPHERE_VERSION}" =~ ^2[.][0-9][.][0-9]$ ]]; then sceptreTroposphereVer=${INPUT_SCEPTRE_TROPOSPHERE_VERSION} - else - echo "Unsupported troposphere version, must be >2.0.0" - echo "Version entered: ${INPUT_SCEPTRE_TROPOSPHERE_VERSION}" - exit 1 - fi else echo "Input sceptre_troposphere_version cannot be empty!" exit 1