From 8c7e738cedcf47f693496f1baddf4c08d7689a2d Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Fri, 11 Oct 2024 18:55:57 -0400 Subject: [PATCH] sst.aws.Function: remove unnecessary key file --- pkg/runtime/runtime.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/runtime/runtime.go b/pkg/runtime/runtime.go index 31e4cac49..81f2faf6e 100644 --- a/pkg/runtime/runtime.go +++ b/pkg/runtime/runtime.go @@ -167,7 +167,6 @@ func (c *Collection) Build(ctx context.Context, input *BuildInput) (*BuildOutput } ciphertext := gcm.Seal(nil, make([]byte, 12), json, nil) err = os.WriteFile(filepath.Join(result.Out, "resource.enc"), ciphertext, 0644) - os.WriteFile(filepath.Join(result.Out, input.EncryptionKey), ciphertext, 0644) if err != nil { return nil, err }