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

examples/without_authentication will raise many Error: Unsupported Terraform Core version #151

Open
paulcrussell opened this issue Jun 25, 2021 · 2 comments
Labels
bug 🐛 An issue with the system

Comments

@paulcrussell
Copy link

paulcrussell commented Jun 25, 2021

module "default_backend_web_app" {
  source  = "cloudposse/ecs-web-app/aws//examples/without_authentication"
  version = "0.62.0"
  certificate_arn = "xxx"
  enabled = true
  environment = "dev"
  id_length_limit = "0"
  label_order = ["namespace", "environment", "stage", "name", "attributes"]
  name = "sunrise-spa"
  namespace = "houseplants"
  stage = "build"
  default_container_image = "xxx"
}

There are many errors

Example is

│ Error: Unsupported Terraform Core version
│
│   on .terraform\modules\default_backend_web_app.subnets.public_label\versions.tf line 2, in terraform:2:   required_version = ">= 0.12.0, < 0.14.0"
│
│ Module module.default_backend_web_app.module.subnets.module.public_label (from
│ git::https://github.com/cloudposse/terraform-null-label.git?ref=tags/0.19.2) does not support Terraform version 1.0.0. 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.
@paulcrussell paulcrussell added the bug 🐛 An issue with the system label Jun 25, 2021
@paulcrussell
Copy link
Author

I tracked the issue down to old version for subnets resource in https://github.com/cloudposse/terraform-aws-ecs-web-app/blob/b84ca6fe3beefa9282761e2adc28243ec9c20127/examples/without_authentication/main.tf

@nitrocode
Copy link
Member

Perhaps we need to bump up the modules in our examples. For now, I would use the latest versions of the modules to workaround the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
Development

No branches or pull requests

2 participants