From 5bb91f53114162f3276f258c9883f1c677438a28 Mon Sep 17 00:00:00 2001 From: Tim Holm Date: Wed, 20 Mar 2024 19:31:03 +1100 Subject: [PATCH] fix: aws secret import ARN handling. (#597) --- cloud/aws/deploy/secret.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/aws/deploy/secret.go b/cloud/aws/deploy/secret.go index b6771354e..65a023fb5 100644 --- a/cloud/aws/deploy/secret.go +++ b/cloud/aws/deploy/secret.go @@ -82,7 +82,7 @@ func (a *NitricAwsPulumiProvider) Secret(ctx *pulumi.Context, parent pulumi.Reso } if importArn != "" { - secret, err = tagSecret(ctx, importArn, name, awsTags, a.resourceTaggingClient) + secret, err = tagSecret(ctx, name, importArn, awsTags, a.resourceTaggingClient) } else { secret, err = createSecret(ctx, name, awsTags) }