Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: persist terraform modules during template import#17665

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
aslilac merged 2 commits intomainfromlilac/persist-terraform-modules
May 8, 2025

Conversation

aslilac
Copy link
Member

@aslilacaslilac commentedMay 2, 2025
edited
Loading

We need to save the source code of the terraform modules at import, so that they're available for evaluation with dynamic parameters.

The provisioner downloads the modules during the plan, which means we can have it create a tar file, send it to the backend, and then we can persist it in the database for later use.

@aslilacaslilac requested a review fromEmyrkMay 5, 2025 22:43
@aslilacaslilac marked this pull request as ready for reviewMay 5, 2025 22:45
Copy link
Member

@EmyrkEmyrk left a comment
edited
Loading

Choose a reason for hiding this comment

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

removed

Copy link
Member

@EmyrkEmyrk left a comment
edited
Loading

Choose a reason for hiding this comment

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

@spikecurtis is adding a new field to the proto struct backwards compatible like injson? Meaning, does the new field default tonil?

I will ✔️ once I know it's backwards compatible 👍

@spikecurtis
Copy link
Contributor

@spikecurtis is adding a new field to the proto struct backwards compatible like injson? Meaning, does the new field default tonil?

Yes, it's back compatible at the proto layer, so only a minor version bump, assuming the server side will tolerate it being unset. Can't recall whetherbytes is a zero-length slice or literallynil, if the other side doesn't support it, butlen(job.ModuleFiles) will be 0 in either case.

Emyrk and aslilac reacted with thumbs up emoji

@aslilacaslilacforce-pushed thelilac/persist-terraform-modules branch from6b08bb0 to51cebaeCompareMay 7, 2025 21:07
@aslilacaslilac merged commitae3d90b intomainMay 8, 2025
37 checks passed
@aslilacaslilac deleted the lilac/persist-terraform-modules branchMay 8, 2025 22:13
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMay 8, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@spikecurtisspikecurtisspikecurtis left review comments

@EmyrkEmyrkEmyrk approved these changes

@johnstcnjohnstcnAwaiting requested review from johnstcnjohnstcn is a code owner

Assignees

@aslilacaslilac

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@aslilac@spikecurtis@Emyrk

[8]ページ先頭

©2009-2025 Movatter.jp