-
Notifications
You must be signed in to change notification settings - Fork 166
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
Compatibility Issue with Terraform v0.12.0 #59
Comments
@raphink Any plans to support 0.12? |
@dimisjim Yes, this will probably go through terradb, when we find the time to work on it 😄 |
any update on this issue? thanks! |
I haven't had time to work on it yet. If someone has pointers as to what changed in v0.12 that requires the update, that would be great! |
Oh I see, |
terraform on v0.12 change the state struct. https://github.com/hashicorp/terraform/releases/tag/v0.12.0 official recommends to use I will try to create a new pr on this, use parsing |
@Erictsu1947 I'm working on refactoring it using Current status: fighting with |
I've opened a PR at #62, which is still WIP, but you're welcome to test. |
Attempted to grab your repo go get. Im getting some config.go errors associated with Sirupsen being changed to lowercase. Your config.go does not reference it... /root/go/src/github.com/camptocamp/terraboard/config/config.go:9:2: case-insensitive import collision: "github.com/sirupsen/logrus" and "github.com/Sirupsen/logrus" |
Awesome @raphink ! I created an image with your branch code and it worked. However, it's good to know that it just works with a new database. Using the previous database that already tried to load state from 0.12 does not work. |
@lucioveloso would you mind sharing the image? Im dealing with corp firewall blocks on get pulls. |
Thanks for testing @fivehorizons and @lucioveloso (and sorry for the my slow response). I'll check your comments soon (not today though I'm afraid). |
@fivehorizons you can try to use |
This is working great so far. Up to terraform 0.12.7. Seems the version included or downloaded needs to be replaced. What is the easiest way to update the terraform binary to match latest version? |
@lucioveloso It also detects state versions up to 0.12.6 for me : ( |
@dimisjim @lucioveloso just need to change the go.mod and change the terraform line to the following.
and then rebuild the image so it downloads new bits |
I released v0.15.0 with support for Terraform 0.12 |
Once I upgrade Terraform version to v0.12.0(provider.aws v2.10.0) and "terraform apply" to update state files, then state files disappear in the main dashboard page. Terraborad still can detect that those state files are v0.12.0 but won't display resources within the files.
Could someone suggest, please?
The text was updated successfully, but these errors were encountered: