airbnb/streamalert

[terraform] move the root terraform files into the streamalert_cli package

ryandeivert opened this issue · 1 comments

Background

The root terraform directory contains modules that are specifically used by the streamalert_cli package.

Desired Change

Move the terraform directory into the streamalert_cli package and maybe rename to something like infrastructure since there is already a terraform module there that is used for generation code.

Future Change

Once setuptools is implemented for the repo, add the package_data attribute to include these files.. like:

...
    package_data={
        'streamalert_cli': [
            'infrastructure/*',
        ]
    },
...

The CLI should also be updated to include support for feeding in arbitrary terraform files that the user wants to include in their deployment.

The packaged terraform files and the user files should be combined and copied to a temp dir.

complete with #1194 + #1200