All Projects → cn-terraform → terraform-aws-ecs-fargate-scheduled-task

cn-terraform / terraform-aws-ecs-fargate-scheduled-task

Licence: Apache-2.0 license
AWS ECS Fargate Schedule Task Terraform Module

Programming Languages

HCL
1544 projects

Projects that are alternatives of or similar to terraform-aws-ecs-fargate-scheduled-task

provose
Provose is a new way to manage your Amazon Web Services infrastructure.
Stars: ✭ 27 (+8%)
Mutual labels:  ecs, amazon-web-services, terraform-module
terraform-aws-ecs-web-app
Terraform module that implements a web app on ECS and supports autoscaling, CI/CD, monitoring, ALB integration, and much more.
Stars: ✭ 175 (+600%)
Mutual labels:  ecs, terraform-module, ecs-task
terraform-aws-ecs-fargate-task-definition
Terraform module to create AWS ECS Fargate Task Definition
Stars: ✭ 20 (-20%)
Mutual labels:  ecs, terraform-module, ecs-fargate
terraform-aws-ecs-fargate-service
AWS ECS Fargate Service Terraform Module
Stars: ✭ 52 (+108%)
Mutual labels:  amazon-web-services, terraform-module, ecs-fargate
AutoSpotting
Saves up to 90% of AWS EC2 costs by automating the use of spot instances on existing AutoScaling groups. Installs in minutes using CloudFormation or Terraform. Convenient to deploy at scale using StackSets. Uses tagging to avoid launch configuration changes. Automated spot termination handling. Reliable fallback to on-demand instances.
Stars: ✭ 2,058 (+8132%)
Mutual labels:  amazon-web-services, terraform-module
terraform-aws-ecs-cloudwatch-sns-alarms
Terraform module to create CloudWatch Alarms on ECS Service level metrics.
Stars: ✭ 23 (-8%)
Mutual labels:  ecs, terraform-module
Ecs Deploy
Powerful CLI tool to simplify Amazon ECS deployments, rollbacks & scaling
Stars: ✭ 541 (+2064%)
Mutual labels:  ecs, amazon-web-services
Compose Cli
Easily run your Compose application to the cloud with compose-cli
Stars: ✭ 353 (+1312%)
Mutual labels:  ecs, amazon-web-services
Amazon Ecs Interstella Workshop
Amazon ECS Interstella Workshops CON209/318/319/407
Stars: ✭ 57 (+128%)
Mutual labels:  ecs, amazon-web-services
terraform-aws-sonarqube
SonarQube Terraform Module for AWS
Stars: ✭ 28 (+12%)
Mutual labels:  amazon-web-services, terraform-module
terraform-aws-ecs-alb-service-task
Terraform module which implements an ECS service which exposes a web service via ALB.
Stars: ✭ 108 (+332%)
Mutual labels:  ecs, terraform-module
Autospotting
Saves up to 90% of AWS EC2 costs by automating the use of spot instances on existing AutoScaling groups. Installs in minutes using CloudFormation or Terraform. Convenient to deploy at scale using StackSets. Uses tagging to avoid launch configuration changes. Automated spot termination handling. Reliable fallback to on-demand instances.
Stars: ✭ 2,014 (+7956%)
Mutual labels:  amazon-web-services, terraform-module
Amazon Ecs Nodejs Microservices
Reference architecture that shows how to take a Node.js application, containerize it, and deploy it as microservices on Amazon Elastic Container Service.
Stars: ✭ 483 (+1832%)
Mutual labels:  ecs, amazon-web-services
terraform-aws-ecs-web-service
A Terraform module to create an Amazon Web Services (AWS) EC2 Container Service (ECS) service associated with an Application Load Balancer (ALB).
Stars: ✭ 26 (+4%)
Mutual labels:  ecs, amazon-web-services
ecs-deplojo
Deployment tool for Amazon ECS
Stars: ✭ 19 (-24%)
Mutual labels:  ecs, amazon-web-services
terraform-aws-ecs-fargate-task-definition
AWS ECS Fargate Task Definition Terraform Module
Stars: ✭ 20 (-20%)
Mutual labels:  terraform-module, ecs-fargate
ecsdemo-crystal
Part 4 of a 4 part ECS Workshop
Stars: ✭ 54 (+116%)
Mutual labels:  ecs
cog
Macro powered ECS Framework written in Haxe
Stars: ✭ 29 (+16%)
Mutual labels:  ecs
terraform-aws-config
This module configures AWS Config, a service that enables you to assess, audit, and evaluate the configurations of your AWS resources.
Stars: ✭ 24 (-4%)
Mutual labels:  terraform-module
URSA
[DEPRECATED] integrated ECS framework for Unity
Stars: ✭ 30 (+20%)
Mutual labels:  ecs

AWS ECS Fargate Scheduled Task Terraform Module

This Terraform module deploys an AWS ECS Fargate scheduled task service.

Usage

Check versions for this module on:

Other modules that you may need to use this module

The Networking module:

The ECS Cluster module:

The ECS Task Definition module:

Install pre commit hooks.

Pleas run this command right after cloning the repository.

    pre-commit install

For that you may need to install the following tools:

In order to run all checks at any point run the following command:

    pre-commit run --all-files

Requirements

Name Version
terraform >= 0.13
aws >= 4
local 2.1.0

Providers

Name Version
aws 4.0.0

Modules

No modules.

Resources

Name Type
aws_cloudwatch_event_rule.event_rule resource
aws_cloudwatch_event_target.ecs_scheduled_task resource
aws_iam_role.scheduled_task_cw_event_role resource
aws_iam_role_policy.scheduled_task_cw_event_role_cloudwatch_policy resource
aws_iam_policy_document.scheduled_task_cw_event_role_assume_role_policy data source
aws_iam_policy_document.scheduled_task_cw_event_role_cloudwatch_policy data source

Inputs

Name Description Type Default Required
ecs_cluster_arn The ECS Cluster where the scheduled task will run any n/a yes
ecs_execution_task_role_arn (Required) The task definition execution role. The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. any n/a yes
ecs_task_role_arn (Optional) The task definition role. The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. any null no
event_rule_description (Optional) The description of the rule. any null no
event_rule_event_bus_name (Optional) The event bus to associate with this rule. If you omit this, the default event bus is used. any null no
event_rule_event_pattern (Optional) The event pattern described a JSON object. At least one of schedule_expression or event_pattern is required. any null no
event_rule_is_enabled (Optional) Whether the rule should be enabled (defaults to true). bool true no
event_rule_name The name of the rule. any n/a yes
event_rule_role_arn (Optional) The Amazon Resource Name (ARN) associated with the role that is used for target invocation. any null no
event_rule_schedule_expression (Optional) The scheduling expression. For example, cron(0 20 * * ? *) or rate(5 minutes). At least one of event_rule_schedule_expression or event_rule_event_pattern is required. Can only be used on the default event bus. any null no
event_target_ecs_target_assign_public_ip (Optional) Assign a public IP address to the ENI. Default false. bool false no
event_target_ecs_target_group (Optional) Specifies an ECS task group for the task. The maximum length is 255 characters. any null no
event_target_ecs_target_platform_version (Optional) Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as 1.1.0. For more information about valid platform versions, see AWS Fargate Platform Versions. Default to LATEST string "LATEST" no
event_target_ecs_target_propagate_tags (Optional) Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated. bool false no
event_target_ecs_target_security_groups (Optional) The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. list(any) null no
event_target_ecs_target_subnets The subnets associated with the task or service. list(any) n/a yes
event_target_ecs_target_task_count (Optional) The number of tasks to create based on the TaskDefinition. The default is 1. number 1 no
event_target_ecs_target_task_definition_arn (Required) The ARN of the task definition to use if the event target is an Amazon ECS cluster. any n/a yes
event_target_input (Optional) Valid JSON text passed to the target. Conflicts with event_target_input_path. any null no
event_target_input_path (Optional) The value of the JSONPath that is used for extracting part of the matched event when passing it to the target. Conflicts with event_target_input. any null no
event_target_target_id (Optional) The unique target assignment ID. If missing, will generate a random, unique id. any null no
name_prefix Name prefix for resources on AWS any n/a yes

Outputs

Name Description
aws_cloudwatch_event_rule_event_rule_arn The Amazon Resource Name (ARN) of the CloudWatch Event Rule.
aws_cloudwatch_event_rule_event_rule_id The name of the rule.
aws_iam_role_policy_scheduled_task_cw_event_role_cloudwatch_policy_id The role policy ID, in the form of role_name:role_policy_name.
aws_iam_role_policy_scheduled_task_cw_event_role_cloudwatch_policy_name The name of the policy.
aws_iam_role_policy_scheduled_task_cw_event_role_cloudwatch_policy_policy The policy document attached to the role.
aws_iam_role_policy_scheduled_task_cw_event_role_cloudwatch_policy_role The name of the role associated with the policy.
scheduled_task_cw_event_role_arn The Amazon Resource Name (ARN) specifying the role.
scheduled_task_cw_event_role_create_date The creation date of the IAM role.
scheduled_task_cw_event_role_description The description of the role.
scheduled_task_cw_event_role_id The name of the role.
scheduled_task_cw_event_role_name The name of the role.
scheduled_task_cw_event_role_unique_id The stable and unique string identifying the role.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].