spotinst / terraform-spotinst-ocean-eks

[Deprecated] A Terraform module to create an Amazon Elastic Kubernetes Service (EKS) cluster with Ocean.
https://registry.terraform.io/modules/spotinst/ocean-eks/spotinst
Apache License 2.0
21 stars 30 forks source link

hashicorp/aws version incompatibilities #30

Open lawrlee opened 1 year ago

lawrlee commented 1 year ago

Using the most recent version of ocean-eks=3.2.0 there is an internal aws version incompatibility

│ Could not retrieve the list of available versions for provider
│ hashicorp/aws: no available releases match the given constraints ~> 3.37.0,
│ ~> 3.37, >= 3.56.0, >= 3.73.0
Providers required by configuration:
.
├── provider[registry.terraform.io/spotinst/spotinst] ~> 1.60
├── provider[registry.terraform.io/hashicorp/random]
├── provider[registry.terraform.io/hashicorp/kubernetes]
├── provider[registry.terraform.io/hashicorp/aws] ~> 3.37.0
└── module.ocean-eks
    ├── provider[registry.terraform.io/hashicorp/kubernetes] ~> 2.0
    ├── provider[registry.terraform.io/hashicorp/aws] ~> 3.37
    ├── provider[registry.terraform.io/hashicorp/random] ~> 3.1
    ├── provider[registry.terraform.io/spotinst/spotinst] ~> 1.60
    ├── module.eks
    │   ├── provider[registry.terraform.io/hashicorp/local] >= 1.4.0
    │   ├── provider[registry.terraform.io/hashicorp/kubernetes] >= 1.11.1
    │   ├── provider[registry.terraform.io/hashicorp/cloudinit] >= 2.0.0
    │   ├── provider[registry.terraform.io/terraform-aws-modules/http] >= 2.4.1
    │   ├── provider[registry.terraform.io/hashicorp/aws] >= 3.56.0
    │   ├── module.fargate
    │   │   └── provider[registry.terraform.io/hashicorp/aws] >= 3.56.0
    │   └── module.node_groups
    │       ├── provider[registry.terraform.io/hashicorp/cloudinit] >= 2.0.0
    │       └── provider[registry.terraform.io/hashicorp/aws] >= 3.56.0
    ├── module.ocean-controller
    │   └── provider[registry.terraform.io/hashicorp/kubernetes] ~> 2.0
    └── module.vpc
        └── provider[registry.terraform.io/hashicorp/aws] >= 3.73.0
matthewcummings commented 11 months ago

@lawrlee did you ever find a workaround for this?

lawrlee commented 11 months ago

Never did 🤷‍♂️

matthewcummings commented 11 months ago

OK, thanks. . . I guess I'll just use the official EKS Terraform module then.