Skip to content

Commit

Permalink
simple ts example runs
Browse files Browse the repository at this point in the history
  • Loading branch information
jsteinich committed Jun 28, 2020
1 parent bf8578b commit 713f9f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@aws-cdk/aws-iam": "^1.27.0",
"@aws-cdk/core": "^1.27.0",
"@types/node": "^13.7.7",
"constructs": "^2.0.2",
"crypto": "^1.0.1",
"fs": "^0.0.1-security",
"path": "^0.12.7",
Expand Down
4 changes: 2 additions & 2 deletions examples/simple/stacks/simple.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Construct } from 'constructs';
import { Tag } from "@aws-cdk/core";
//import { Tag } from "@aws-cdk/core";
import { App, Stack } from '../../../packages/@terrastack/core';
import { AwsProvider, AwsS3Bucket, AwsIamPolicy } from '../.generated/aws';
import { PolicyDocument, PolicyStatement, AnyPrincipal, Effect } from "@aws-cdk/aws-iam"
Expand Down Expand Up @@ -38,6 +38,6 @@ class MyBucketStack extends Stack {
}
}

const stack = new MyBucketStack(app, 'my-s3-bucket-stack');
new MyBucketStack(app, 'my-s3-bucket-stack');
// Tag.add(stack, 'StackType', 'Terraform');
app.synth();

0 comments on commit 713f9f7

Please sign in to comment.