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

Can't upgrade provider from non-tagged version #292

Open
danielrbradley opened this issue Nov 8, 2024 · 0 comments
Open

Can't upgrade provider from non-tagged version #292

danielrbradley opened this issue Nov 8, 2024 · 0 comments
Labels
kind/bug Some behavior is incorrect or out of spec

Comments

@danielrbradley
Copy link
Member

If the provider currently depends on a version of the upstream terraform provider which is not tagged but is a pseudo-version of a specific commit hash, upgrade provider will fail with a message such as:

go.mod

github.com/pulumi/terraform-provider-xyz v0.0.0-20241101124823-179d09f02e1f

Upgrade provider error

error: no tag commit that matched '179d09f02e1f' in 'https://github.com/pulumi/terraform-provider-xyz.git'

If we're not on a tagged version, we should use the pseudo-version to infer the approximate current version for the baseline to upgrade from.

@danielrbradley danielrbradley added the kind/bug Some behavior is incorrect or out of spec label Nov 8, 2024
@pulumi-bot pulumi-bot added the needs-triage Needs attention from the triage team label Nov 8, 2024
@danielrbradley danielrbradley removed the needs-triage Needs attention from the triage team label Nov 8, 2024
danielrbradley added a commit to pulumi/pulumi-xyz that referenced this issue Nov 8, 2024
danielrbradley added a commit to pulumi/pulumi-xyz that referenced this issue Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

No branches or pull requests

2 participants