You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, it is not possible to use dataflow module with the latest version of hashicorp/google provider - 4.11.0. The reason is in version constraint in versions.tf file:
google={
source ="hashicorp/google"
version ="~> 3.53"
}
Is there any specific reason why this configuration does not support version 4, e.g.:
google={
source ="hashicorp/google"
version =">= 3.53, < 5.0"
}
Expected behavior
The latest dataflow module version is compatible with the latest version of google provider.
Observed behavior
Dataflow module prevents from using google provider in version >= 4.0
$ terraform init -upgrade
Upgrading modules...
Downloading registry.terraform.io/terraform-google-modules/dataflow/google 2.1.0 for dataflow-job...
- dataflow-job in .terraform/modules/dataflow-job
Initializing the backend...
Initializing provider plugins...
- Finding hashicorp/google versions matching "~> 3.53, ~> 4.11.0"...
- Finding latest version of hashicorp/google-beta...
- Using previously-installed hashicorp/google-beta v4.11.0
╷
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider hashicorp/google: no available releases match the given
│ constraints ~> 3.53, ~> 4.11.0
TL;DR
Currently, it is not possible to use dataflow module with the latest version of
hashicorp/google
provider - 4.11.0. The reason is in version constraint inversions.tf
file:Is there any specific reason why this configuration does not support version 4, e.g.:
Expected behavior
The latest dataflow module version is compatible with the latest version of google provider.
Observed behavior
Dataflow module prevents from using google provider in version >= 4.0
Terraform Configuration
Terraform Version
Additional information
No response
The text was updated successfully, but these errors were encountered: