Skip to content

Commit

Permalink
Merge branch 'master' into route53resolver-wildcard-domain
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] committed Sep 21, 2021
2 parents c82dcf3 + cdbd65d commit 04cc299
Show file tree
Hide file tree
Showing 29 changed files with 6,805 additions and 7,139 deletions.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-ec2/lib/cfn-init.ts
Expand Up @@ -131,7 +131,7 @@ export class CloudFormationInit {
resourceLocator = `${resourceLocator} --url https://cloudformation.${Aws.REGION}.${Aws.URL_SUFFIX}`;
}
if (attachOptions.includeRole) {
resourceLocator = `${resourceLocator} --role ${attachOptions.instanceRole}`;
resourceLocator = `${resourceLocator} --role ${attachOptions.instanceRole.roleName}`;
}
const configSets = (attachOptions.configSets ?? ['default']).join(',');
const printLog = attachOptions.printLog ?? true;
Expand Down
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-ec2/lib/security-group.ts
Expand Up @@ -382,6 +382,7 @@ export class SecurityGroup extends SecurityGroupBase {
* An attribute that represents the security group name.
*
* @attribute
* @deprecated returns the security group ID, rather than the name.
*/
public readonly securityGroupName: string;

Expand Down
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-ec2/test/cfn-init.test.ts
Expand Up @@ -168,13 +168,13 @@ describe('userdata', () => {
expectLine(lines, cmdArg('cfn-init', `--region ${Aws.REGION}`));
expectLine(lines, cmdArg('cfn-init', `--stack ${Aws.STACK_NAME}`));
expectLine(lines, cmdArg('cfn-init', `--resource ${resource.logicalId}`));
expectLine(lines, cmdArg('cfn-init', `--role ${instanceRole}`));
expectLine(lines, cmdArg('cfn-init', `--role ${instanceRole.roleName}`));
expectLine(lines, cmdArg('cfn-init', `--url https://cloudformation.${Aws.REGION}.${Aws.URL_SUFFIX}`));
expectLine(lines, cmdArg('cfn-init', '-c default'));
expectLine(lines, cmdArg('cfn-signal', `--region ${Aws.REGION}`));
expectLine(lines, cmdArg('cfn-signal', `--stack ${Aws.STACK_NAME}`));
expectLine(lines, cmdArg('cfn-signal', `--resource ${resource.logicalId}`));
expectLine(lines, cmdArg('cfn-init', `--role ${instanceRole}`));
expectLine(lines, cmdArg('cfn-init', `--role ${instanceRole.roleName}`));
expectLine(lines, cmdArg('cfn-init', `--url https://cloudformation.${Aws.REGION}.${Aws.URL_SUFFIX}`));
expectLine(lines, cmdArg('cfn-signal', '-e $?'));
expectLine(lines, cmdArg('cat', 'cfn-init.log'));
Expand Down
3 changes: 2 additions & 1 deletion packages/@aws-cdk/aws-ecs-patterns/.gitignore
Expand Up @@ -15,4 +15,5 @@ nyc.config.js
*.snk
!.eslintrc.js

junit.xml
junit.xml
!jest.config.js
3 changes: 2 additions & 1 deletion packages/@aws-cdk/aws-ecs-patterns/.npmignore
Expand Up @@ -24,4 +24,5 @@ tsconfig.json
**/cdk.out
junit.xml
test/
!*.lit.ts
!*.lit.ts
jest.config.js
2 changes: 2 additions & 0 deletions packages/@aws-cdk/aws-ecs-patterns/jest.config.js
@@ -0,0 +1,2 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
6 changes: 3 additions & 3 deletions packages/@aws-cdk/aws-ecs-patterns/package.json
Expand Up @@ -65,12 +65,11 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@types/nodeunit": "^0.0.32",
"@types/jest": "^26.0.24",
"cdk-build-tools": "0.0.0",
"cdk-integ-tools": "0.0.0",
"cfn2ts": "0.0.0",
"jest": "^26.6.3",
"nodeunit": "^0.11.3",
"pkglint": "0.0.0",
"@aws-cdk/assert-internal": "0.0.0"
},
Expand Down Expand Up @@ -130,7 +129,8 @@
"cdk-build": {
"env": {
"AWSLINT_BASE_CONSTRUCT": true
}
},
"jest": true
},
"publishConfig": {
"tag": "latest"
Expand Down

0 comments on commit 04cc299

Please sign in to comment.