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

Atlas provider latest versions not working #163

Open
danielpina-hei opened this issue Sep 16, 2024 · 4 comments
Open

Atlas provider latest versions not working #163

danielpina-hei opened this issue Sep 16, 2024 · 4 comments

Comments

@danielpina-hei
Copy link

Hello team,

Found this error when running terraform:

│ Error: Check atlas version failure
│
│   with provider["registry.terraform.io/ariga/atlas"],
│   on config.tf line 33, in provider "atlas":
│   33: provider "atlas" {
│
│ unexpected output format

Tried versions v0.8.4 v0.8.3 v0.8.0, but only got a successful plan with v0.7.0

Used terraform versions v1.5.7 and v1.8.5

My config.tf mirrors the example in the terraform documents:

terraform {
  required_version = "= 1.8.5"
  (...)
  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = "~> 5.0"
    }
    (...)
    atlas = {
      source = "ariga/atlas"
      version = "0.7.0"
    }
  }
}

provider "aws" {
  region = var.aws_region
}

provider "atlas" {
  # Configuration options
}
@rotemtam
Copy link
Member

Try upgrading Atlas to the latest version on your machine with:

curl -sSf https://atlasgo.sh | sh

(TF uses the atlas binary on your host)

@giautm - this needs a better error message and instructions for the user what to do.

@danielpina-hei
Copy link
Author

thanks @rotemtam that worked.
I never considered the version being a problem since I just installed atlas for the first time today. But clearly something different from atlas community version v0.27.1-ad1f1b0-canary to atlas version v0.27.1-c232679-canary

@a8m
Copy link
Member

a8m commented Sep 16, 2024

Hey, @danielpina-hei! The community version is not supported by TF or the other integrations.

@danielpina-hei
Copy link
Author

Ah that would explain it @a8m
I'm new to atlas so didn't pick that up. Had read https://atlasgo.io/community-edition but Integrations wasn't mentioned there at least directly as a non supported feature.

This ticket can probably closed as non planned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants