Error: Optional object type attributes are experimental #156
              
                Unanswered
              
          
                  
                    
                      jonasbenavides82
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 2 comments
-
| 
         @jonasbenavides82 talvez se você atualizar a versão do Terraform e do provider da AWS funcione. Caso contrário, de acordo com a mensagem de error, você deve remover o   | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         sei que é antigo, mas pode ser que alguém ainda encontre esse problema no futuro. Como o problema é o module, resolvi colocando o module_variable_optional_attrs no terraform:  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Cleber estou tomando o erro ao dar terraform init para o site-estático, pode me ajudar com isso?
╰─➤ terraform init -backend=true -backend-config="backend.hcl"
Initializing modules...
There are some problems with the configuration, described below.
The Terraform configuration must be valid before initialization so that
Terraform can determine which modules and providers need to be installed.
Error: Optional object type attributes are experimental
on .terraform/modules/logs/variables.tf line 74:
74: variable "versioning" {
This feature is currently an opt-in experiment, subject to change in future
releases based on feedback.
Activate the feature for this module by adding module_variable_optional_attrs
to the list of active experiments.
Error: Optional object type attributes are experimental
on .terraform/modules/redirect/variables.tf line 74:
74: variable "versioning" {
This feature is currently an opt-in experiment, subject to change in future
releases based on feedback.
Activate the feature for this module by adding module_variable_optional_attrs
to the list of active experiments.
Error: Optional object type attributes are experimental
on .terraform/modules/website/variables.tf line 74:
74: variable "versioning" {
This feature is currently an opt-in experiment, subject to change in future
releases based on feedback.
Activate the feature for this module by adding module_variable_optional_attrs
to the list of active experiments.
Beta Was this translation helpful? Give feedback.
All reactions