Creates a CodeBuild project capable of applying generated manifests to a cluster.
To use this module, you will need a manifests project which produces compiled Kubernetes manifest as a CodeBuild artifact. You can then apply this module and supply a buildspec which applies the manifests to your cluster as required.
Name | Version |
---|---|
terraform | >= 0.14.0 |
aws | ~> 5.0 |
Name | Version |
---|---|
aws | ~> 5.0 |
No modules.
Name | Type |
---|---|
aws_codebuild_project.this | resource |
aws_iam_role.codebuild | resource |
aws_iam_role_policy.codebuild | resource |
aws_iam_role_policy_attachment.this | resource |
aws_iam_policy_document.codebuild | data source |
aws_iam_policy_document.codebuild_assume_role | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
artifacts_bucket | Name of the S3 bucket in which artifacts are stored | string |
n/a | yes |
buildspec | Override the buildspec for this project | string |
null |
no |
cluster_names | Clusters to which this project is allowed to deploy | list(string) |
[] |
no |
name | Name for this CodeBuild project | string |
n/a | yes |
namespace | Prefix to apply to created resources | list(string) |
[] |
no |
policies | Additional policies for this CodeBuild project's role | map(object({ arn = string })) |
{} |
no |
tags | Tags to be applied to created resources | map(string) |
{} |
no |
No outputs.