Could not retrieve the list of available versions for provider hashicorp/google: no available releases match the given constraints >= 2.12.0, ~> 3.45, < 4.0.0, 4.46.0 getting this error even after upgrade command
Make sure you did not include version in terraform main.tf it should like this without version terraform { required_providers { google = { source = "hashicorp/google" } } }
Do you run command "terraform init" before run command "terraform import"? please watch video carefully, don't skip because this challange lab is a bit tricky and there's instruction that is not correct
Finally working after 2 fails, thank you!
Glad it helped!
Could not retrieve the list of available versions for provider hashicorp/google: no available releases match the given constraints >= 2.12.0, ~> 3.45, < 4.0.0, 4.46.0 getting this error even after upgrade command
Make sure you did not include version in terraform main.tf
it should like this without version
terraform {
required_providers {
google = {
source = "hashicorp/google"
}
}
}
Cannot import non existent object
Do you run command "terraform init" before run command "terraform import"?
please watch video carefully, don't skip because this challange lab is a bit tricky and there's instruction that is not correct
brolab
showing error
What kind of error do you get?