Skip to content

Commit 03ef60b

Browse files
committed
add args workspace tag
1 parent cdceb60 commit 03ef60b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/core_concepts/9_worker_groups/index.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ normal-$workspace
196196
197197
the workspaces, `dev`, `staging`, `prod` and the worker groups: `normal-dev`, `normal-staging`, `normal-prod`. The same script wih the tag `normal-$workspace` will run on the corresponding worker group depending on the workspace it is deployed to. This enable to share the same control plane but use workers with different network restrictions for tighter security.
198198
199+
Last, if the tags contain `$args[argName]` (e.g: `foo-$args[foobar])` then the tag will be replaced by the string value at the arg key `argName` and thus can be fully dynamic.
200+
199201
See [Deploy to staging prod](../12_staging_prod/index.md) to see a full UI flow to deploy to staging and prod.
200202
201203
## Create Worker Group config

0 commit comments

Comments
 (0)