hashicorp/terraform-provider-aws

[Docs]: A notation may cause confusion in import exmaple

Open

#40,935 opened on Jan 15, 2025

 (2 comments) (0 reactions) (0 assignees)Go (10,312 forks)github user discovery
documentationgood first issueservice/elbv2

Repository metrics

Stars
 (11,044 stars)
PR merge metrics
 (PR metrics pending)

Description

Documentation Link

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener_certificate#import

Description

The description said In Terraform v1.5.0 and later, use an import block to import Listener Certificates using the listener arn and certificate arn, separated by an underscore (_). However, in the example, the listener arn and iam arn are combined with an undersocre.

IAM can manege server certificates, but ACM is prefered. It might be confusing. I imported with ACM.

References

No response

Would you like to implement a fix?

None

Contributor guide