Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

terraform-aws-codecommit-flow-ci/schedule

Trigger a build on a schedule.

Requirements

Name Version
terraform >= 0.12

Providers

Name Version
aws n/a

Resources

Name Type

Inputs

Name Description Type Default Required
repo_name Name of the CodeCommit repository string n/a yes
schedule_expression CloudWatch Event schedule that triggers the CodeBuild job string n/a yes
artifacts Map defining an artifacts object for the CodeBuild job map(string) {} no
badge_enabled Generates a publicly-accessible URL for the projects build badge bool null no
build_timeout How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed number null no
buildspec Buildspec used when a tag reference is created or updated string "" no
encryption_key The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts string null no
environment Map describing the environment object for the CodeBuild job map(string) {} no
environment_variables List of environment variable map objects for the CodeBuild job list(map(string)) [] no
name_prefix Prefix to attach to repo name string "" no
policy_arns List of IAM policy ARNs to attach to the CodeBuild service role or null to support ignoring externally attached policies list(string) [] no
policy_override IAM policy document in JSON that extends the basic inline CodeBuild service role string "" no
python_runtime Python runtime for the handler Lambda function string null no
queued_timeout How long in minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out number null no
source_version A version of the build input to be built for this project. If not specified, the latest version is used string null no
tags A map of tags to assign to the resource map(string) {} no
vpc_config Object of inputs for the VPC configuration of the CodeBuild job
object({
security_group_ids = list(string)
subnets = list(string)
vpc_id = string
})
null no

Outputs

Name Description
codebuild_project_arn ARN of the CodeBuild Project
codebuild_project_name Name of the CodeBuild Project
codebuild_project_service_role ARN of the CodeBuild Project Service Role
events_rule_codebuild_arn ARN of the CloudWatch Event Rule for CodeBuild
lambda_function_arn ARN of the Lambda function
lambda_function_name Name of the Lambda function
lambda_role_arn ARN of the Lambda IAM Role
lambda_role_name Name of the Lambda IAM Role