Skip to content

Commit

Permalink
fix(lint): remove duplicate import
Browse files Browse the repository at this point in the history
  • Loading branch information
briancaffey committed Jun 6, 2021
1 parent 55376d3 commit 2da0911
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/django-eks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import * as iam from '@aws-cdk/aws-iam';
import * as s3 from '@aws-cdk/aws-s3';
import * as secretsmanager from '@aws-cdk/aws-secretsmanager';
import * as cdk from '@aws-cdk/core';
import { CfnJson } from '@aws-cdk/core';
import { RdsPostgresInstance } from './database';
// import { ElastiCacheCluster } from './elasticache';

Expand Down Expand Up @@ -149,7 +148,7 @@ export class DjangoEks extends cdk.Construct {
const federatedPrincipal = new iam.FederatedPrincipal(
this.cluster.openIdConnectProvider.openIdConnectProviderArn,
{
StringEquals: new CfnJson(scope, "FederatedPrincipalCondition", {
StringEquals: new cdk.CfnJson(scope, "FederatedPrincipalCondition", {
value: {
[`${oidcProviderId}:aud`]: "sts.amazonaws.com",
[`${oidcProviderId}:sub`]: `system:serviceaccount:app:${POD_SERVICE_ACCOUNT_NAME}`
Expand Down

0 comments on commit 2da0911

Please sign in to comment.