From 93c7f03e6689690da5d180716a9511e648cb4f5b Mon Sep 17 00:00:00 2001 From: belodetek <2033996+ab77@users.noreply.github.com> Date: Sun, 23 Apr 2023 09:58:10 -0700 Subject: [PATCH] change defult instance size change-type: patch --- README.md | 8 ++++---- main-template.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5290b43..c9a4313 100644 --- a/README.md +++ b/README.md @@ -104,10 +104,10 @@ --environment-name ${ebs_frontend_env} | jq -r .Environments[].VersionLabel) backend_app_bundle=$(aws elasticbeanstalk describe-application-versions \ - --application-name ${ebs_app} | jq -r --arg label $backend_version_label '.ApplicationVersions[] | select(.VersionLabel=="$label").SourceBundle.S3Key') + --application-name ${ebs_app} | jq -r --arg vl "$backend_version_label" '.ApplicationVersions[] | select(.VersionLabel==$vl).SourceBundle.S3Key') frontend_app_bundle=$(aws elasticbeanstalk describe-application-versions \ - --application-name ${ebs_app} | jq -r --arg label $frontend_version_label '.ApplicationVersions[] | select(.VersionLabel=="$label").SourceBundle.S3Key') + --application-name ${ebs_app} | jq -r --arg vl "$frontend_version_label" '.ApplicationVersions[] | select(.VersionLabel==$vl).SourceBundle.S3Key') date +%s > eb-python-flask/.ts @@ -244,7 +244,7 @@ # (re)source env vars (e.g.) env-dev cat .ebextensions/environment.template | envsubst \ - | grep -E 'option_settings:|aws:elasticbeanstalk:|^.*:\s[^\n]' > .ebextensions/environment.config + | grep -E 'option_settings:|aws:|^.*:\s[^\n]' > .ebextensions/environment.config cat .ebextensions/environment.config @@ -345,7 +345,7 @@ # (re)source env vars (e.g.) env-dev cat .ebextensions/environment.template | envsubst \ - | grep -E 'option_settings:|aws:elasticbeanstalk:|^.*:\s[^\n]' > .ebextensions/environment.config + | grep -E 'option_settings:|aws:|^.*:\s[^\n]' > .ebextensions/environment.config cat .ebextensions/environment.config diff --git a/main-template.yml b/main-template.yml index c9a2f1d..b74ca35 100644 --- a/main-template.yml +++ b/main-template.yml @@ -167,7 +167,7 @@ Parameters: - t4g.large InstanceSizeSpot: Type: String - Default: t4g.nano + Default: t4g.micro AllowedValues: - t2.micro - t3.micro