#cloudposse (2022-06)

<http://cloudposse.com/quizcloudposse.com/quiz>

Want to hire Cloud Posse? Take our quiz. <http://cloudposse.com/quizcloudposse.com/quiz>

2022-06-08

nobodyreally needstoknow avatar
nobodyreally needstoknow

Hey all, im having trouble with this module: https://github.com/cloudposse/terraform-aws-security-hub terraform init was working earlier today but now i see this error message:

╷
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider
│ hashicorp/aws: no available releases match the given constraints >= 2.0.0,
│ >= 3.0.0, ~> 3.0, >= 3.64.0, >= 4.8.0, >= 4.9.0

I wonder if they dropped 2.0 support?

cloudposse/terraform-aws-security-hub

Terraform module to provision AWS Security Hub

RB avatar

This ~> 3.0 basically says that you can only use 3.x and then the >= 4.8.0, >= 4.9.0 says you can only use 4.x

so 2.x definitely won’t work but it also looks like 3.x and 4.x would also cause issues

cloudposse/terraform-aws-security-hub

Terraform module to provision AWS Security Hub

nobodyreally needstoknow avatar
nobodyreally needstoknow

thanks, i will look at refactoring. Appreciate the input.

    keyboard_arrow_up