Skip to content

Instantly share code, notes, and snippets.

View isaac-mcfadyen's full-sized avatar

Isaac McFadyen isaac-mcfadyen

View GitHub Profile
@isaac-mcfadyen
isaac-mcfadyen / index.ts
Created September 19, 2021 02:06
Pulumi DynamoDB typescript error.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
import * as awsx from "@pulumi/awsx";
// Create an example table.
export const main_table = new aws.dynamodb.Table('main_table', {
name: `main_table`,
billingMode: 'PAY_PER_REQUEST',
hashKey: 'type',
rangeKey: 'date',