From 704b0491f278fc9947404eb8b52ed31bb9980164 Mon Sep 17 00:00:00 2001 From: corymhall <43035978+corymhall@users.noreply.github.com> Date: Wed, 6 Nov 2024 08:40:34 -0500 Subject: [PATCH] Update dependency and add test --- integration/ec2/package.json | 2 +- integration/examples_nodejs_test.go | 9 +++++++++ package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/integration/ec2/package.json b/integration/ec2/package.json index 888282a9..b9eaf5db 100644 --- a/integration/ec2/package.json +++ b/integration/ec2/package.json @@ -5,7 +5,7 @@ }, "dependencies": { "@pulumi/aws": "^6.0.0", - "@pulumi/aws-native": "^1.5.0", + "@pulumi/aws-native": "^1.6.0", "@pulumi/cdk": "^0.5.0", "@pulumi/pulumi": "^3.0.0", "aws-cdk-lib": "2.149.0", diff --git a/integration/examples_nodejs_test.go b/integration/examples_nodejs_test.go index 0832dfa8..b7469e66 100644 --- a/integration/examples_nodejs_test.go +++ b/integration/examples_nodejs_test.go @@ -41,6 +41,15 @@ func TestApiGatewayDomain(t *testing.T) { integration.ProgramTest(t, &test) } +func TestEc2(t *testing.T) { + test := getJSBaseOptions(t). + With(integration.ProgramTestOptions{ + Dir: filepath.Join(getCwd(t), "ec2"), + }) + + integration.ProgramTest(t, &test) +} + func getJSBaseOptions(t *testing.T) integration.ProgramTestOptions { base := getBaseOptions(t) baseJS := base.With(integration.ProgramTestOptions{ diff --git a/package.json b/package.json index 636e84ee..51acfea8 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "devDependencies": { "@aws-cdk/aws-apprunner-alpha": "2.20.0-alpha.0", "@pulumi/aws": "^6.32.0", - "@pulumi/aws-native": "^1.5.0", + "@pulumi/aws-native": "^1.6.0", "@pulumi/docker": "^4.5.0", "@pulumi/pulumi": "3.121.0", "@types/archiver": "^6.0.2", diff --git a/yarn.lock b/yarn.lock index bc7dc916..92dbb49b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1028,10 +1028,10 @@ resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== -"@pulumi/aws-native@^1.5.0": - version "1.5.0" - resolved "https://registry.yarnpkg.com/@pulumi/aws-native/-/aws-native-1.5.0.tgz#ade142eebae2e2b44329b1811fbf9b24f8288a06" - integrity sha512-zgPrsGnYS1daHlOd3yyRhP/kmuYjRRnqjb4PIStPK3NDWXn46NA+CqV/SUHJzqQfSI8EQbkrJq95hw+WrZ/DAQ== +"@pulumi/aws-native@^1.6.0": + version "1.6.0" + resolved "https://registry.yarnpkg.com/@pulumi/aws-native/-/aws-native-1.6.0.tgz#8947829fb7fdcef8ce62fe43082b668068281101" + integrity sha512-7b6CVr8XoprdQCWCnmPDhHe+BGHN2LSk+qpeELp8M2YjcwEu2XkFhI7bAj2UjQLcD84HwPM07baM5f2uryrZxA== dependencies: "@pulumi/pulumi" "^3.136.0"