Skip to content

Commit

Permalink
prettier update
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Park committed Oct 1, 2024
1 parent 21f16df commit 833b6c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/serverless-deploy-iam/bin/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class ServiceDeployIAM extends cdk.Stack {
type: new Role(this, `ServiceRole-v${version}`, {
assumedBy: new CompositePrincipal(
new ServicePrincipal("cloudformation.amazonaws.com"),
new ServicePrincipal("lambda.amazonaws.com"),
new ServicePrincipal("lambda.amazonaws.com")
),
}),
policies: [
Expand Down Expand Up @@ -534,7 +534,7 @@ export class ServiceDeployIAM extends cdk.Stack {
type: "String",
description: `Custom qualifier values provided for ${policy.name}`,
default: PARAMETER_HASH,
}),
})
);
}

Expand All @@ -547,7 +547,7 @@ export class ServiceDeployIAM extends cdk.Stack {
ServiceDeployIAM.formatResourceQualifier(
policy.name,
policy.prefix || "",
policy.qualifiers || [],
policy.qualifiers || []
);

store.type.addToPolicy(new PolicyStatement(policy));
Expand Down Expand Up @@ -604,7 +604,7 @@ export class ServiceDeployIAM extends cdk.Stack {
static formatResourceQualifier(
serviceName: string,
prefix: string,
qualifiers: string[],
qualifiers: string[]
): string[] {
let delimiter = "/";
switch (serviceName) {
Expand Down

0 comments on commit 833b6c6

Please sign in to comment.