Skip to content

Latest commit

 

History

History
118 lines (107 loc) · 13.7 KB

README.md

File metadata and controls

118 lines (107 loc) · 13.7 KB

Requirements

Name Version
dockerless 0.1.1

Providers

Name Version
aws n/a
dockerless 0.1.1
null n/a
random n/a

Modules

No modules.

Resources

Name Type
aws_alb.ecs resource
aws_alb_listener.http resource
aws_alb_listener_rule.this resource
aws_alb_target_group.this resource
aws_appmesh_mesh.this resource
aws_appmesh_virtual_node.this resource
aws_cloudwatch_log_group.ecs_cloudwatch_logs resource
aws_ecr_repository.this resource
aws_ecs_cluster.dibbs_app_cluster resource
aws_ecs_service.this resource
aws_ecs_task_definition.this resource
aws_flow_log.ecs_flow_log resource
aws_iam_policy.s3_bucket_ecr_viewer resource
aws_iam_role.ecs_task resource
aws_iam_role.ecs_task_execution resource
aws_iam_role.s3_role_for_ecr_viewer resource
aws_s3_bucket.ecr_viewer resource
aws_s3_bucket_public_access_block.ecr_viewer resource
aws_s3_bucket_server_side_encryption_configuration.ecr_viewer resource
aws_s3_bucket_versioning.ecr_viewer resource
aws_security_group.alb resource
aws_security_group.ecs resource
aws_security_group_rule.alb_egress resource
aws_security_group_rule.alb_http_ingress resource
aws_security_group_rule.alb_https_ingress resource
aws_security_group_rule.ecs_alb_ingress resource
aws_security_group_rule.ecs_all_egress resource
aws_security_group_rule.ecs_ecs_ingress resource
aws_service_discovery_private_dns_namespace.this resource
aws_vpc_endpoint.endpoints resource
aws_vpc_endpoint.s3 resource
dockerless_remote_image.dibbs resource
null_resource.target_groups resource
random_string.s3_viewer resource
aws_caller_identity.current data source
aws_ecr_authorization_token.this data source
aws_iam_policy.amazon_ec2_container_service_for_ec2_role data source
aws_iam_policy.ecs_task_execution data source
aws_iam_policy_document.assume_role data source
aws_iam_policy_document.ecr_viewer_s3 data source
aws_route_table.this data source

Inputs

Name Description Type Default Required
appmesh_name Name of the AWS App Mesh string "" no
cloudmap_namespace_name Name of the AWS Cloud Map namespace string "" no
cloudmap_service_name Name of the AWS Cloud Map service string "" no
cw_retention_in_days Retention period in days for CloudWatch logs number 30 no
disable_ecr Flag to disable the aws ecr service for docker image storage, defaults to false bool false no
ecr_viewer_app_env The current environment that is running. This may modify behavior of auth between dev and prod. string "prod" no
ecr_viewer_auth_pub_key The public key used to validate the incoming authenication for the eCR Viewer. string "-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAqjrH9PprQCB5dX15zYfd\nS6K2ezNi/ZOu8vKEhQuLqwHACy1iUt1Yyp2PZLIV7FVDgBHMMVWPVx3GJ2wEyaJw\nMHkv6XNpUpWLhbs0V1T7o/OZfEIqcNua07OEoBxX9vhKIHtaksWdoMyKRXQJz0js\noWpawfOWxETnLqGvybT4yvY2RJhquTXLcLu90L4LdvIkADIZshaOtAU/OwI5ATcb\nfE3ip15E6jIoUm7FAtfRiuncpI5l/LJPP6fvwf8QCbbUJBZklLqcUuf4qe/L/nIq\npIONb8KZFWPhnGeRZ9bwIcqYWt3LAAshQLSGEYl2PGXaqbkUD2XLETSKDjisxd0g\n9j8bIMPgBKi+dBYcmBZnR7DxJe+vEDDw8prHG/+HRy5fim/BcibTKnIl8PR5yqHa\nmWQo7N+xXhILdD9e33KLRgbg97+erHqvHlNMdwDhAfrBT+W6GCdPwp3cePPsbhsc\noGSHOUDhzyAujr0J8h5WmZDGUNWjGzWqubNZD8dBXB8x+9dDoWhfM82nw0pvAeKf\nwJodvn3Qo8/S5hxJ6HyGkUTANKN8IxWh/6R5biET5BuztZP6jfPEaOAnt6sq+C38\nhR9rUr59dP2BTlcJ19ZXobLwuJEa81S5BrcbDwYNOAzC8jl2EV1i4bQIwJJaY27X\nIynom6unaheZpS4DFIh2w9UCAwEAAQ==\n-----END PUBLIC KEY-----\n" no
ecr_viewer_basepath The basepath for the ecr-viewer string "/ecr-viewer" no
ecs_alb_name Name of the Application Load Balancer (ALB) string "" no
ecs_alb_sg Name of the ECS ALB Security Group string "" no
ecs_alb_tg_name Name of the ALB Target Group string "" no
ecs_cloudwatch_group Name of the AWS CloudWatch Log Group for ECS string "" no
ecs_cluster_name Name of the ECS Cluster string "" no
ecs_task_execution_role_name Name of the ECS Task Execution Role string "" no
ecs_task_role_name Name of the ECS Task Role string "" no
internal Flag to determine if the several AWS resources are public (intended for external access, public internet) or private (only intended to be accessed within your AWS VPC or avaiable with other means, a transit gateway for example). bool true no
non_integrated_viewer A flag to determine if the viewer is the non-integrated version string "false" no
owner Owner of the resources string "CDC" no
phdi_version Version of the PHDI application string "v1.6.9" no
private_subnet_ids List of private subnet IDs list(string) n/a yes
project The project name string "dibbs" no
public_subnet_ids List of public subnet IDs list(string) n/a yes
region The AWS region where resources are created string n/a yes
s3_viewer_bucket_name Name of the S3 bucket for the viewer string "" no
s3_viewer_bucket_role_name Name of the IAM role for the ecr-viewer bucket string "" no
service_data Data for the DIBBS services
map(object({
short_name = string
fargate_cpu = number
fargate_memory = number
app_count = number
app_image = string
app_version = string
container_port = number
host_port = number
public = bool
registry_url = string
env_vars = list(object({
name = string
value = string
}))
}))
{} no
tags Tags to apply to resources map(string) {} no
vpc_id ID of the VPC string n/a yes

Outputs

Name Description
alb_arn n/a
alb_listener_arn n/a
alb_listener_rules_arns n/a
alb_security_group_arn n/a
alb_target_groups_arns n/a
ecs_cluster_arn n/a
ecs_security_group_arn n/a
ecs_task_definitions_arns n/a
ecs_task_execution_role_arn n/a
ecs_task_role_arn n/a
s3_bucket_arn The ARN of the S3 bucket
s3_bucket_ecr_viewer_policy_arn n/a
s3_role_for_ecr_viewer_arn n/a
service_data n/a