Skip to content

Latest commit

 

History

History

deploy-project

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Deploy Project

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.

Requirements

Name Version
terraform >= 0.14.0
aws ~> 5.0

Providers

Name Version
aws ~> 5.0

Modules

No modules.

Resources

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

Inputs

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

Outputs

No outputs.