From 37665d83a4e3c26601d97a9cf49dd83e6af5ac6f Mon Sep 17 00:00:00 2001 From: Brock Shelton Date: Tue, 26 Mar 2024 12:24:29 -0400 Subject: [PATCH] update go --- examples/nodejs/index.ts | 16 ++++++++-------- provider/go.mod | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/nodejs/index.ts b/examples/nodejs/index.ts index 1379002..6ae0266 100644 --- a/examples/nodejs/index.ts +++ b/examples/nodejs/index.ts @@ -7,11 +7,11 @@ const awsConfig = new pulumi.Config("aws"); const vpc = new awsx.ec2.Vpc("example", { cidrBlock: "172.250.0.0/24", - numberOfAvailabilityZones: 3 + numberOfAvailabilityZones: 3, }); const project = new esc.Project("sample-project", { - name: "Improved Chicken Window" + name: "Improved Chicken Window", }); const network = new esc.Network("sample-network", { @@ -19,7 +19,7 @@ const network = new esc.Network("sample-network", { projectId: project.id, resourceProvider: "aws", region: awsConfig.require("region"), - cidrBlock: "172.21.0.0/16" + cidrBlock: "172.21.0.0/16", }); const peering = new esc.Peering("sample-peering", { @@ -30,7 +30,7 @@ const peering = new esc.Peering("sample-peering", { peerNetworkRegion: network.region, peerAccountId: vpc.vpc.ownerId, peerNetworkId: vpc.vpcId, - routes: [vpc.vpc.cidrBlock] + routes: [vpc.vpc.cidrBlock], }); const peer = new aws.ec2.VpcPeeringConnectionAccepter("sample-accept", { @@ -38,14 +38,14 @@ const peer = new aws.ec2.VpcPeeringConnectionAccepter("sample-accept", { autoAccept: true, tags: { Side: "Accepter", - Source: "Event Store" - } + Source: "Event Store", + }, }); const route = new aws.ec2.Route("route", { vpcPeeringConnectionId: peer.id, routeTableId: vpc.vpc.mainRouteTableId, - destinationCidrBlock: network.cidrBlock + destinationCidrBlock: network.cidrBlock, }); const cluster = new esc.ManagedCluster("wings", { @@ -56,7 +56,7 @@ const cluster = new esc.ManagedCluster("wings", { instanceType: "F1", diskSize: 16, diskType: "gp3", - serverVersion: "21.10" + serverVersion: "23.10", }); export let clusterDnsName = cluster.dnsName; diff --git a/provider/go.mod b/provider/go.mod index 865b835..2e05b8e 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -1,6 +1,6 @@ module github.com/EventStore/pulumi-eventstorecloud/provider -go 1.19 +go 1.20 replace github.com/hashicorp/go-getter => github.com/hashicorp/go-getter v1.4.0