Skip to content

Commit

Permalink
Merge pull request #7 from belodetek/ab77/operational
Browse files Browse the repository at this point in the history
change default instance size
  • Loading branch information
ab77 authored Apr 23, 2023
2 parents 43fd780 + 93c7f03 commit 8585723
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion main-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ Parameters:
- t4g.large
InstanceSizeSpot:
Type: String
Default: t4g.nano
Default: t4g.micro
AllowedValues:
- t2.micro
- t3.micro
Expand Down

0 comments on commit 8585723

Please sign in to comment.