Erik Robertson
06/10/2022, 10:08 AMCamilo Bravo
06/10/2022, 2:55 PMNextjsSiteErik Robertson
06/10/2022, 6:08 PMimport * as firehose from "@aws-cdk/aws-kinesisfirehose-alpha";
import * as firehose_destinations from "@aws-cdk/aws-kinesisfirehose-destinations-alpha";
...
    const auditBucket = new Bucket(this, 'Audit')
    const cdkAuditBucket = auditBucket.cdk.bucket
    const firehoseDestination = new firehose_destinations.S3Bucket(cdkAuditBucket, { dataOutputPrefix: 'site!{partitionKeyFromQuery:id_site}/!{timestamp:yyyy}/!{timestamp:MM}/', errorOutputPrefix: 'firehoseErrors/' })
    const kinesisFirehose = new firehose.DeliveryStream(this, 'Audit Firehose', { destinations: [firehoseDestination] });
    config['AuditKinesisDeliveryStreamName'] = kinesisFirehose.deliveryStreamNameAri Becker
06/11/2022, 8:01 AM.envpath.envdotenvconfigdotenv.pathsst.jsonGiorgio
06/11/2022, 6:53 PMe8a5a024-b37d-4ce6-b85e-d0d7ee454267 REQUEST dev-dolartec-app-db-DatabaseMigrationFunction9CBE9-qOutRhPjrpC9 [index.handler] invoked
(node:19518) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
e8a5a024-b37d-4ce6-b85e-d0d7ee454267 ERROR Runtime.UnhandledPromiseRejection: Runtime.UserCodeSyntaxError: SyntaxError: Cannot use import statement outside a modulejamlen
06/13/2022, 12:24 PMmigrationsexport async function RDSStack({ stack, app }: StackContext) {
  const cluster = new RDS(stack, "RDSCluster", {
    engine: "postgresql10.14",
    defaultDatabaseName: 'postgres',
    migrations: (dbname: string) => new FileMigrationProvider(`./migrations/${dbname}`)
  })
  return { cluster }MigrationProviderAdrián Mouly
06/13/2022, 10:46 PMreturn new Bucket(this, 'my-bucket', {
      bucketName,
      cors: [
        {
          allowedOrigins: [allowedOrigin],
          allowedMethods: [HttpMethods.GET, HttpMethods.HEAD],
        },
      ],
      lifecycleRules: [
        {
          expiration: Duration.days(1),
        },
      ],
    });Sean Matheson
06/14/2022, 1:35 PMRemixSiteSalim Haruna
06/14/2022, 2:50 PMAdrián Mouly
06/15/2022, 4:26 AMStaticSiteSlackbot
06/15/2022, 7:10 AMWyatt Goettsch
06/16/2022, 12:00 AMSean Matheson
06/16/2022, 7:49 AMRemixSiteAshishkumar Pandey
06/16/2022, 8:04 PMSam Frampton
06/17/2022, 11:51 AMTimothée Clain
06/17/2022, 7:01 PMFilip Pyrek [AWS Hero]
06/18/2022, 1:06 PMimport { someFunction } from '@packages/some-package' // or import from '../../packages/some-package' - it's is the same in this case
export const handler = async (event) => {
	someFunction('hello')
    return '123'
}$ sst startFunctions: Building api functions/lambda.handler...
Functions: Done building api functions/lambda.handler (101ms)@packages/some-package../../packages/some-packageT Indie
06/19/2022, 12:53 PMAkos
06/21/2022, 11:27 AMSam Frampton
06/21/2022, 10:03 PMIvan Roskoshnyi
06/22/2022, 7:53 AM"a bucket with this name already exists"Mischa Spiegelmock
06/23/2022, 11:56 PM