diff --git a/src/Commands/DeployCommand.php b/src/Commands/DeployCommand.php index d8eb1a43..49712bb6 100644 --- a/src/Commands/DeployCommand.php +++ b/src/Commands/DeployCommand.php @@ -66,6 +66,13 @@ public function handle() $this->debugMode() )); + if ($deployment['database'] && $deployment['database']['certificate_authority_status'] === 'expiring') { + Helpers::line(); + 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.'); + Helpers::line(); + Helpers::line("https://{$deployment['database']['region']}.console.aws.amazon.com/rds/home?region={$deployment['database']['region']}#ca-cert-update:"); + } + if ($this->option('without-waiting')) { Helpers::line();