Inputs
The following input variables are supported:
amd_builder_enabled
Description: Whether to build amd64 images.
Type: bool
Default: true
args
Description: A mapping of build-time arguments to their respective values
Type: map(string)
Default: {}
arm_builder_enabled
Description: Whether to build arm64 images.
Type: bool
Default: true
build_context
Description: Relative path from the root of the repository to the build context to submit to BuildKit
Type: string
Default: "."
build_timeout
Description: The number of seconds after which the build will be timed out
Type: number
Default: 3600
code_repo
Description: The URL of the git repo containing the Dockerfile to build. Must NOT contain a protocol prefix.
Type: string
Default: n/a
code_storage_gb
Description: The size of the volume to mount the code into
Type: number
Default: 1
cpu_millicores
Description: The amount of CPU to allocate to pods in the workflow (in millicores)
Type: number
Default: 25
dockerfile_path
Description: Relative path from the root of the repository to the Dockerfile / Containerfile to submit to Buildkit
Type: string
Default: "./Dockerfile"
extra_ecr_repo_arns_for_pull_access
Description: ARNs of private ECR repositories from which the Dockerfile pulls base images FROM
Type: list(string)
Default: []
git_password
Description: The password to use when checking out the code to deploy
Type: string
Default: ""
git_ref
Description: The default git ref to checkout and build if none is provided to the WorkflowTemplate when executing the Workflow
Type: string
Default: "main"
git_username
Description: The username to use when checking out the code to deploy
Type: string
Default: ""
image_repo
Description: The name of the AWS ECR repository where generated images will be pushed
Type: string
Default: n/a
image_tag_prefix
Description: The prefix to prepend to the image tag
Type: string
Default: ""
memory_mb
Description: The amount of memory to allocate to pods in the workflow (in MB)
Type: number
Default: 100
name
Description: The name of the WorkflowTemplate
Type: string
Default: n/a
namespace
Description: The namespace to deploy the WorkflowTemplate into
Type: string
Default: n/a
pull_through_cache_enabled
Description: Whether to use the ECR pull through cache for the deployed images
Type: bool
Default: true
push_image_enabled
Description: True iff images should be pushed to ECR in addition to being built
Type: bool
Default: true
retry_max_attempts
Description: The maximum number of allowable retries
Type: number
Default: 2
secrets
Description: A mapping of build-time secret ids to their respective values
Type: map(string)
Default: {}
Outputs
The following outputs are exported:
arguments
Description: The arguments to the WorkflowTemplate
aws_role_arn
Description: The name of the AWS role used by the Workflow’s Service Account
aws_role_name
Description: The name of the AWS role used by the Workflow’s Service Account
entrypoint
Description: The name of the first template in the Workflow
name
Description: The name of the WorkflowTemplate
Providers
The following providers are needed by this module:
aws (6.38.0)
kubectl (2.1.6)
kubernetes (2.35.0)
pf (0.0.7)