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

🐛 fix discovery of terraform gitlab assets (missing path option) #1784

Merged
merged 2 commits into from
Sep 19, 2023

Conversation

vjeffrey
Copy link
Contributor

No description provided.

@@ -170,17 +170,19 @@ func (r *Resolver) Resolve(ctx context.Context, root *asset.Asset, pCfg *provide
if err == nil && len(terraformFiles) > 0 {
terraformCfg := pCfg.Clone()
terraformCfg.Backend = providers.ProviderType_TERRAFORM
// git+https://gitlab.com/mondoolabs/example-gitlab.git
terraformCfg.Options["path"] = "git" + "+" + project.HTTPURLToRepo
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah, this could just be "git+" + project.HTTPURLToRepo

@arlimus
Copy link
Member

arlimus commented Sep 19, 2023

image

image

Copy link
Member

@arlimus arlimus left a comment

Choose a reason for hiding this comment

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

Thank YOU!!

@arlimus arlimus merged commit b415f2d into v8 Sep 19, 2023
9 checks passed
@arlimus arlimus deleted the vj/fix-gitlab-terraform branch September 19, 2023 06:05
@github-actions github-actions bot locked and limited conversation to collaborators Sep 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants