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.
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.
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.
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