Hi @mubiesam,
First of all, remember to remove the lego line in the crontab when we finish creating the new ones. You can simply edit the file by running this command
sudo crontab -e -u bitnami
Note: we were using the -l option previously to list the lines but the -e option allows you to edit the file.
You are missing some parameters when running the lego command. You will need to set the provider and provide the required information
Credentials for DNS providers must be passed through environment variables.
To display the documentation for a DNS providers:
$ lego dnshelp -c code
All DNS codes:
acme-dns, alidns, auroradns, azure, bindman, bluecat, cloudflare, cloudns, cloudxns, conoha, designate, digitalocean, dnsimple, dnsmadeeasy, dnspod, dode, dreamhost, duckdns, dyn, easydns, exec, exoscale, fastdns, gandi, gandiv5, gcloud, glesys, godaddy, hostingde, httpreq, iij, inwx, joker, lightsail, linode, linodev4, manual, mydnsjp, namecheap, namedotcom, namesilo, netcup, nifcloud, ns1, oraclecloud, otc, ovh, pdns, rackspace, rfc2136, route53, sakuracloud, selectel, stackpath, transip, vegadns, versio, vscale, vultr, zoneee
More information: https://go-acme.github.io/lego/dns
You can either review the lego documentation, ask in its forum to know more about that, follow the approach of this other user who followed the Lightsail documentation (please note that you are using Google) or use the same method you used in the past to generate the certificates
https://community.bitnami.com/t/wildcard-ssl-setup-for-a-wp-multisite-with-subdomains-and-custom-domains/70889
I hope it helps