-
Notifications
You must be signed in to change notification settings - Fork 331
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
Make list targets work again #1210
Conversation
docs/source/getting-started.rst
Outdated
@@ -103,6 +103,20 @@ Deploy | |||
python manage.py configure aws_account_id 111111111111 # Replace with your 12-digit AWS account ID | |||
python manage.py configure prefix <value> # Choose a unique name prefix (alphanumeric characters only) | |||
|
|||
.. note:: | |||
|
|||
* Update the ``file_format`` value in ``conf/lambda.json``, choose ``parquet`` or ``json``. We will set default value to ``parquet`` in the future release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update to:
Update the
file_format
value inconf/lambda.json
. Valid options areparquet
orjson
. The default value will beparquet
in a future release, but this must be manually configured at this time.
docs/source/getting-started.rst
Outdated
"log_level": "info" | ||
} | ||
|
||
* For more information, please visit :ref:`historical_search` page for more information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is redundant.. For more information .... for more information
Please update to:
More information can be found on the :ref:
historical_search
page
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually -- can we stop using ref
items so much. they're ugly an unnecessary most of the time
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you update this to:
More information can be found on the `historical search <historical-search.html>`_ page.
see example here: https://raw.githubusercontent.com/airbnb/streamalert/530a154fd446a133868a49997bfbb47deb598c82/docs/source/datasources.rst:
To configure datasources, read `datasource configuration <conf-datasources.html>`_
docs/source/historical-search.rst
Outdated
@@ -1,4 +1,5 @@ | |||
################# | |||
.. _historical_search: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove this
@@ -409,7 +409,7 @@ def get_tf_modules(config, generate=False): | |||
|
|||
modules = set() | |||
resources = set() | |||
for root, _, files in os.walk('terraform'): | |||
for root, _, files in os.walk(TERRAFORM_FILES_PATH): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good find thank youuu!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some comments, please address - lgtm otherwise. thank you so much for adding tests!!
@@ -618,7 +618,7 @@ def generate_global_lambda_settings(config, config_name, generate_func, tf_tmp_f | |||
'It is required to explicitly set "file_format" for ' | |||
'athena_partition_refresh_config in "conf/lambda.json" when upgrading to v3.1.0. ' | |||
'Available values are "parquet" and "json". For more information, refer to ' | |||
'https://github.com/airbnb/streamalert/issues/1143' | |||
'https://github.com/airbnb/streamalert/issues/1143. ' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why the trailing space here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need a space between ....issues/1143
and In the future release
. The message
is in one line.
to: @airbnb/streamalert-maintainers
related to:
resolves:
Background
Deploy a fresh copy of
release-3-1-0
branch to staging environment, for, fun 🤷♀ and found couple minor bugs.Changes
python manage.py list-targets
command is broken due to recent change of terraform files path.WARNING
messing to remind user to updatefile_format
setting.Note
ingetting_started
doc to remind user to updatefile_format
setting.Testing
release-3-1-0
branchpython manage.py configure aws_account_id 111111111111
python manage.py configure prefix cylinrelease31
python manage.py init
ConfigError warming to set "file_format" to "parquet" in "athena_partition_refresh_config"
raised.python manage.py init
and StreamAlert initialization was successful.conf/global.json
python manage.py build
python manage.py deploy --function classifier
python manage.py deploy --function athena