onetwopunch / terraform-vault-okta

Terraform module to configure Vault to use Okta with OIDC
17 stars 12 forks source link

"Unsupported Terraform Core version" error during module initialization #8

Closed gregwhorley closed 2 years ago

gregwhorley commented 2 years ago

I see that the module has been given an update to support Terraform 1.x in #7 but running terraform init (version 1.0.11) fails during module initialization.

Downloading onetwopunch/okta/vault 0.2.0 for auth-backends.okta...
- auth-backends.okta in .terraform/modules/auth-backends.okta
.
.
.
╷
│ Error: Unsupported Terraform Core version
│ 
│   on .terraform/modules/auth-backends.okta/versions.tf line 18, in terraform:
│   18:   required_version = "~> 0.12"
│ 
│ Module module.auth-backends.module.okta (from onetwopunch/okta/vault) does
│ not support Terraform version 1.0.11. To proceed, either choose another
│ supported Terraform version or update this version constraint. Version
│ constraints are normally set for good reason, so updating the constraint
│ may lead to other errors or unexpected behavior.
╵
gregwhorley commented 2 years ago

@flamein Were you successful with downloading and using this module after your change?

gregwhorley commented 2 years ago

I changed the module source to pull directly from github instead of using terraform registry 🤷‍♂️