Skip to content

Commit

Permalink
[apps] fixing terraform bug where app iam would not be targeted durin…
Browse files Browse the repository at this point in the history
…g deploy (airbnb#757)
  • Loading branch information
ryandeivert authored Jun 4, 2018
1 parent aec1cfd commit aeabf80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stream_alert_cli/manage_lambda/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ def _create_and_upload(function_name, config, cluster=None):
),
'apps': PackageMap(
stream_alert_packages.AppIntegrationPackage,
{'module.app_{}_{}_lambda'.format(app_info['app_name'], cluster)
{'module.app_{}_{}_{}'.format(app_info['app_name'], cluster, suffix)
for suffix in {'lambda', 'iam'}
for cluster, info in config['clusters'].iteritems()
for app_info in info['modules'].get('stream_alert_apps', {}).values()
if 'app_name' in app_info},
Expand Down

0 comments on commit aeabf80

Please sign in to comment.