cicd
cloudposse/cicd/aws
Terraform Module for CI/CD with AWS Code Pipeline and Code Build
terraform-aws-cicd   [![README Header][readme_header_img]][readme_header_link] [![Cloud Posse][logo]](https://cpco.io/homepage) Terraform module to create AWS CodePipeline with CodeBuild for CI/CD This module supports three use-cases: 1. GitHub -> S3 (build artifact) -> Elastic Beanstalk (running application stack). The module gets the code from a `GitHub repository (public or private), builds it by executing the buildspec.yml file from the repository, pushes the built artifact to an S3 bucket, and deploys the artifact to Elastic Beanstalk running one of the supported stacks (_e.g._ Java, Go, Node, IIS, Python, Ruby, etc.). - http://docs.aws.amazon.com/codebuil
| Name | Type | Description | Default |
|---|---|---|---|
| repo_owner | string | GitHub Organization or Person name | required |
| repo_name | string | GitHub repository name of the application to be built (and deployed to Elastic B | required |
| branch | string | Branch of the GitHub repository, _e.g._ `master` | required |
| github_oauth_token | string | GitHub Oauth Token | required |
| label_key_case | string | Controls the letter case of the `tags` keys (label names) for tags generated by | null |
| webhook_enabled | bool | Set to false to prevent the module from creating any webhook resources | false |
| build_image | string | Docker image for build environment, _e.g._ `aws/codebuild/standard:2.0` or `aws/ | "aws/codebuild/standard:2.0" |
| buildspec | string | Declaration to use for building the project. [For more info](http://docs.aws.am | "" |
| cache_type | string | The type of storage that will be used for the AWS CodeBuild project cache. Valid | "S3" |
| name | string | ID element. Usually the component or solution name, e.g. 'app' or 'jenkins'. Thi | null |
| regex_replace_chars | string | Terraform regular expression (regex) string. Characters matching the regex will | null |
| website_bucket_name | string | Name of the S3 bucket where the website will be deployed | "" |
| build_compute_type | string | `CodeBuild` instance size. Possible values are: ```BUILD_GENERAL1_SMALL``` ```B | "BUILD_GENERAL1_SMALL" |
| region | string | AWS Region, e.g. `us-east-1`. Used as CodeBuild ENV variable when building Docke | "" |
| image_repo_name | string | ECR repository name to store the Docker image built by this module. Used as Code | "UNSET" |
| label_order | list(string) | The order in which the labels (ID elements) appear in the `id`. Defaults to ["na | null |
| label_value_case | string | Controls the letter case of ID elements (labels) as included in `id`, set as tag | null |
| elastic_beanstalk_environment_name | string | Elastic Beanstalk environment name. If not provided or set to empty string, the | "" |
| image_tag | string | Docker image tag in the ECR repository, e.g. 'latest'. Used as CodeBuild ENV var | "latest" |
| environment_variables | list(object( { name | A list of maps, that contain the keys 'name', 'value', and 'type' to be used as | [
{
"name": "NO_ADDITIONAL_BUILD_V |
| website_bucket_acl | string | Canned ACL of the S3 bucket objects that get served as a website, can be private | "public-read" |
| environment | string | ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'st | null |
| descriptor_formats | any | Describe additional descriptors to be output in the `descriptors` output map. Ma | {} |
| access_log_bucket_name | string | Name of the S3 bucket where s3 access log will be sent to | "" |
| … and 9 more inputs | |||
codebuild_role_id — CodeBuild IAM Role IDcodepipeline_id — CodePipeline IDcodebuild_project_name — CodeBuild project namecodebuild_role_arn — CodeBuild IAM Role ARNcodebuild_cache_bucket_name — CodeBuild cache S3 bucket namecodebuild_cache_bucket_arn — CodeBuild cache S3 bucket ARNcodebuild_badge_url — The URL of the build badge when badge_enabled is enabledcodepipeline_arn — CodePipeline ARNcodebuild_project_id — CodeBuild project IDAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,