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

Set cloud region and tags #15

Merged
merged 4 commits into from
Feb 14, 2024
Merged

Set cloud region and tags #15

merged 4 commits into from
Feb 14, 2024

Conversation

jrbourbeau
Copy link
Member

We now automatically detect the AWS region being used and use that region for all Coiled VMs. We also set tags for tracking VMs from this workflow (requires https://github.com/coiled/platform/pull/4661).

I also moves all the info from pipeline/files.py into pipeline/settings.py. Now all configuration happens in one file.

Closes #8

@jrbourbeau
Copy link
Member Author

jrbourbeau commented Feb 12, 2024

Comment on lines 30 to 34
coiled_options = {
"local": LOCAL,
"region": REGION,
"tags": {"workflow": "etl-tpch"},
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Centralizing coiled_options makes sense from a pure software perspective. Though it occurs to me that when demo-ing it might be better to have these explicitly listed out in the @coiled.function call. @mrocklin any preference?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to go with inlining these instead, which will be slightly better for demo-ing

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think that we want these inlined. Thanks for thinking through this.

@jrbourbeau jrbourbeau merged commit d3d406a into main Feb 14, 2024
1 check passed
@jrbourbeau jrbourbeau deleted the region-tags branch February 14, 2024 02:15
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.

Add Coiled tags for this workflow
2 participants