Skip to content

Commit 608802a

Browse files
fix(examples): remove experimental v2 input prefixes
1 parent 8756c81 commit 608802a

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

examples/multi-runner-v2/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Multi-runner v2 example
22

33
This example demonstrates the experimental multi-runner v2 interface. Shared
4-
defaults are configured with `experimental_global_config*` variables, while
5-
each runner lane uses `experimental_multi_runner_config` for its matcher,
4+
defaults are configured with `global_config*` variables, while
5+
each runner lane uses `multi_runner_config` for its matcher,
66
runner lifecycle, and compute-provider settings.
77

88
The example creates three lanes from one deployment:
@@ -13,7 +13,7 @@ The example creates three lanes from one deployment:
1313

1414
The v2 interface keeps provider-owned settings inside the selected provider
1515
configuration. For example, VPC and subnet settings are under
16-
`experimental_global_config_compute_provider.aws.ec2`, while the per-lane
16+
`global_config_compute_provider.aws.ec2`, while the per-lane
1717
instance types and AMI filter are under each lane's compute provider block.
1818

1919
Configure the GitHub App variables before applying:

examples/multi-runner-v2/main.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module "runners" {
2020
prefix = local.environment
2121
aws_region = local.aws_region
2222

23-
experimental_global_config = {
23+
global_config = {
2424
tags = {
2525
Example = local.environment
2626
Project = "ProjectX"
@@ -32,19 +32,19 @@ module "runners" {
3232
}
3333
}
3434

35-
experimental_global_config_github = {
35+
global_config_github = {
3636
app = {
3737
key_base64 = var.github_app.key_base64
3838
id = var.github_app.id
3939
webhook_secret = random_id.random.hex
4040
}
4141
}
4242

43-
experimental_global_config_lambda = {
43+
global_config_lambda = {
4444
architecture = "arm64"
4545
}
4646

47-
experimental_global_config_orchestration_provider = {
47+
global_config_orchestration_provider = {
4848
webhook = {
4949
eventbridge = {
5050
enabled = true
@@ -53,7 +53,7 @@ module "runners" {
5353
}
5454
}
5555

56-
experimental_global_config_compute_provider = {
56+
global_config_compute_provider = {
5757
aws = {
5858
ec2 = {
5959
vpc_id = module.base.vpc.vpc_id
@@ -66,7 +66,7 @@ module "runners" {
6666
}
6767
}
6868

69-
experimental_multi_runner_config = {
69+
multi_runner_config = {
7070
linux-arm64 = {
7171
runner = {
7272
architecture = "arm64"

tests/ministack/run-example.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ create_multi_runner_v2_override() {
199199
override_file="$example_root/zz_ministack_override.tf"
200200
printf '%s\n' \
201201
'module "runners" {' \
202-
' experimental_global_config_compute_provider = {' \
202+
' global_config_compute_provider = {' \
203203
' aws = {' \
204204
' ec2 = {' \
205205
' vpc_id = module.base.vpc.vpc_id' \
@@ -211,7 +211,7 @@ create_multi_runner_v2_override() {
211211
' }' \
212212
' }' \
213213
' }' \
214-
' experimental_multi_runner_config = {' \
214+
' multi_runner_config = {' \
215215
' linux-arm64 = {' \
216216
' runner = {' \
217217
' architecture = "arm64"' \

0 commit comments

Comments
 (0)