-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathmain.tf
31 lines (27 loc) · 894 Bytes
/
main.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
terraform {
required_version = ">= 0.12"
}
locals {
stage = "on-demand"
stage_description = "Execute a job/buildspec on demand"
}
module "runner" {
source = "../_internal/runner"
name_prefix = var.name_prefix
repo_name = var.repo_name
stage = local.stage
stage_description = local.stage_description
buildspec = var.buildspec
artifacts = var.artifacts
environment = var.environment
environment_variables = var.environment_variables
policy_override = var.policy_override
policy_arns = var.policy_arns
vpc_config = var.vpc_config
badge_enabled = var.badge_enabled
build_timeout = var.build_timeout
queued_timeout = var.queued_timeout
encryption_key = var.encryption_key
source_version = var.source_version
tags = var.tags
}