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

Custom registry missing from terragrunt tfr extract result #26668

Closed
rarkins opened this issue Jan 16, 2024 · 1 comment · Fixed by #26681
Closed

Custom registry missing from terragrunt tfr extract result #26668

rarkins opened this issue Jan 16, 2024 · 1 comment · Fixed by #26681
Labels
manager:terragrunt priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others type:bug Bug fix of existing functionality

Comments

@rarkins
Copy link
Collaborator

rarkins commented Jan 16, 2024

Describe the proposed change(s).

This test should pass in terragrunt:

    it('extracts terragrunt sources with custom registry', () => {
      const input = `terraform {
        source = "tfr://registry.domain.com/abc/helloworld/aws?version=1.0.0"
      }`;
      const res = extractPackageFile(input);
      expect(res).toEqual({
        deps: [
          {
            currentValue: '1.0.0',
            datasource: 'terraform-module',
            depName: 'abc/helloworld/aws',
            depType: 'terragrunt',
            registryUrls: ['https://registry.domain.com'],
          },
        ],
      });
    });

Ref: #26644

@rarkins rarkins added type:bug Bug fix of existing functionality priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others manager:terragrunt labels Jan 16, 2024
ismtabo added a commit to ismtabo/renovate that referenced this issue Jan 16, 2024
Added registry url to extraction result at Terragrunt Manager when
source uses tfr protocol and contains custom registry hostname.

Fixes: renovatebot#26668
@renovate-release
Copy link
Collaborator

🎉 This issue has been resolved in version 37.137.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
manager:terragrunt priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others type:bug Bug fix of existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants