Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ec2): prevent deduplication of init command args #30821

Merged
merged 13 commits into from
Aug 8, 2024
Prev Previous commit
Next Next commit
Fix linting errors
  • Loading branch information
Leonardo Gama committed Jul 26, 2024
commit 7d38fdc0641f9a175d9a34dc3427887340cc3265
3 changes: 1 addition & 2 deletions packages/aws-cdk-lib/aws-ec2/test/cfn-init.test.ts
Original file line number Diff line number Diff line change
@@ -183,10 +183,9 @@ test('deepMerge properly deduplicates non-command arguments', () => {
]);

// THEN
console.log(config._bind(stack, linuxOptions()).config);
expect(config._bind(stack, linuxOptions()).config).toEqual(expect.objectContaining({
sources: {
"/tmp/foo": "https://amazon.com/foo.zip",
'/tmp/foo': 'https://amazon.com/foo.zip',
},
}));
});