Deploy S3 Connector Metadata with Salesforce CLI

Use Salesforce CLI to deploy the metadata package.

Complete the prerequisite of Creating the S3 Connectors Package for Deployment

  1. Use this command to deploy the S3 connector package.

    note: When deploying to a production instance of Salesforce the testing level must be declared by adding --test-level. In most cases, the test level is RunLocalTests. This option runs the fewest tests.

    sf project deploy start --verbose --single-package --target-org <Username from Login> --wait 1 --metadata-dir s3Connectors.zip
    
    Deploying <version specified in manifest> metadata to <org> using the v59.0 SOAP API.
    Deploy ID: 0Af8D00000r5EhGSAU
    Status: Succeeded | ████████████████████████████████████████ | 3/3 Components (Errors:0) | 0/0 Tests (Errors:0)
    
    Deployed Source
    =================================================================================================================================
    | State    Name                                Type            Path
    | ───────  ─────────────────────────────────   ──────────────  ───────────────────────────────────────────────────────────────────
    |          package.xml
    | Created  Contact_Contact_Point_Addr_DTX_01   DataConnectorS3 s3DataConnectors/Contact_Contact_Point_Addr_DTX_01.s3DataConnector
    | Created  Contact_Contact_Point_Email_DTX_01  DataConnectorS3 s3DataConnectors/Contact_Contact_Point_Email_DTX_01.s3DataConnector
    | Created  Contact_Contact_Point_Phone_DTX_01  DataConnectorS3 s3DataConnectors/Contact_Contact_Point_Phone_DTX_01.s3DataConnector
    

Proceed to Verify the Metadata Deployment.