Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beanstalk Bugfix #127

Merged
merged 5 commits into from
Jan 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ dcicutils
Change Log
----------

1.8.4
=====

**PR 127: Beanstalk Bugfix**

* Parses Beanstalk API correctly and passes region.

1.8.3
=====

**No PR: Just fixes to GA PyPi deploy**


1.8.2
=====

Expand Down
6 changes: 4 additions & 2 deletions dcicutils/beanstalk_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,11 @@ def _get_beanstalk_configuration_settings(env):
}
"""
try:
client = boto3.client('elasticbeanstalk')
client = boto3.client('elasticbeanstalk', region_name=REGION)
config = client.describe_configuration_settings(ApplicationName='4dn-web', EnvironmentName=env)
options = config['ConfigurationSettings']['OptionSettings'] # guaranteed to be present
# These are guaranteed to be present
[settings] = config['ConfigurationSettings']
options = settings['OptionSettings']
return options
except ClientError:
logger.error('Error encountered attempting to get environment settings for %s' % env)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "dcicutils"
version = "1.8.3"
version = "1.8.4"
description = "Utility package for interacting with the 4DN Data Portal and other 4DN resources"
authors = ["4DN-DCIC Team <support@4dnucleome.org>"]
license = "MIT"
Expand Down