Skip to content

Commit

Permalink
add required imageId to cloud9 test
Browse files Browse the repository at this point in the history
  • Loading branch information
clueleaf committed Jan 17, 2024
1 parent 9a217cf commit 9ddf156
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/rules/Cloud9.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ describe('AWS Cloud9', () => {
const ruleId = 'Cloud9InstanceNoIngressSystemsManager';
test('Noncompliance ', () => {
new CfnEnvironmentEC2(stack, 'rC9Env', {
imageId: 'ami-123456',
instanceType: InstanceType.of(
InstanceClass.T2,
InstanceSize.MICRO
Expand All @@ -31,6 +32,7 @@ describe('AWS Cloud9', () => {

test('Compliance', () => {
new CfnEnvironmentEC2(stack, 'rC9Env', {
imageId: 'ami-123456',
instanceType: InstanceType.of(
InstanceClass.T2,
InstanceSize.MICRO
Expand Down

0 comments on commit 9ddf156

Please sign in to comment.