code-deploy

cloudposse/code-deploy/aws

Terraform Module HCL AWS

Terraform module to provision AWS Code Deploy app and group.

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

terraform-aws-code-deploy ![Latest Release](https://github.com/cloudposse/terraform-aws-code-deploy/releases/latest) ![Slack Community](https://slack.cloudposse.com) ![Discourse Forum](https://ask.sweetops.com/) [![README Header][readme_header_img]][readme_header_link] [![Cloud Posse][logo]](https://cpco.io/homepage) Terraform module to provision AWS Code Deploy app and group. --- 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

Inputs (35)
NameTypeDescriptionDefault
deployment_styleobject({ deployment_optionConfiguration of the type of deployment, either in-place or blue/green, you wan required
blue_green_deployment_configanyConfiguration block of the blue/green deployment options for a deployment group, required
enabledboolSet to false to prevent the module from creating any resources required
tenantstringID element _(Rarely used, not included by default)_. A customer identifier, indi required
id_length_limitnumberLimit `id` to this many characters (minimum 6). Set to `0` for unlimited length. required
label_value_casestringControls the letter case of ID elements (labels) as included in `id`, set as tag required
service_role_arnstringThe service IAM role ARN that allows deployments. required
load_balancer_infomap(any)Single configuration block of the load balancer to use in a blue/green deploymen required
namestringID element. Usually the component or solution name, e.g. 'app' or 'jenkins'. Thi required
label_orderlist(string)The order in which the labels (ID elements) appear in the `id`. Defaults to ["na required
alarm_configurationobject({ alarms Configuration of deployment to stop when a CloudWatch alarm detects that a metri required
ecs_servicelist(object({ cluster_nameConfiguration block(s) of the ECS services for a deployment group. cluster_name required
namespacestringID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp' required
stagestringID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'bu required
label_key_casestringControls the letter case of the `tags` keys (label names) for tags generated by required
traffic_routing_configobject({ type = stritype: Type of traffic routing config. One of `TimeBasedCanary`, `TimeBasedLine required
sns_topic_arnstringThe ARN of the SNS topic through which notifications are sent. required
environmentstringID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'st required
delimiterstringDelimiter to be used between ID elements. Defaults to `-` (hyphen). Set to `""` required
regex_replace_charsstringTerraform regular expression (regex) string. Characters matching the regex will required
create_default_sns_topicboolWhether to create default SNS topic through which notifications are sent.true
trigger_eventslist(string)The event type or types for which notifications are triggered. Some values that[ "DeploymentFailure" ]
descriptor_formatsanyDescribe additional descriptors to be output in the `descriptors` output map. Ma{}
create_default_service_roleboolWhether to create default IAM role ARN that allows deployments.true
tagsmap(string)Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`). Neither the tag keys nor the t{}
auto_rollback_configuration_eventsstringThe event type or types that trigger a rollback. Supported types are `DEPLOYMENT"DEPLOYMENT_FAILURE"
ec2_tag_setset(object( { ec2_taA list of sets of tag filters. If multiple tag groups are specified, any instanc[]
contextanySingle object for setting entire context at once. See description of individual { "additional_tag_map": {}, "attribu
compute_platformstringThe compute platform can either be `ECS`, `Lambda`, or `Server`"ECS"
ec2_tag_filterset(object({ key = strinThe Amazon EC2 tags on which to filter. The deployment group includes EC2 instan[]
labels_as_tagsset(string)Set of labels (ID elements) to include as tags in the `tags` output. Default is [ "default" ]
attributeslist(string)ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`, []
additional_tag_mapmap(string)Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not add{}
autoscaling_groupslist(string)A list of Autoscaling Groups associated with the deployment group.[]
Outputs (5)
deployment_config_name — The deployment group's config name.
deployment_config_id — The deployment config ID.
id — The application ID.
name — The application's name.
group_id — The application group ID.
Resources (5)
aws_codedeploy_appaws_codedeploy_deployment_configaws_codedeploy_deployment_groupaws_iam_roleaws_iam_role_policy_attachment
Details
FrameworkTerraform Module
LanguageHCL
Version0.2.3
Cloud AWS
★ Stars17
Forks23
Total downloads366.2k
Inputs35
Outputs5
Resources5
Examples1
LicenseApache-2.0
Namespacecloudposse
Updated