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

Remove reliance on experimental feature #36

Open
1 task done
hardbyte opened this issue Nov 17, 2022 · 0 comments
Open
1 task done

Remove reliance on experimental feature #36

hardbyte opened this issue Nov 17, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@hardbyte
Copy link

hardbyte commented Nov 17, 2022

Description. What happened?

The Terraform configuration must be valid before initialization so that
Terraform can determine which modules and providers need to be installed.
╷
│ Error: Experiment has concluded
│ 
│   on .terraform/modules/network/_variables.tf line 2, in terraform:
│    2:   experiments = [module_variable_optional_attrs]
│ 
│ Experiment "module_variable_optional_attrs" is no longer available. The final feature corresponding to this experiment differs from the experimental form and is available in the Terraform language from
│ Terraform v1.3.0 onwards.

Terraform clearly stated that this experiment is subject to change, e.g. output from terraform init:

This feature is currently an opt-in experiment, subject to change in future releases based on feedback.

The migration guide - which includes requiring terraform 1.3.0 or newer is here.

Steps to reproduce

Use this module with a 1.3.x release of terraform.

Expected behavior

Module should work with latest stable release of terraform

Actual behavior

Experiment "module_variable_optional_attrs" is no longer available.

Occurrence

Frequently

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@hardbyte hardbyte added the bug Something isn't working label Nov 17, 2022
@TheDen TheDen mentioned this issue Feb 13, 2023
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant