title: unable to launch service catalog product vis lambda function because No launch paths found for resource: prod-hyaxfulvfdtm2
body: <p>The following if my lambda code where if i run locally (without lambda) it works, but when I throw it in lambda it throws <code>&quot;errorMessage&quot;: &quot;No launch paths found for resource: prod-hyaxfulvfdtm2&quot;</code> while trying to create a provisioned product in AWS service catalog:</p>
  <pre><code>// import AWS from 'aws-sdk';
  import { ServiceCatalogClient, ProvisionProductCommand } from '@aws-sdk/client-service-catalog';
  
  const client = new ServiceCatalogClient({region: 'us-west-2'});
  
  export const Handler = async (event: any = {
  }): Promise&lt;any&gt; =&gt; {
  
  try {
      const cmd = new ProvisionProductCommand({
          ProvisionedProductName: event.ProvisionedProductName,
          ProductId: event.ProductId,
          ProvisioningArtifactId: event.ProvisioningArtifactId,
          ProvisioningParameters: [
              {
                  Key: 'AccountEmail',
                  Value: event.AccountEmail
              },{
                  Key: 'AccountName',
                  Value: event.AccountName
              },{
                  Key: 'ManagedOrganizationalUnit',
                  Value: event.ManagedOrganizationalUnit
              },{
                  Key: 'SSOUserEmail',
                  Value: event.SSOUserEmail
              },{
                  Key: 'SSOUserFirstName',
                  Value: event.SSOUserFirstName
              },{
                  Key: 'SSOUserLastName',
                  Value: event.SSOUserLastName
              }
          ],
      });
  
  {
  
  }
  
      const result = await client.send(cmd);
  
      return {
          statusCode: 200,
          body: JSON.stringify(result)
      }
  } catch (error) {
      throw(error)
  }
  
  }
  
  //(async () =&gt; {
  //    const result = await Handler()
  //    console.log(&quot;RESULT: &quot;, result)
  //})()
  </code></pre>
  <p>If I uncomment that bottom async function &amp; run locally with <code>node</code> then it will create the provisioned product.</p>