Skip to content

Commit

Permalink
Revert test
Browse files Browse the repository at this point in the history
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
  • Loading branch information
gaiksaya committed Dec 6, 2024
1 parent 4f48946 commit db77ff0
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions bin/ci-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,39 +7,20 @@
*/

import { App } from 'aws-cdk-lib';
import { Peer } from 'aws-cdk-lib/aws-ec2';
import { CiCdnStack } from '../lib/ci-cdn-stack';
import { CIConfigStack } from '../lib/ci-config-stack';
import { CIStack } from '../lib/ci-stack';

const app = new App();

const defaultEnv: string = 'lol';
const defaultEnv: string = 'Dev';

const ciConfigStack = new CIConfigStack(app, `OpenSearch-CI-Config-${defaultEnv}`, {});

const ciStack = new CIStack(app, `OpenSearch-CI-${defaultEnv}`, {
env: {
region: process.env.CDK_DEFAULT_REGION,
},
useSsl: true,
adminUsers: ['gaiksaya'],
authType: 'github',
fineGrainedAccessSpecs: [
{
users: ['gaiksaya', 'sayaligaikawad'],
roleName: 'temp-role',
pattern: '.*',
templateName: 'builder-template',
},
{
users: ['foo', 'bar'],
roleName: 'temp-role-2',
pattern: '(?)integ*',
templateName: 'builder-template',
},
],
restrictServerAccessTo: Peer.prefixList('pl-f8a64391'),
});

const ciCdnStack = new CiCdnStack(app, `OpenSearch-CI-Cdn-${defaultEnv}`, {});
Expand Down

0 comments on commit db77ff0

Please sign in to comment.