-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resource/aws_lb_listener_certificate: Prevent resource ID parsing err…
…or with IAM Server Certificate names containing underscores Reference: #17639 Previously: ``` === CONT TestAccAwsLbListenerCertificate_CertificateArn_Underscores resource_aws_lb_listener_certificate_test.go:54: Step 1/2 error: Error running apply: exit status 1 Error: error parsing ELBv2 Listener Certificate ID (arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/tf-acc-test-1918488772698388616/37ea83aabfff17e9/c77f900678310ecd_arn:aws:iam::123456789012:server-certificate/tf_acc_test_1918488772698388616): unexpected format for ID ("arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/tf-acc-test-1918488772698388616/37ea83aabfff17e9/c77f900678310ecd_arn:aws:iam::123456789012:server-certificate/tf_acc_test_1918488772698388616"), expected listener-arn_certificate-arn --- FAIL: TestAccAwsLbListenerCertificate_CertificateArn_Underscores (161.31s) ``` Output from acceptance testing in AWS Commercial: ``` --- PASS: TestAccAwsLbListenerCertificate_disappears (165.35s) --- PASS: TestAccAwsLbListenerCertificate_CertificateArn_Underscores (167.76s) --- PASS: TestAccAwsLbListenerCertificate_basic (168.14s) --- PASS: TestAccAwsLbListenerCertificate_multiple (243.26s) ``` Output from acceptance testing in AWS GovCloud (US): ``` --- PASS: TestAccAwsLbListenerCertificate_CertificateArn_Underscores (159.16s) --- PASS: TestAccAwsLbListenerCertificate_disappears (162.81s) --- PASS: TestAccAwsLbListenerCertificate_basic (170.08s) --- PASS: TestAccAwsLbListenerCertificate_multiple (272.30s) ```
- Loading branch information
Showing
3 changed files
with
104 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:bug | ||
resource/aws_lb_listener_certificate: Prevent resource ID parsing error with IAM Server Certificate names containing underscores | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters