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

Error when setting endpoints in Provider configuration #475

Closed
outscale-toa opened this issue Sep 11, 2024 · 0 comments · Fixed by #474
Closed

Error when setting endpoints in Provider configuration #475

outscale-toa opened this issue Sep 11, 2024 · 0 comments · Fixed by #474
Assignees
Labels
bug Something isn't working
Milestone

Comments

@outscale-toa
Copy link
Member

Terraform Version

Terraform v1.9.5
on linux_amd64
+ provider registry.terraform.io/outscale/outscale v1.0.0-rc.1

Terraform Configuration Files

terraform {
  required_providers {
    outscale = {
      source  = "outscale/outscale"
      version = "1.0.0-rc.1"                                                                                                                                                                                                                                                                                            
    }
  }
}
provider "outscale" {
....                                                                                                                                                                                                                                                                                    
  endpoints {
    api  = "api.eu-west-2.outscale.com"
    }                                                                                                                                                                                                                                                                                       
}
......

Crash Output

 Error: Value Conversion Error
│ 
│   with provider["registry.terraform.io/outscale/outscale"],
│   on provider.tf line 10, in provider "outscale":
│   10: provider "outscale" {
│ 
│ An unexpected error was encountered trying to convert tftypes.Value into map[string]interface {}. This is always an error in the provider. Please report the following to the provider developer:
│ 
│ cannot reflect tftypes.Set[tftypes.Object["api":tftypes.String]] into a map, must be a map

@outscale-toa outscale-toa added the bug Something isn't working label Sep 11, 2024
@outscale-toa outscale-toa self-assigned this Sep 11, 2024
@outscale-toa outscale-toa added this to the 1.0.0-rc.2 milestone Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

1 participant