codepipeline-pipeline
bancoripleyperu/codepipeline-pipeline/template
Template of Terraform
Usage ``hcl module "codepipeline-pipeline" { source = "bancoripleyperu/codepipeline-pipeline/template" version = "0.0.1" template_name = "myPipeline" source_buildspec = file("buildspec.yml") source_provider = "S3" source_s3bucket = module.s3-bucket.values.id source_s3objectkey = "build" } ` Requirements | Name | Version | |------|---------| | terraform | >= 0.13.0 | | aws | >= 3.19 | | random | >= 3.1.0 | Providers | Name | Version | |------|---------| | aws | >= 3.19 | | random | >= 3.1.0 | Modules | Name | Source | Version | |------|--------|---------| | codebuild-project | bancoripleyperu/codebuild-project/aws | 0.0.6 | | codepipeline-pipeline | bancoripleyperu/codepipeline-pipeline/aws | 0.0.3 | | iam-role | bancoripleyperu/iam-role/aws | 0.0.4 | | s3-bucket | bancoripleyperu/s3-bucket
| Name | Type | Description | Default |
|---|---|---|---|
| source_connection | string | (Optional) The arn of the connection | required |
| source_repository | string | (Optional) The name of the repository | required |
| template_name | string | CodePipeline template name | required |
| source_s3objectkey | string | (Optional) The s3 object key of the source | required |
| source_s3bucket | string | (Optional) The s3 bucket of the source | required |
| vpc_id | string | (Optional) The vpc id of the codebuild project | required |
| subnets | list(string) | (Optional) The subnets id of the codebuild project | required |
| security_group_ids | list(string) | (Optional) The security group ids of the codebuild project | required |
| source_branch | string | (Optional) The name of the branch | required |
| source_buildspec | string | The buildspec of the codebuild project | required |
| environment_image | string | (Optional) The environment image of the codebuild project | "aws/codebuild/amazonlinux2-x86_64-stand |
| source_owner | string | (Optional) The owner of the source | "AWS" |
| privileged_mode | string | (Optional) The privileged mode of the codebuild project | false |
| source_provider | string | (Optional) The provider of the source | "CodeStarSourceConnection" |
| tags | map(string) | (Optional) A mapping of tags to assign to the role. | {} |
| environment_compute_type | string | (Optional) The environment compute type of the codebuild project | "BUILD_GENERAL1_SMALL" |
| environment_variable | map(string) | (Optional) Environment variable | {} |
| source_version | string | (Optional) The version of the source | "1" |
| environment_type | string | (Optional) The environment type of the codebuild project | "LINUX_CONTAINER" |
codebuild — Codebuild project valuescodepipeline — Codepipeline valuesbucket — S3 bucket valuesrole — IAM role values