Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Since Cloudaware is built on force.com, address Salesforce CLI which is a powerful command line interface that simplifies development and build automation when working with your Salesforce instance.

...

Authorize a Salesforce Org for Use with Salesforce CLI

Anchor
AuthorizeSalesforceOrgForUse
AuthorizeSalesforceOrgForUse

1. Open Terminal and run the following command (without single quotes):

...

Let's execute a sample SOQL query that will return AWS EC2 instances that are not deleted from AWS with Accounts, Private IPs and Public IPs. Use the sample query below replacing the value of -u parameter by -a value set before (without single quotes):

sfdx force:data:soql:query -q "Select CA10__account__r.Name, CA10__instanceId__c, CA10__privateIpAddress__c, CA10__publicIpAddress__c from CA10__CaAwsInstance__c where CA10__disappearanceTime__c =null" -u ‘text’

...