Posts

Showing posts from August, 2020

Setting up pulumi PULUMI_CONFIG_PASSPHRASE

Question: How can i set PULUMI_CONFIG_PASSPHRASE in my Mac/Windows Remember PULUMI_CONFIG_PASSPHRASE is one of the environment variable provided by Pulumi in order set passphrase to protect and unlock your configuration values and secrets and gets actively used during any Pulumi command execution. To set simply  use export and then have a fun :-) export PULUMI_CONFIG_PASSPHRASE="My Top Secret passpharse"                    Resource : https://www.pulumi.com/docs/reference/cli/environment-variables/

Troubleshooting bucket creation in GCP

gsutil command giving error while creating storage bucket After Execution: $ gsutil mb gs://pks-bucket3-golang/ Error reported: Can't locate LWP/UserAgent.pm in @INC (you may need to install the LWP::UserAgent module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.2 /usr/local/share/perl/5.26.2 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/bin/gsutil line 26.BEGIN failed--compilation aborted at /usr/bin/gsutil line 26. Resolution: Verify if gcloud sdk  is installed and configured. Type following and configure it. $ gcloud init Setup your account with GCP i.e. account, project, region system will show result as success as per below: Did not print [3] options. Too many options [53]. Enter "list" at prompt to print choices fully. Please enter numeric choice or text value (must exactly match list item): 35 Your proje...