Skip to content

Commit fcb7477

Browse files
Rename deprated allowed_values to options (#36)
<!-- CURSOR_SUMMARY --> > [!NOTE] > **Low Risk** > Mostly a tooling/version bump plus a straightforward config-key rename; risk is limited to scaffold prompts and CI workflows if the new Catalyst version changes behavior. > > **Overview** > Bumps Terramate Catalyst from `0.16.0-beta12` to `0.17.0-beta13` across GitHub Actions workflows, `.tool-versions`, and the README install/verification instructions. > > Migrates bundle input scaffolding config from deprecated `allowed_values` to `options` (ECS `cluster_slug` and S3 `visibility`), and adjusts the ECS cluster option label to include the environment id. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 8a8b18d. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
2 parents bc1460e + 8a8b18d commit fcb7477

7 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install Terramate Catalyst
2929
uses: terramate-io/terramate-action@v3.2.0
3030
with:
31-
version: "0.16.0-beta12"
31+
version: "0.17.0-beta13"
3232
use_catalyst: true
3333

3434
- name: Install asdf

.github/workflows/drift.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install Terramate Catalyst
2929
uses: terramate-io/terramate-action@v3.2.0
3030
with:
31-
version: "0.16.0-beta12"
31+
version: "0.17.0-beta13"
3232
use_catalyst: true
3333

3434
- name: Install asdf

.github/workflows/preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Install Terramate Catalyst
2727
uses: terramate-io/terramate-action@v3.2.0
2828
with:
29-
version: "0.16.0-beta12"
29+
version: "0.17.0-beta13"
3030
use_catalyst: true
3131

3232
- name: Install asdf

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
terramate-catalyst 0.16.0-beta12
1+
terramate-catalyst 0.17.0-beta13
22
terraform 1.14.1

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The easiest way to install Catalyst is via the **asdf** package manager:
3535

3636
```sh
3737
asdf plugin add terramate-catalyst https://github.com/terramate-io/asdf-terramate-catalyst
38-
asdf set -u terramate-catalyst 0.16.0-beta12
38+
asdf set -u terramate-catalyst 0.17.0-beta13
3939
```
4040

4141
Alternatively, you can download the binaries directly from the [GitHub releases](https://github.com/terramate-io/terramate-catalyst/releases). More installation options—including additional package managers—are coming soon.
@@ -46,7 +46,7 @@ After installing Terramate Catalyst, verify the installation:
4646

4747
```sh
4848
terramate version
49-
# Should output: 0.16.0-beta12
49+
# Should output: 0.17.0-beta13
5050
```
5151

5252
> **Note:** If you are already using Terramate CLI, Terramate Catalyst acts as a drop-in replacement. It provides two binaries (`terramate` and `terramate-ls`) that replace your standard Terramate CLI installation.
@@ -250,11 +250,11 @@ input "cluster_slug" {
250250
type = string
251251
description = "Bundle UUID of the ECS cluster to attach this service to"
252252
253-
allowed_values = [
253+
options = [
254254
for cluster in tm_bundles("example.com/tf-aws-complete-ecs-fargate-cluster/v1") :
255-
{ name = "${cluster.input.name.value} (${cluster.export.alias.value} / ${cluster.uuid})", value = cluster.export.alias.value }
255+
{ name = "${cluster.input.name.value} (${cluster.export.alias.value} / ${cluster.uuid}) [${cluster.environment.id}]", value = cluster.export.alias.value }
256256
]
257-
prompt = "Elastic Container Service (ECS) Cluster"
257+
prompt = "Elastic Container Service (ECS) Cluster"
258258
}
259259
```
260260

bundles/example.com/tf-aws-ecs-fargate-service/v1/inputs.tm.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ define bundle {
1010
description = "Bundle UUID of the ECS cluster to attach this service to"
1111

1212
# scaffolding configuration
13-
allowed_values = [
13+
options = [
1414
for cluster in tm_bundles("example.com/tf-aws-complete-ecs-fargate-cluster/v1") :
1515
{ name = "${cluster.input.name.value} (${cluster.export.alias.value} / ${cluster.uuid}) [${cluster.environment.id}]", value = cluster.export.alias.value }
1616
]

bundles/example.com/tf-aws-s3/v1/inputs.tm.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define bundle {
1111
prompt = "Bucket Visibility"
1212
description = "Whether the bucket should be private or public"
1313
default = "private"
14-
allowed_values = [
14+
options = [
1515
{ name = "Private", value = "private" },
1616
{ name = "Public Read", value = "public-read" },
1717
{ name = "Public Read/Write", value = "public-read-write" },

0 commit comments

Comments
 (0)