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

Using Terraform Version >= 0.13 Results in "Failure to Query Available Provider Packages" #9

Open
s0liton opened this issue Jun 2, 2021 · 0 comments

Comments

@s0liton
Copy link

s0liton commented Jun 2, 2021

Issue:

  • When using Terraform on version 0.13 or above, the setup.tf script fails with a "Error: Failed to Query Available Provider Packages".

Fix:

  • Added "required_providers" to setup.tf above existing provider and moved version from "provider" configuration block to "required_providers" block as show below.

terraform { required_providers { okta = { source = "okta/okta" version = "~> 3.0" } } }

provider "okta" { org_name = var.org_name base_url = var.base_url api_token = var.api_token }

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

No branches or pull requests

1 participant