-
Notifications
You must be signed in to change notification settings - Fork 81
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: add config setting for cloud organization #1181
Conversation
✅ Deploy Preview for terramate-io-docs canceled.
|
|
599aa66
to
3341d56
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1181 +/- ##
==========================================
- Coverage 62.79% 62.76% -0.04%
==========================================
Files 102 102
Lines 16319 16395 +76
==========================================
+ Hits 10248 10290 +42
- Misses 5650 5681 +31
- Partials 421 424 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Well done!!!
Are you going to update the changelog and docs in a follow-up PR?
3341d56
to
763fd1b
Compare
763fd1b
to
0ebe912
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Reason for This Change
When being member of multiple cloud organizations, the user had to set the environment variable TM_CLOUD_ORGANIZATION to the name of a specific one when syncing cloud data.
In many cases it would be more convenient to set this automatically per project via configuration.
Description of Changes
A new config setting has been added to the terramate config block. Usage example:
TM_CLOUD_ORGANIZATION still works as before and overrides the config value if set.