Skip to content

Commit

Permalink
fix: remove double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
briancaffey committed Jun 6, 2021
1 parent 2da0911 commit 3a56e01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/django-eks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,13 @@ export class DjangoEks extends cdk.Construct {
const federatedPrincipal = new iam.FederatedPrincipal(
this.cluster.openIdConnectProvider.openIdConnectProviderArn,
{
StringEquals: new cdk.CfnJson(scope, "FederatedPrincipalCondition", {
StringEquals: new cdk.CfnJson(scope, 'FederatedPrincipalCondition', {
value: {
[`${oidcProviderId}:aud`]: "sts.amazonaws.com",
[`${oidcProviderId}:aud`]: 'sts.amazonaws.com',
[`${oidcProviderId}:sub`]: `system:serviceaccount:app:${POD_SERVICE_ACCOUNT_NAME}`
}
})
}, "sts:AssumeRoleWithWebIdentity"
}, 'sts:AssumeRoleWithWebIdentity'
);

/**
Expand Down

0 comments on commit 3a56e01

Please sign in to comment.