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

The -module option is no longer supported since Terraform 0.12 #161

Open
nonepassby opened this issue Jun 15, 2020 · 3 comments
Open

The -module option is no longer supported since Terraform 0.12 #161

nonepassby opened this issue Jun 15, 2020 · 3 comments

Comments

@nonepassby
Copy link

after install manager on triton. get manager failed.
triton-kubernetes get manager
the message is:

`
...

  • provider.external: version = "~> 1.2"
  • provider.null: version = "~> 2.1"
  • provider.template: version = "~> 2.1"

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

Error: Unsupported option

The -module option is no longer supported since Terraform 0.12, because now
only root outputs are persisted in the state.

exit status 1
`
k8s version is v1.0.0-pre2

@wkatsak
Copy link

wkatsak commented Jan 25, 2021

I am seeing this issue too with the latest release binary. It seems there is some disconnect between triton-kubernetes and the updated terraform.

@mariuspana
Copy link

I've reached this point as well. Anyone with more go (is this even a go issue) knowledge know how to handle this?

@vinmazzi
Copy link

The -module option has been deprecated since terraform 0.12.

To fix this issue we need to remove the -module option from the terraform output execution and make that the output is declared on the terraform module implementation.

This Pull Request fixes this issue: #169

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

4 participants