Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

SlackBot

terraform-aws-ldap-maintainer slackbot module

Overview

This module will deploy a Lambda function with an API Gateway endpoint configured for LAMBDA_PROXY. This lambda function provides slash command support to the ldapmaintainer slack integration.

Supported Slash Commands

cancel|stop: Cancels the current execution start|run: Starts a new scan help|?: this help menu

Requirements

No requirements.

Providers

Name Version
aws n/a
random n/a

Resources

Name Type
aws_iam_policy_document.lambda data source
aws_s3_bucket.artifacts data source

Inputs

Name Description Type Default Required
artifacts_bucket_name Name of the artifacts bucket string n/a yes
step_function_arn State machine ARN that the api gateway is able to perform actions against string n/a yes
target_api_gw_id ID of the api to add the lambda proxy endpoint to string n/a yes
target_api_gw_root_resource_id Root resource ID of the api gateway resource to add the lambda proxy endpoint to string n/a yes
log_level Log level of the lambda output, one of: Debug, Info, Warning, Error, or Critical string "Info" no
project_name Name of the project string "ldap-maintainer" no
slack_api_token API token used by the slack client string "" no
slack_listener_api_endpoint_arn ARN of the slack listener API endpoint string "" no
slack_signing_secret The slack application's signing secret string "" no
tags Map of tags to assign to this module's resources map(string) {} no

Outputs

Name Description
function_arn The ARN of the Lambda function
function_invoke_arn The Invoke ARN of the Lambda function
function_name The name of the Lambda function
function_qualified_arn The qualified ARN of the Lambda function
role_arn The ARN of the IAM role created for the Lambda function
role_name The name of the IAM role created for the Lambda function