outscale/terraform-provider-outscale

Cannot create access_key without "expiration_date"

outscale-toa opened this issue · 0 comments

Terraform Version

Terraform v1.3.5
on linux
+ provider outscale v0.8.2

Terraform Configuration Files

resource "outscale_access_key" "access_key01" {
    state           = "ACTIVE"                                                                                                                                                                                                                                                                                       
}

Debug Output

 ---[ RESPONSE ]--------------------------------------                                  

2023-04-18T09:15:30.228Z [DEBUG] provider.terraform-provider-outscale:  "Errors": [                                                                           
2023-04-18T09:15:30.228Z [DEBUG] provider.terraform-provider-outscale:   {                                                                                    
2023-04-18T09:15:30.228Z [DEBUG] provider.terraform-provider-outscale:    "Type": "InvalidParameterType",                                                     
2023-04-18T09:15:30.228Z [DEBUG] provider.terraform-provider-outscale:    "Details": "The parameter type of ExpirationDate is unknown.",                      
2023-04-18T09:15:30.228Z [DEBUG] provider.terraform-provider-outscale:    "Code": "3019"                                                                      
2023-04-18T09:15:30.228Z [DEBUG] provider.terraform-provider-outscale:   }                                                                                    
2023-04-18T09:15:30.228Z [DEBUG] provider.terraform-provider-outscale:  ],                                                                                    
2023-04-18T09:15:30.228Z [DEBUG] provider.terraform-provider-outscale:  "ResponseContext": {                                                                  
2023-04-18T09:15:30.228Z [DEBUG] provider.terraform-provider-outscale:   "RequestId": "74ed4df2-9911-44df-90d6-5301f0008591"                                  
2023-04-18T09:15:30.228Z [DEBUG] provider.terraform-provider-outscale:  }                                                                                     
2023-04-18T09:15:30.228Z [DEBUG] provider.terraform-provider-outscale: }                                                                                      
2023-04-18T09:15:30.228Z [DEBUG] provider.terraform-provider-outscale: ----------------------------------------------------- 

Crash Output

Expected Behavior

Create access_key resource

Actual Behavior

bad request

Steps to Reproduce

terraform init
terraform apply