openedx / openedx-k8s-harmony

A Prototype Helm Chart for deploying multiple Open edX instances (via Tutor) onto a cluster.
GNU Affero General Public License v3.0
10 stars 14 forks source link

Example EKS cluster cannot be set up on darwin_arm64 #47

Open gabor-boros opened 11 months ago

gabor-boros commented 11 months ago

While reviewing https://github.com/openedx/openedx-k8s-harmony/pull/41, it turned out that the example EKS setup using terraform is not working.

When doing terraform init in the k8s-cluster directory, the command fails with a deprecation error:

Error: Incompatible provider version

Provider registry.terraform.io/hashicorp/template v2.2.0 does not have a package available for your current platform, darwin_arm64.

Provider releases are separate from Terraform CLI releases, so not all providers are available for all platforms. Other versions of this provider may have different platforms supported.

By removing hashicorp/template from infra-examples/aws/k8s-cluster/versions.tf is not solving the issue (at least for me), so there should be other (transient?) dependencies on the given provider package as well.

jfavellar90 commented 11 months ago

@gabor-boros I've added a new commit to #41 following the suggestion here. Please let me know if that works for you.

jfavellar90 commented 11 months ago

@gabor-boros did you have the opportunity to test the changes to prevent the problems with the template provider? Once you confirm I think we're ready to merge #41

gabor-boros commented 11 months ago

@jfavellar90 Thank you for pinging me on this! I didn't realize your previous comment. I'll test it and let you know