Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: configure default project via env var #23

Merged

Conversation

squat
Copy link
Contributor

@squat squat commented Dec 12, 2024

This commit introduces support for automatically discovering a default
project using the CRUSOE_DEFAULT_PROJECT environment variable.

Frustrutingly, some aspects of the provider can be configured using the
same environment variables as the Crusoe CLI, namely
CRUSOE_ACCESS_KEY_ID and CRUSOE_SECRET_KEY , but the provider
ignores the CRUSOE_DEFAULT_PROJECT variable the the CLI supports.

Signed-off-by: squat [email protected]

This commit introduces support for automatically discovering a default
project using the `CRUSOE_DEFAULT_PROJECT` environment variable.

Frustrutingly, some aspects of the provider can be configured using the
same environment variables as the Crusoe CLI, namely
`CRUSOE_ACCESS_KEY_ID` and `CRUSOE_SECRET_KEY` , but the provider
ignores the `CRUSOE_DEFAULT_PROJECT` variable the the CLI supports.

Signed-off-by: squat <[email protected]>
@ajeyaraj-crusoe ajeyaraj-crusoe merged commit 2d23847 into crusoecloud:main Dec 13, 2024
1 check passed
@squat squat deleted the crusoe_defalt_project_env_var branch December 13, 2024 21:17
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