Skip to content

Commit efdfe95

Browse files
committed
fix(build): drop the lambda url AddPermissions local command as it no longer seems to do the thing
1 parent b065af3 commit efdfe95

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

VirtualFinland.UsersAPI.Deployment/Features/LambdaFunctionUrl.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ public LambdaFunctionUrl(Config config, StackSetup stackSetup, VpcSetup vpcSetup
130130
AuthorizationType = "NONE"
131131
});
132132

133+
/*
134+
// @TODO: Disabled as pulumi, for unknown reason, fails in recognizing the DeleteBeforeReplace setting..
135+
// Causes permission trouble when deploying a fresh environment..
133136
new Command($"{stackSetup.ProjectName}-AddPermissions-{stackSetup.Environment}", new CommandArgs
134137
{
135138
Create = Output.Format(
@@ -141,7 +144,7 @@ public LambdaFunctionUrl(Config config, StackSetup stackSetup, VpcSetup vpcSetup
141144
{
142145
lambdaFunction
143146
}
144-
});
147+
}); */
145148

146149
ApplicationUrl = functionUrl.FunctionUrlResult;
147150
LambdaFunctionArn = lambdaFunction.Arn;

0 commit comments

Comments
 (0)