Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove mappings to classic resources #139

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/run-acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ jobs:
role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Install pulumictl
uses: jaxxstorm/[email protected]
with:
repo: pulumi/pulumictl
- name: Setup Node
uses: actions/setup-node@v4
with:
Expand All @@ -78,7 +82,7 @@ jobs:
- name: Run unit tests
run: yarn run test
- name: yarn link
run: pushd lib && yarn link && popd
run: yarn link
- name: set script-shell
run: yarn config set script-shell /bin/bash
- name: Set up gotestfmt
Expand Down
8 changes: 3 additions & 5 deletions examples/alb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
},
"dependencies": {
"@pulumi/aws": "^4.6.0",
"@pulumi/aws-native": "^0.108.0",
"@pulumi/aws-native": "^0.117.0",
"@pulumi/pulumi": "^3.0.0",
"aws-cdk-lib": "^2.20.0",
"constructs": "^10.0.111"
},
"peerDependencies": {
"@pulumi/cdk": "^0.0.1"
"constructs": "^10.0.111",
"@pulumi/cdk": "^0.5.0"
}
}
8 changes: 3 additions & 5 deletions examples/api-websocket-lambda-dynamodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
},
"dependencies": {
"@pulumi/aws": "^4.6.0",
"@pulumi/aws-native": "^0.108.0",
"@pulumi/aws-native": "^0.117.0",
"@pulumi/pulumi": "^3.0.0",
"aws-cdk-lib": "^2.20.0",
"@pulumi/cdk": "^0.5.0",
"constructs": "^10.0.111"
},
"peerDependencies": {
"@pulumi/cdk": "^0.0.1"
}
}
}
6 changes: 2 additions & 4 deletions examples/apprunner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@
"dependencies": {
"@pulumi/aws": "^4.6.0",
"@pulumi/awsx": "^0.32.0",
"@pulumi/aws-native": "^0.108.0",
"@pulumi/aws-native": "^0.117.0",
"@pulumi/pulumi": "^3.0.0",
"aws-cdk-lib": "^2.20.0",
"constructs": "^10.0.111",
"@pulumi/cdk": "^0.5.0",
"@aws-cdk/aws-apprunner-alpha": "2.20.0-alpha.0"
},
"peerDependencies": {
"@pulumi/cdk": "^0.0.1"
}
}
10 changes: 4 additions & 6 deletions examples/appsvc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
},
"dependencies": {
"@pulumi/aws": "^4.6.0",
"@pulumi/aws-native": "^0.108.0",
"@pulumi/aws-native": "^0.117.0",
"@pulumi/pulumi": "^3.0.0",
"aws-cdk-lib": "^2.20.0",
"constructs": "^10.0.111"
},
"peerDependencies": {
"@pulumi/cdk": "^0.0.1"
}
"constructs": "^10.0.111",
"@pulumi/cdk": "^0.5.0"
}
}
10 changes: 4 additions & 6 deletions examples/cron-lambda/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@
"dependencies": {
"@pulumi/aws": "^4.6.0",
"@pulumi/awsx": "^0.32.0",
"@pulumi/aws-native": "^0.108.0",
"@pulumi/aws-native": "^0.117.0",
"@pulumi/pulumi": "^3.0.0",
"aws-cdk-lib": "^2.20.0",
"constructs": "^10.0.111"
},
"peerDependencies": {
"@pulumi/cdk": "^0.0.1"
}
"constructs": "^10.0.111",
"@pulumi/cdk": "^0.5.0"
}
}
10 changes: 4 additions & 6 deletions examples/ec2-instance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
},
"dependencies": {
"@pulumi/aws": "^4.6.0",
"@pulumi/aws-native": "^0.108.0",
"@pulumi/aws-native": "^0.117.0",
"@pulumi/pulumi": "^3.0.0",
"aws-cdk-lib": "^2.20.0",
"constructs": "^10.0.111"
},
"peerDependencies": {
"@pulumi/cdk": "^0.0.1"
}
"constructs": "^10.0.111",
"@pulumi/cdk": "^0.5.0"
}
}
10 changes: 4 additions & 6 deletions examples/ecscluster/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
},
"dependencies": {
"@pulumi/aws": "^4.6.0",
"@pulumi/aws-native": "^0.108.0",
"@pulumi/aws-native": "^0.117.0",
"@pulumi/pulumi": "^3.0.0",
"aws-cdk-lib": "^2.20.0",
"constructs": "^10.0.111"
},
"peerDependencies": {
"@pulumi/cdk": "^0.0.1"
}
"constructs": "^10.0.111",
"@pulumi/cdk": "^0.5.0"
}
}
8 changes: 3 additions & 5 deletions examples/fargate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
},
"dependencies": {
"@pulumi/aws": "^4.6.0",
"@pulumi/aws-native": "^0.108.0",
"@pulumi/aws-native": "^0.117.0",
"@pulumi/pulumi": "^3.0.0",
"aws-cdk-lib": "^2.20.0",
"constructs": "^10.0.111"
},
"peerDependencies": {
"@pulumi/cdk": "^0.0.1"
"constructs": "^10.0.111",
"@pulumi/cdk": "^0.5.0"
}
}
2 changes: 1 addition & 1 deletion examples/s3-object-lambda/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { S3ObjectLambdaStack } from './lib/s3-object-lambda-stack';
import { S3ObjectLambdaStack } from './src/s3-object-lambda-stack';

const s = new S3ObjectLambdaStack('stack');
export const exampleBucketArn = s.exampleBucketArn;
Expand Down
3 changes: 2 additions & 1 deletion examples/s3-object-lambda/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"@types/node": "^20.0.0"
},
"dependencies": {
"@pulumi/cdk": "^0.4",
"@pulumi/cdk": "^0.5.0",
"@pulumi/aws-native": "^0.117.0",
"@pulumi/pulumi": "^3.0.0",
"aws-cdk-lib": "^2.20.0",
"constructs": "^10.0.111"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ export class S3ObjectLambdaStack extends pulumicdk.Stack {
runtime: lambda.Runtime.NODEJS_20_X,
handler: 'index.handler',
code: lambda.Code.fromAsset('resources/retrieve-transformed-object-lambda'),
environment: {
KEY: 'Value',
},
});

// Object lambda s3 access
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@pulumi/cdk",
"version": "${VERSION}",
"description": "Pulumi/CDK Interop SDK",
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/pulumi/pulumi-cdk.git"
Expand All @@ -26,7 +27,7 @@
"devDependencies": {
"@aws-cdk/aws-apprunner-alpha": "2.20.0-alpha.0",
"@pulumi/aws": "^6.32.0",
"@pulumi/aws-native": "^0.108.0",
"@pulumi/aws-native": "^0.117.0",
"@pulumi/docker": "^4.5.0",
"@pulumi/pulumi": "^3.117.0",
"@types/archiver": "^6.0.2",
Expand Down Expand Up @@ -61,8 +62,8 @@
"lint": "./node_modules/.bin/eslint --ext .js,.jsx,.ts,.tsx --fix --no-error-on-unmatched-pattern src",
"format": "./node_modules/.bin/prettier --write \"src/**/*.ts\" \"examples/**/*.ts\"",
"test": "jest --passWithNoTests --updateSnapshot",
"test-examples": "cd lib && yarn link && cd .. && cd examples && go test -timeout 2h -v .",
"test-examples-gotestfmt": "cd lib && yarn link && cd .. && cd examples && set -euo pipefail && go test -json -v -count=1 -cover -timeout 2h -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt"
"test-examples": "yarn link && cd examples && go test -timeout 2h -v .",
"test-examples-gotestfmt": "yarn link && cd examples && set -euo pipefail && go test -json -v -count=1 -cover -timeout 2h -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt"
},
"files": [
"*"
Expand Down
Loading
Loading