Skip to content

Commit a512742

Browse files
committed
show warning for expriring certificates
1 parent 7eff841 commit a512742

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Commands/DeployCommand.php

+7
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ public function handle()
6666
$this->debugMode()
6767
));
6868

69+
if ($deployment['database'] && $deployment['database']['certificate_authority_status'] === 'expiring') {
70+
Helpers::line();
71+
Helpers::warn('You database is uses a certificate which expires in August 2024. To prevent connectivity issues after this date, please update the Certificate Authority of your database from the AWS console using the link below.');
72+
Helpers::line();
73+
Helpers::line("https://{$deployment['database']['region']}.console.aws.amazon.com/rds/home?region={$deployment['database']['region']}#ca-cert-update:");
74+
}
75+
6976
if ($this->option('without-waiting')) {
7077
Helpers::line();
7178

0 commit comments

Comments
 (0)