Skip to content

Commit f25883e

Browse files
committed
fix lint
1 parent 7e5ca9b commit f25883e

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

lib/pipeline-multi-env-gitops/index.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import * as blueprints from '@aws-quickstart/eks-blueprints';
22
import { getSecretValue } from '@aws-quickstart/eks-blueprints/dist/utils/secrets-manager-utils';
33
import * as cdk from 'aws-cdk-lib';
44
import { StackProps } from 'aws-cdk-lib';
5-
import * as ec2 from 'aws-cdk-lib/aws-ec2';
65
import * as eks from 'aws-cdk-lib/aws-eks';
76
import { Construct } from 'constructs';
87
// Team implementations
@@ -11,6 +10,7 @@ import * as team from '../teams/pipeline-multi-env-gitops';
1110
//pattern wide consts
1211
const GITHUB_ORG = 'aws-samples';
1312
const CLUSTER_VERSION = eks.KubernetesVersion.V1_26;
13+
const WORKLOAD_REPO = `[email protected]:${GITHUB_ORG}/eks-blueprints-workloads.git`;
1414

1515
export function populateWithContextDefaults(
1616
app: cdk.App,
@@ -205,14 +205,8 @@ function buildTeams(envId: string, account: string): Array<blueprints.Team> {
205205
}
206206
function createArgoAddonConfig(
207207
environment: string,
208-
repoUrl: string = `[email protected]:${GITHUB_ORG}/eks-blueprints-workloads.git`
208+
repoUrl: string = WORKLOAD_REPO
209209
): blueprints.ArgoCDAddOn {
210-
interface argoProjectParams {
211-
githubOrg: string;
212-
githubRepository: string;
213-
projectNamespace: string;
214-
}
215-
216210
const argoConfig = new blueprints.ArgoCDAddOn({
217211
version: '5.37.0',
218212
bootstrapRepo: {

0 commit comments

Comments
 (0)