This Terraform Module will help get you started quickly with the Access bot in your own AWS account.
Name | Version |
---|---|
aws | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
aws_subnet_ids | subnet ids needed for ECS FARGATE PLACEMENT, Subnets should be part of the same VPC_ID | list(string) |
n/a | yes |
aws_vpc_id | VPC ID for Security groups. | string |
n/a | yes |
docker_image | The docker image to launch within Fargate | string |
n/a | yes |
slack_app_token | Slack application token (Secret) | string |
n/a | yes |
slack_bot_token | Slack Bot token (Secret) | string |
n/a | yes |
tags | n/a | map |
{ |
no |
This is just an example of how the module can be used within your own terraform code.
Example of module Usage.
module "cloud_access_bot_fargate" {
source = "git::ssh://git@github.com/perkbox/cloud-access-bot//terraform?ref=master"
slack_app_token = "xapp-1-A02K..."
slack_bot_token = "xoxb-2557..."
docker_image = "alpine:latest"
aws_subnet_ids = ["subnet-1110022","subnet-12345aeee"]
aws_vpc_id = "vpc-812b69fe4"
tags = {
Stack = "CloudAccessBot"
ManagedBy = "Terraform"
}
}