Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/launchbynttdata/tf-aws-module_collection-codepipeline


https://github.com/launchbynttdata/tf-aws-module_collection-codepipeline

aws collection terraform

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

#

## Requirements

| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.5.0, <= 1.5.5 |
| [aws](#requirement\_aws) | ~> 5.38 |

## Providers

| Name | Version |
|------|---------|
| [aws](#provider\_aws) | 5.57.0 |

## Modules

| Name | Source | Version |
|------|--------|---------|
| [codepipeline](#module\_codepipeline) | terraform.registry.launch.nttdata.com/module_primitive/codepipeline/aws | ~> 1.0 |
| [codebuild](#module\_codebuild) | terraform.registry.launch.nttdata.com/module_collection/codebuild/aws | ~> 1.0 |
| [additional\_codebuild\_projects](#module\_additional\_codebuild\_projects) | terraform.registry.launch.nttdata.com/module_collection/codebuild/aws | ~> 1.0 |
| [sns\_topic](#module\_sns\_topic) | terraform.registry.launch.nttdata.com/module_collection/sns/aws | ~> 1.0 |
| [resource\_names](#module\_resource\_names) | terraform.registry.launch.nttdata.com/module_library/resource_name/launch | ~> 1.0 |

## Resources

| Name | Type |
|------|------|
| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [pipelines](#input\_pipelines) | List of all custom pipelines to create. | `any` | n/a | yes |
| [additional\_codebuild\_projects](#input\_additional\_codebuild\_projects) | Codebuild to trigger other pipelines. Used by the lambdas to trigger the correct pipeline. | `any` | `null` | no |
| [build\_image](#input\_build\_image) | Docker image for build environment, e.g. 'aws/codebuild/standard:2.0' or 'aws/codebuild/eb-nodejs-6.10.0-amazonlinux-64:4.0.0'. For more info: http://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref.html | `string` | `"aws/codebuild/amazonlinux2-x86_64-standard:4.0"` | no |
| [privileged\_mode](#input\_privileged\_mode) | (Optional) If set to true, enables running the Docker daemon inside a Docker container on the CodeBuild instance. Used when building Docker images | `bool` | `false` | no |
| [build\_image\_pull\_credentials\_type](#input\_build\_image\_pull\_credentials\_type) | Type of credentials AWS CodeBuild uses to pull images in your build.Valid values: CODEBUILD, SERVICE\_ROLE. When you use a cross-account or private registry image, you must use SERVICE\_ROLE credentials. | `string` | `"CODEBUILD"` | no |
| [environment\_variables](#input\_environment\_variables) | A list of maps, that contain the keys 'name', 'value', and 'type' to be used as additional environment variables for the build. Valid types are 'PLAINTEXT', 'PARAMETER\_STORE', or 'SECRETS\_MANAGER' |

list(object(
{
name = string
value = string
type = string
}
))
| `[]` | no |
| [logical\_product\_family](#input\_logical\_product\_family) | (Required) Name of the product family for which the resource is created.
Example: org\_name, department\_name. | `string` | `"launch"` | no |
| [logical\_product\_service](#input\_logical\_product\_service) | (Required) Name of the product service for which the resource is created.
For example, backend, frontend, middleware etc. | `string` | `"servicename"` | no |
| [environment](#input\_environment) | Environment in which the resource should be provisioned like dev, qa, prod etc. | `string` | `"dev"` | no |
| [environment\_number](#input\_environment\_number) | The environment count for the respective environment. Defaults to 000. Increments in value of 1 | `string` | `"000"` | no |
| [region](#input\_region) | AWS Region in which the infra needs to be provisioned | `string` | `"us-east-2"` | no |
| [resource\_number](#input\_resource\_number) | The resource count for the respective resource. Defaults to 000. Increments in value of 1 | `string` | `"000"` | no |
| [resource\_names\_map](#input\_resource\_names\_map) | A map of key to resource\_name that will be used by tf-aws-wrapper\_module-codepipeline module to generate resource names |
map(object(
{
name = string
max_length = optional(number, 60)
}
))
|
{
"codebuild": {
"max_length": 63,
"name": "cb"
},
"function": {
"max_length": 63,
"name": "fn"
},
"pipeline": {
"max_length": 63,
"name": "pln"
},
"s3": {
"max_length": 63,
"name": "s3"
},
"sns": {
"max_length": 63,
"name": "sns"
}
}
| no |
| [tags](#input\_tags) | A map of tags to add to the resources created by the module. | `map(string)` | `{}` | no |

## Outputs

| Name | Description |
|------|-------------|
| [id](#output\_id) | List of all codepipeline IDs created |
| [arn](#output\_arn) | List of all codepipeline ARNs created |
| [additional\_codebuild\_projects](#output\_additional\_codebuild\_projects) | List of all addition codebuild projects created |