Skip to content

Commit 7893b0c

Browse files
committed
Update Pulumi to 3.148.0
to match the backend. This affects AWS only.
1 parent 92ba9b8 commit 7893b0c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/pkg/cli/client/byoc/aws/byoc.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import (
4343
)
4444

4545
var (
46-
PulumiVersion = pkg.Getenv("DEFANG_PULUMI_VERSION", "3.136.1")
46+
PulumiVersion = pkg.Getenv("DEFANG_PULUMI_VERSION", "3.148.0")
4747
)
4848

4949
type StsProviderAPI interface {
@@ -147,6 +147,7 @@ func (b *ByocAws) setUpCD(ctx context.Context) error {
147147
cdTaskName := byoc.CdTaskPrefix
148148
containers := []types.Container{
149149
{
150+
// FIXME: get the Pulumi image or version from Fabric: https://github.com/DefangLabs/defang/issues/1027
150151
Image: "public.ecr.aws/pulumi/pulumi-nodejs:" + PulumiVersion,
151152
Name: ecs.CdContainerName,
152153
Cpus: 2.0,
@@ -215,7 +216,7 @@ func (b *ByocAws) deploy(ctx context.Context, req *defangv1.DeployRequest, cmd s
215216
return nil, err
216217
}
217218

218-
serviceInfos := []*defangv1.ServiceInfo{}
219+
var serviceInfos []*defangv1.ServiceInfo
219220
for _, service := range project.Services {
220221
serviceInfo, err := b.update(ctx, project.Name, req.DelegateDomain, service)
221222
if err != nil {
@@ -957,6 +958,7 @@ func ListPulumiStacks(ctx context.Context, s3client *s3.Client, bucketName strin
957958
if stack != "" {
958959
stacks = append(stacks, stack)
959960
}
961+
// TODO: check for lock files
960962
}
961963
return stacks, nil
962964
}

src/pkg/cli/client/byoc/do/byoc.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ func (b *ByocDo) deploy(ctx context.Context, req *defangv1.DeployRequest, cmd st
148148

149149
etag := pkg.RandomID()
150150

151-
serviceInfos := []*defangv1.ServiceInfo{}
152-
151+
var serviceInfos []*defangv1.ServiceInfo
153152
for _, service := range project.Services {
154153
serviceInfo := b.update(service, project.Name)
155154
serviceInfo.Etag = etag

0 commit comments

Comments
 (0)