mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 07:39:24 -05:00
fix(elbv2): hold an ACM certificate in use while a listener serves it (#6056)
This commit is contained in:
1 parent
348874766f
commit
020015fd4e
5 files changed
+6
-5
No files matched your search
@@ -354,7 +354,7 @@ public class AcmService implements ResourceProvider {
|
||||
List<String> consumers = certificateInUseBy(certificateArn, region);
|
||||
if (!consumers.isEmpty()) {
|
||||
throw new AwsException("ResourceInUseException",
|
||||
"Certificate " + certificateArn + " is in use by: " + String.join(", ", consumers), 409);
|
||||
"Certificate " + certificateArn + " is in use by: " + String.join(", ", consumers), 400);
|
||||
}
|
||||
|
||||
String storageKey = regionKey(region, cert.extractCertificateId());
|
||||
|
||||
Reference in new issue
Block a user