No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
policies
task_definitions
user_data
.gitignore
MIT-LICENSE.txt
README.md
aws_alb.tf
aws_alb_listener.tf
aws_alb_target_group.tf
aws_cloudwatch_log_group.tf
aws_db_instance.tf
aws_db_subnet_group.tf
aws_ecr_repository.tf
aws_ecs_cluster.tf
aws_ecs_service.tf
aws_ecs_task_definition.tf
aws_iam_instance_profile.tf
aws_iam_policy.tf
aws_iam_policy_attachment.tf
aws_iam_role.tf
aws_instance.tf
aws_internet_gateway.tf
aws_route_table.tf
aws_route_table_association.tf
aws_security_group.tf
aws_ssm_parameter.tf
aws_subnet.tf
aws_vpc.tf
data.tf
provider.tf
variable.tf

README.md

KPTBoard Terraform

+--------------------------------------------------------+
| VPC (kptboard)                                         |
|--------------------------------------------------------|
|                                                        |
|  +--------------------+                                |
|  | ALB                |                                |
|  |--------------------|                                |
|  | TargetGrops        |                                |
|  | * kptboard         |--------------------------------+------------+
|  +--------------------+                                |            |
|           |                                            |            |
|           |                                            |            |
|           |                                            |            |
|  +--------------------+     +--------------------+     |            |
|  | EC2                |     | RDS                |     |            |
|  |--------------------|     |--------------------|     |            |
|  | Docker             |-----| MySQL              |     |            |
|  | * kptboard (Rails) |     | * kptboard         |     |            |
|  +--------------------+     +--------------------+     |            |
|  |   |     |   |                                       |            |
+--+---+-----+---+---------------------------------------+            |
   |   |     |   |       +---------------------------------------+    |
   |   |     |   |       | IAM Role                              |    |
   |   |     |   |       |---------------------------------------|    |
   |   |     |   |       | kptboard-ecs                          |    |
   |   |     |   |       | * AmazonEC2ContainerServiceRole       |----+
   |   |     |   |       |---------------------------------------|    |
   |   |     |   |       | kptboard-ec2                          |    |
   |   |     |   +-------| * AmazonEC2ContainerServiceforEC2Role |    |
   |   |     |           | * kptboard-ssm                        |    |
   |   |     |           +---------------------------------------+    |
   |   |     |                                                        |
   |   |   +----------------------+                                   |
   |   |   | ECR                  |                                   |
   |   |   |----------------------|                                   |
   |   |   | Repository           |                                   |
   |   |   | * kptboard           |                                   |
   |   |   +----------------------+                                   |
   |   |                                                              |
   |  +----------------------+                                        |
   |  | ECS                  |                                        |
   |  |----------------------|                                        |
   |  | Service              |                                        |
   |  | * kptboard           |----------------------------------------+
   |  |----------------------|
   |  | Task                 |
   |  | * kptboard           |
   |  | * kptboard-migration |
   |  +----------------------+
   |
  +----------------------------+
  | SSM Parameter Store        |
  |----------------------------|
  | * kptboard.database.url    |
  | * kptboard.secret.key.base |
  +----------------------------+