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

update required_providers in all module #50

Closed
dknell opened this issue Oct 29, 2020 · 0 comments · Fixed by #52
Closed

update required_providers in all module #50

dknell opened this issue Oct 29, 2020 · 0 comments · Fixed by #52

Comments

@dknell
Copy link
Contributor

dknell commented Oct 29, 2020

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Slack Community

Describe the Feature

Can you update the required_providers in all of your modules to at least be >=? The ~> version specification is making it very hard to manage dependencies when using your modules.

Expected Behavior

To not get Error: Failed to query available provider packages errors

Use Case

When trying to use Cloudposse modules and somewhat recent versions of official providers, like hashicorp/aws and hashicorp/github, there are a lot of dependency version conflicts.

Describe Ideal Solution

We should always be able to use later versions of providers with Cloudposse modules and not be pinned to old major versions. Also this current paradigm seems difficult to maintain.

Alternatives Considered

Maybe one option is to have tags for each module where dependencies are pinned to specific versions. Though that would also be very high maintenance.

Additional Context

Error: Failed to query available provider packages

Could not retrieve the list of available versions for provider
hashicorp/github: no available releases match the given constraints >= 3.1.*,
>= 3.1.*, >= 3.1.*, ~> 2.8.0


Error: Failed to query available provider packages

Could not retrieve the list of available versions for provider
hashicorp/random: no available releases match the given constraints >= 3.0.*,
~> 2.*, ~> 2.1, ~> 2.1, ~> 2.1


Error: Failed to query available provider packages

Could not retrieve the list of available versions for provider
hashicorp/local: no available releases match the given constraints >= 2.0.*,
~> 1.3, ~> 1.2, ~> 1.2, ~> 1.2, >= 1.2.*, ~> 1.2, >= 1.2.*, ~> 1.*, ~> 1.3, ~>
1.2, ~> 1.2, >= 2.0.*, ~> 1.2, >= 2.0.*, ~> 1.3, ~> 1.2, ~> 1.2, ~> 1.2, ~>
1.3, ~> 1.2, ~> 1.2, ~> 1.3, ~> 1.2, ~> 1.2, ~> 1.2, ~> 1.3, ~> 1.2, >= 1.2.*,
~> 1.2


Error: Failed to query available provider packages

Could not retrieve the list of available versions for provider hashicorp/aws:
no available releases match the given constraints >= 2.42.*, ~> 2.0, ~> 2.0,
~> 2.0, >= 3.0.*, >= 2.0.*, >= 2.0.*, >= 2.67.*, < 4.0.*, ~> 2.0, ~> 2.0, ~>
2.0, >= 2.42.*, ~> 2.0, >= 2.42.*, ~> 2.0, ~> 2.0, ~> 2.0, ~> 2.42, >= 2.34.*,
< 4.0.*, ~> 2.42, ~> 2.0, ~> 2.0, ~> 2.0, ~> 2.42, ~> 2.0, >= 2.0.*, >= 2.0.*,
~> 2.0, ~> 2.0


Error: Failed to query available provider packages

Could not retrieve the list of available versions for provider hashicorp/null:
no available releases match the given constraints >= 3.0.*, ~> 2.0, ~> 2.0, ~>
2.0, >= 2.0.*, ~> 2.0, >= 2.0.*, ~> 2.*, ~> 2.0, ~> 2.0, ~> 2.0, ~> 2.0, ~>
2.0, ~> 2.0, ~> 2.0, ~> 2.0, ~> 2.0, ~> 2.0, ~> 2.0, ~> 2.0, ~> 2.0, ~> 2.0,
>= 2.0.*, ~> 2.0
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 a pull request may close this issue.

1 participant