Code Monkey home page Code Monkey logo

terraform-aws-rds-aurora's Introduction

Terraform Module for AWS RDS Aurora Clusters

Requirements

Name Version
terraform >= 1.3.2
aws >= 5.40

Providers

Name Version
aws >= 5.40

Modules

No modules.

Resources

Name Type
aws_ecs_cluster.this resource
aws_ecs_cluster_capacity_providers.example resource
aws_iam_policy.task_exec resource
aws_iam_role.task_exec resource
aws_iam_role_policy_attachment.task_exec resource
aws_iam_role_policy_attachment.task_exec_managed resource
aws_iam_policy_document.task_exec data source
aws_iam_policy_document.task_exec_assume data source

Inputs

Name Description Type Default Required
capacity_providers (Optional) Set of names of one or more capacity providers to associate with the cluster. Valid values also include FARGATE and FARGATE_SPOT. list(string)
[
"FARGATE"
]
no
configuration (Optional) The details of the execute command configuration. Detailed below.
- execute_command_configuration - (Optional) The details of the execute command configuration. Detailed below.
- kms_key_id - (Optional) The KMS key that the Amazon ECS container agent uses to encrypt the data between the local agent and the Amazon ECS service. If the key is not specified, the data is encrypted using the Amazon ECS-Managed encryption key. If a key is specified, the other settings in the execute_command_configuration block are required.
- logging - (Optional) The log configuration for the execute command configuration. Detailed below.
- log_configuration - (Optional) The log configuration for the execute command configuration. Detailed below.
- cloud_watch_encryption_enabled - (Optional) Whether or not to enable encryption on the CloudWatch logs. Default is false.
- cloud_watch_log_group_name - (Optional) The name of the CloudWatch log group to send logs to.
- s3_bucket_name - (Optional) The name of the S3 bucket to send logs to.
- s3_bucket_encryption_enabled - (Optional) Whether or not to enable encryption on the S3 bucket. Default is false.
- s3_key_prefix - (Optional) The prefix to use when storing logs in the S3 bucket.
list(object({
execute_command_configuration = object({
kms_key_id = optional(string)
logging = optional(string)
log_configuration = optional(object({
cloud_watch_encryption_enabled = optional(bool)
cloud_watch_log_group_name = optional(string)
s3_bucket_name = optional(string)
s3_bucket_encryption_enabled = optional(bool)
s3_key_prefix = optional(string)
}))
})
}))
[] no
create (Optional) Whether to create the ECS cluster (if set to false, it will only create a service and task definition) bool true no
default_capacity_provider_strategy (Optional) The default capacity provider strategy for the cluster. The default capacity provider strategy is used when services or tasks are run without a specified launch type or capacity provider strategy. Detailed below.
- base - (Optional) The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined.
- weight - (Optional) The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The weight value is taken into consideration after the base value, if defined, is satisfied.
- capacity_provider - (Required) The short name of the capacity provider.
list(object({
base = optional(number)
weight = optional(number)
capacity_provider = string
}))
[] no
name (Required) Name of the cluster (up to 255 letters, numbers, hyphens, and underscores) string n/a yes
service_connect_defaults (Required) The ARN of the aws_service_discovery_http_namespace that's used when you create a service and don't specify a Service Connect configuration."
- namespace - (Required) The ARN of the aws_service_discovery_http_namespace that's used when you create a service and don't specify a Service Connect configuration.
list(object({
namespace = string
}))
[] no
setting (Optional) The settings to use when creating the cluster. Detailed below.
- name - (Required) The name of the setting.
- value - (Required) The value of the setting.
list(object({
name = string
value = string
}))
[
{
"name": "containerInsights",
"value": "enabled"
}
]
no
tags (Optional) Key-value mapping of resource tags map(string) {} no

Outputs

Name Description
arn ARN that identifies the cluster
id ARN that identifies the cluster

terraform-aws-rds-aurora's People

Contributors

rajivreddy avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.