dnsimple / terraform-provider-dnsimple

Terraform DNSimple provider.
https://www.terraform.io/docs/providers/dnsimple/
Mozilla Public License 2.0
21 stars 20 forks source link

dnsimple_lets_encrypt_certificate not working with provider version 1.1.1 #109

Closed ehaselwanter closed 1 year ago

ehaselwanter commented 1 year ago

Terraform Version

Terraform v1.4.6
on linux_amd64

Affected Resource(s)

Terraform Configuration Files

resource "dnsimple_lets_encrypt_certificate" "esx-4-dc1-cert" {
  domain_id  = dnsimple_domain.my_cloud.id
  auto_renew = true
  signature_algorithm = "RSA"
  name       = "esx-4.dc1"
}

Expected Behavior

cert is created

Actual Behavior

╷
│ Error: Value Conversion Error
│ 
│   with dnsimple_lets_encrypt_certificate.esx-4-dc1-cert,
│ An unexpected error was encountered trying to convert the value. This is
│ always an error in the provider. Please report the following to the
│ provider developer:
│ 
│ Path: 
│ Error: target must be a pointer, got []string, which is a slice
DXTimer commented 1 year ago

Hi @ehaselwanter thank you for reporting. We were able to reproduce the behavior and have already started working on a fix.

ghost commented 1 year ago

Thanks for raising the issue @ehaselwanter, we've released a new version 1.1.2 that should resolve the issue.