ecs-atlantis

cloudposse/ecs-atlantis/aws

Terraform Module HCL AWS

Terraform module for deploying Atlantis as an ECS Task

Install
module "ecs-atlantis" {
source = "cloudposse/ecs-atlantis/aws"
version = "0.24.1"
}
plain text: /constructs/tfmod-cloudposse-ecs-atlantis-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-aws-ecs-atlantis ![Latest Release](https://github.com/cloudposse/terraform-aws-ecs-atlantis/releases/latest) ![Slack Community](https://slack.cloudposse.com) [![README Header][readme_header_img]][readme_header_link] [![Cloud Posse][logo]](https://cpco.io/homepage) !terraform-aws-ecs-atlantis A Terraform module for deploying Atlantis to an AWS ECS cluster. --- This project is part of our comprehensive "SweetOps" approach towards DevOps. [ ][share_email] [ ][share_googleplus] [ ][share_facebook] [ ][share_reddit] [ ][share_linkedin] [ ][share_twitter] ![Terraform Open Source Modules][terraform_modules] It's 100% Open Source and licensed under the APACHE2. We literally have [hundreds of terraform modules][terraform_modules] that are Open Source and well-maintained. Check them out! S

Inputs (50)
NameTypeDescriptionDefault
label_key_casestringControls the letter case of the `tags` keys (label names) for tags generated by required
stagestringID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'bu required
label_orderlist(string)The order in which the labels (ID elements) appear in the `id`. Defaults to ["na required
vpc_idstringVPC ID for the ECS Cluster required
id_length_limitnumberLimit `id` to this many characters (minimum 6). Set to `0` for unlimited length. required
ecs_cluster_namestringName of the ECS cluster to deploy Atlantis required
alb_dns_namestringDNS name of ALB required
enabledboolSet to false to prevent the module from creating any resources required
atlantis_gh_userstringAtlantis GitHub user required
alb_arn_suffixstringThe ARN suffix of the ALB required
environmentstringID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'st required
container_repo_credentialsmap(string)Container repository credentials; required when using a private repo. This map c required
overwrite_ssm_parameterboolWhether to overwrite an existing SSM parametertrue
authentication_cognito_user_pool_domainstringCognito User Pool Domain. The User Pool Domain should be set to the domain prefi""
additional_tag_mapmap(string)Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not add{}
desired_countnumberAtlantis desired number of tasks1
alb_target_group_alarms_ok_actionslist(string)A list of ARNs (i.e. SNS Topic ARN) to execute when ALB Target Group alarms tran[]
short_namestringAlantis short DNS name (e.g. `atlantis`)"atlantis"
security_group_idslist(string)Additional Security Group IDs to allow into ECS Service.[]
alb_ingress_listener_unauthenticated_prioritynumberThe priority for the rules without authentication, between 1 and 50000 (1 being 50
github_webhooks_token_ssm_namestringSSM param name to lookup `github_webhooks_token` if not provided""
github_webhooks_tokenstringGitHub OAuth Token with permissions to create webhooks. If not provided the toke""
authentication_oidc_token_endpointstringOIDC Token Endpoint""
labels_as_tagsset(string)Set of labels (ID elements) to include as tags in the `tags` output. Default is [ "default" ]
alb_ingress_authenticated_listener_arns_countnumberThe number of authenticated ARNs in `alb_ingress_authenticated_listener_arns`. T0
alb_ingress_unauthenticated_listener_arns_countnumberThe number of unauthenticated ARNs in `alb_ingress_unauthenticated_listener_arns0
authentication_cognito_user_pool_arnstringCognito User Pool ARN""
ecs_alarms_enabledboolA boolean to enable/disable CloudWatch Alarms for ECS Service metricsfalse
ssh_private_key_namestringAtlantis SSH private key name"atlantis_ssh_private_key"
github_oauth_token_ssm_namestringSSM param name to lookup `github_oauth_token` if not provided""
atlantis_gh_webhook_secretstringAtlantis GitHub webhook secret""
authentication_cognito_user_pool_domain_ssm_namestringSSM param name to lookup `authentication_cognito_user_pool_domain` if not provid""
… and 10 more inputs
Outputs (50)
codebuild_badge_url — The URL of the build badge when badge_enabled is enabled
ecs_alarms_memory_utilization_low_cloudwatch_metric_alarm_id — ECS Memory utilization low CloudWatch metric alarm ID
httpcode_elb_5xx_count_cloudwatch_metric_alarm_arn — ALB 5xx count CloudWatch metric alarm ARN
ecr_repository_url — Repository URL
container_definition_json — JSON encoded list of container definitions for use with other terraform resources such as aws_ecs_ta
ecs_task_exec_role_name — ECS Task role name
codepipeline_arn — CodePipeline ARN
httpcode_target_5xx_count_cloudwatch_metric_alarm_arn — ALB Target Group 5xx count CloudWatch metric alarm ARN
codebuild_role_arn — CodeBuild IAM Role ARN
atlantis_webhook_url — atlantis webhook URL
ecr_registry_id — Registry ID
ecs_alarms_cpu_utilization_high_cloudwatch_metric_alarm_arn — ECS CPU utilization high CloudWatch metric alarm ARN
httpcode_elb_5xx_count_cloudwatch_metric_alarm_id — ALB 5xx count CloudWatch metric alarm ID
codepipeline_webhook_url — The CodePipeline webhook's URL. POST events to this endpoint to trigger the target
ecs_alarms_memory_utilization_high_cloudwatch_metric_alarm_id — ECS Memory utilization high CloudWatch metric alarm ID
ecs_alarms_memory_utilization_high_cloudwatch_metric_alarm_arn — ECS Memory utilization high CloudWatch metric alarm ARN
httpcode_target_4xx_count_cloudwatch_metric_alarm_arn — ALB Target Group 4xx count CloudWatch metric alarm ARN
ecs_task_exec_role_arn — ECS Task exec role ARN
ecs_task_role_name — ECS Task role name
ecs_task_definition_revision — ECS task definition revision
codebuild_project_id — CodeBuild project ID
codebuild_cache_bucket_name — CodeBuild cache S3 bucket name
codebuild_cache_bucket_arn — CodeBuild cache S3 bucket ARN
ecs_alarms_cpu_utilization_high_cloudwatch_metric_alarm_id — ECS CPU utilization high CloudWatch metric alarm ID
httpcode_target_5xx_count_cloudwatch_metric_alarm_id — ALB Target Group 5xx count CloudWatch metric alarm ID
ecr_repository_name — Repository name
ecs_service_security_group_id — Security Group ID of the ECS task
ecs_task_definition_family — ECS task definition family
codebuild_project_name — CodeBuild project name
codebuild_role_id — CodeBuild IAM Role ID
… and 20 more outputs
Resources (5)
aws_iam_role_policy_attachmentaws_route53_recordaws_security_group_ruleaws_ssm_parameterrandom_string
Details
FrameworkTerraform Module
LanguageHCL
Version0.24.1
Cloud AWS
★ Stars52
Forks17
Total downloads6.9k
Inputs50
Outputs50
Resources5
Examples4
LicenseApache-2.0
Namespacecloudposse
Updated