ecs-cluster

bryan-rhm/ecs-cluster/aws

Terraform Module HCL AWS

Terraform module to spin up an ECS Cluster

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

Requirements | Name | Version | |------|---------| | terraform | >= 0.13.4 | | aws | >= 3.43.0 | Providers | Name | Version | |------|---------| | aws | 3.70.0 | Modules No modules. Resources | Name | Type | |------|------| | aws_ecs_cluster.cluster | resource | Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | capacity\_provider\_name | Name to give to the capacity provider created out of the ASG specified. | string | null | no | | cloud\_watch\_encryption | Whether or not to enable encryption on the CloudWatch logs. | bool | true | no | | cloud\_watch\_log\_group\_name | The name of the CloudWatch log group to send logs to. | string | null | no | | default\_capacity\_provider | Name of the capacity provider to use by default fo

Inputs (12)
NameTypeDescriptionDefault
namestringThe name of the ECS cluster. Must be less than or equal to 255 characters in lennull
capacity_provider_namestringName to give to the capacity provider created out of the ASG specified.null
default_capacity_providerstringName of the capacity provider to use by default for the cluster."FARGATE"
default_capacity_provider_weightnumberThe relative percentage of the total number of launched tasks that should use th1
logging_settingstringThe log setting to use for redirecting logs for your execute command results."NONE"
s3_bucket_namestringThe name of the S3 bucket to send logs to.null
s3_key_prefixstringAn optional folder in the S3 bucket to place logs in.null
tagsmap(any)A map of tags to assign to all the resources{}
kms_key_arnstringThe AWS Key Management Service key ID to encrypt the data between the local clienull
cloud_watch_encryptionboolWhether or not to enable encryption on the CloudWatch logs.true
cloud_watch_log_group_namestringThe name of the CloudWatch log group to send logs to.null
s3_bucket_encryptionboolWhether or not to enable encryption on the logs sent to S3.true
Outputs (1)
output — ECS cluster object
Resources (1)
aws_ecs_cluster
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud AWS
★ Stars0
Forks0
Total downloads3.5k
Inputs12
Outputs1
Resources1
LicenseApache-2.0
Namespacebryan-rhm
Updated