Terraform module that creates the Codepipeline with source(codestar connection) and build(codebuild) stages.
Name | Version |
---|---|
terraform | >= 1.0 |
aws | >= 4.24 |
Name | Version |
---|---|
aws | 4.24.0 |
Name | Source | Version |
---|---|---|
codebuild | SPHTech-Platform/codebuild/aws | ~> 1.1.1 |
Name | Type |
---|---|
aws_codepipeline.this | resource |
aws_iam_role.codepipeline | resource |
aws_iam_policy_document.codepipeline_assume_role | data source |
aws_iam_policy_document.codepipeline_codebuild | data source |
aws_iam_policy_document.codepipeline_codestar | data source |
aws_iam_policy_document.codepipeline_inline_policy | data source |
aws_iam_policy_document.codepipeline_s3 | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
artifacts_bucket_name | S3 Bucket for storing artifacts | string |
n/a | yes |
codebuild_additional_iam | Additional IAM Policy Document for Codebuild | list(any) |
[] |
no |
codebuild_buildspec_path | buildspec.yml location in the artifact | string |
"buildspec.yml" |
no |
codebuild_compute_type | The Compute Type of the Codebuild Container | string |
"BUILD_GENERAL1_MEDIUM" |
no |
codebuild_description | Description of the Codebuild | string |
"" |
no |
codebuild_image | Codebuild Image that will be use | string |
"aws/codebuild/standard:5.0" |
no |
codebuild_name | Name of the Codebuild | string |
n/a | yes |
codepipeline_additional_iam | Additional IAM Policy Document needed by Codepipeline | list(any) |
[] |
no |
codepipeline_additional_stage | Additional IAM Policy Document for Codepipeline | list(any) |
[] |
no |
codepipeline_name | Codepipeline name | string |
n/a | yes |
codestar_arn | Codestar ARN for connecting to Github | string |
n/a | yes |
env | Deployment environment | string |
n/a | yes |
repository_branch | Repository branch to connect to | string |
n/a | yes |
repository_name | GitHub repository name | string |
n/a | yes |
repository_owner | GitHub repository owner | string |
n/a | yes |
Name | Description |
---|---|
codebuild_output_artifact_name | codebuild output artifact name that can be use for the next stage(if any) |