Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Packet: Broken AWS provider due to version mismatch #25

Closed
johananl opened this issue Jun 20, 2019 · 0 comments · Fixed by #26
Closed

Packet: Broken AWS provider due to version mismatch #25

johananl opened this issue Jun 20, 2019 · 0 comments · Fixed by #26
Assignees
Labels
bug Something isn't working

Comments

@johananl
Copy link
Contributor

When deploying a Packet cluster by following the docs, terraform init is currently failing with the following error:

Initializing modules...
- module.controller
  Getting source "git::https://github.com/kinvolk/lokomotive-kubernetes//packet/flatcar-linux/kubernetes?ref=master"
- module.worker-pool-1
  Getting source "git::https://github.com/kinvolk/lokomotive-kubernetes//packet/flatcar-linux/kubernetes/workers?ref=master"
- module.controller.bootkube
  Getting source "github.com/kinvolk/terraform-render-bootkube?ref=d07243a9e7f6084cfe08b708731a79c26146badb"

Initializing provider plugins...
- Checking for available provider plugins on https://releases.hashicorp.com...
- Downloading plugin for provider "template" (1.0.0)...
- Downloading plugin for provider "tls" (1.2.0)...
- Downloading plugin for provider "packet" (1.7.2)...

No provider "aws" plugins meet the constraint "~> 1.57,~> 2.8.0".

The version constraint is derived from the "version" argument within the
provider "aws" block in configuration. Child modules may also apply
provider version constraints. To view the provider versions requested by each
module in the current configuration, run "terraform providers".

To proceed, the version constraints for this provider must be relaxed by
either adjusting or removing the "version" argument in the provider blocks
throughout the configuration.

This is caused by the following conflicting provider versions:

https://github.com/kinvolk/lokomotive-kubernetes/blame/fc16b6175749328bf12552e1c1595b988d554326/docs/flatcar-linux/packet.md#L58

https://github.com/kinvolk/lokomotive-kubernetes/blob/fc16b6175749328bf12552e1c1595b988d554326/packet/flatcar-linux/kubernetes/require.tf#L32

@johananl johananl added the bug Something isn't working label Jun 20, 2019
@johananl johananl self-assigned this Jun 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant