diff --git a/.gitignore b/.gitignore index 1e9fc3a..d25bdfe 100755 --- a/.gitignore +++ b/.gitignore @@ -2,8 +2,9 @@ **/builds/** lambda_golang/landing -lambda_golang/story +lambda_golang/stories lambda_golang/landing_metadata +lambda_golang/story venv # Binaries for programs and plugins diff --git a/cloud_environments/terraform.sh b/cloud_environments/terraform.sh index c882829..0414f72 100755 --- a/cloud_environments/terraform.sh +++ b/cloud_environments/terraform.sh @@ -21,6 +21,7 @@ if ( cd $GOLANG_SRC_DIR && \ go build ./cmd/landing && \ go build ./cmd/landing_metadata && \ + go build ./cmd/stories && \ go build ./cmd/story && \ cd $PYTHON_SRC_DIR && python -m compileall layer src ); then diff --git a/cloud_module/api.tf b/cloud_module/api.tf index db1daa0..6e7603f 100755 --- a/cloud_module/api.tf +++ b/cloud_module/api.tf @@ -93,29 +93,11 @@ module "slack_command_lambda" { } } - # allow lambda to invoke step function - attach_policy_json = true - policy_json = <