Skip to content

Add support for specifying project vars on the command line - #67

Merged
duncan3dc merged 1 commit into
mainfrom
command-line-vars
Nov 23, 2026
Merged

duncan3dc merged 1 commit into
mainfrom
command-line-vars

Conversation

@duncan3dc

Copy link
Copy Markdown
Member

Sometimes it's useful to be able to specify a variable from the command line (eg by using an environment variable in GitHub Actions).

This PR add's support using the terraform style (eg manifesting --var=Replicas=3)

These variables override any of the ones defined in the top level of the config (eg the defaults for all resources) but are still overridden by resource specific ones. A good example of this is in Test_GetVars3

@duncan3dc
duncan3dc requested a review from alappo November 22, 2026 16:04
@duncan3dc
duncan3dc merged commit 349590f into main Nov 23, 2026
7 checks passed
@duncan3dc
duncan3dc deleted the command-line-vars branch November 23, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants