@cdklabs/cdk-ecs-codedeploy 0.0.87 → 0.0.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +70 -5
- package/.projenrc.ts +26 -2
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListApplicationRevisionsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListApplicationsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentConfigsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentGroupsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentInstancesPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListApplicationRevisionsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListApplicationsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListDeploymentConfigsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListDeploymentGroupsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListDeploymentInstancesPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListDeploymentsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/Interfaces.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/package.json +9 -9
- package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountRolesPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountRolesPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/Interfaces.d.ts +1 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/node_modules/@aws-sdk/client-sso/package.json +7 -7
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +7 -7
- package/node_modules/@aws-sdk/client-sts/package.json +8 -8
- package/node_modules/@aws-sdk/config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-imds/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-node/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/loggerMiddleware.js +20 -10
- package/node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js +19 -10
- package/node_modules/@aws-sdk/middleware-logger/package.json +1 -1
- package/node_modules/@aws-sdk/middleware-retry/package.json +2 -2
- package/node_modules/@aws-sdk/node-config-provider/package.json +2 -2
- package/node_modules/@aws-sdk/shared-ini-file-loader/README.md +3 -0
- package/node_modules/@aws-sdk/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +11 -2
- package/node_modules/@aws-sdk/shared-ini-file-loader/dist-cjs/slurpFile.js +2 -2
- package/node_modules/@aws-sdk/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +11 -2
- package/node_modules/@aws-sdk/shared-ini-file-loader/dist-es/slurpFile.js +2 -2
- package/node_modules/@aws-sdk/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +5 -0
- package/node_modules/@aws-sdk/shared-ini-file-loader/dist-types/slurpFile.d.ts +5 -1
- package/node_modules/@aws-sdk/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +1 -0
- package/node_modules/@aws-sdk/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +8 -1
- package/node_modules/@aws-sdk/shared-ini-file-loader/package.json +1 -1
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/package.json +10 -10
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-retry",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.287.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"uuid": "^8.3.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@aws-sdk/node-config-provider": "3.
|
|
32
|
+
"@aws-sdk/node-config-provider": "3.287.0",
|
|
33
33
|
"@tsconfig/recommended": "1.0.1",
|
|
34
34
|
"@types/uuid": "^8.3.0",
|
|
35
35
|
"concurrently": "7.0.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/node-config-provider",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.287.0",
|
|
4
4
|
"description": "Load config default values from ini config files and environmental variable",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"types": "./dist-types/index.d.ts",
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@aws-sdk/property-provider": "3.272.0",
|
|
26
|
-
"@aws-sdk/shared-ini-file-loader": "3.
|
|
26
|
+
"@aws-sdk/shared-ini-file-loader": "3.287.0",
|
|
27
27
|
"@aws-sdk/types": "3.272.0",
|
|
28
28
|
"tslib": "^2.3.1"
|
|
29
29
|
},
|
|
@@ -62,6 +62,9 @@ You may customize how the files are loaded by providing an options hash to the
|
|
|
62
62
|
- `configFilepath` - The path to the shared config file. If not specified, the
|
|
63
63
|
provider will use the value in the `AWS_CONFIG_FILE` environment variable or a
|
|
64
64
|
default of `~/.aws/config`.
|
|
65
|
+
- `ignoreCache` - The provider will normally cache the contents of the files it
|
|
66
|
+
loads. This option will force the provider to reload the files from disk.
|
|
67
|
+
Defaults to `false`.
|
|
65
68
|
|
|
66
69
|
## Sample files
|
|
67
70
|
|
|
@@ -10,8 +10,17 @@ const swallowError = () => ({});
|
|
|
10
10
|
const loadSharedConfigFiles = async (init = {}) => {
|
|
11
11
|
const { filepath = (0, getCredentialsFilepath_1.getCredentialsFilepath)(), configFilepath = (0, getConfigFilepath_1.getConfigFilepath)() } = init;
|
|
12
12
|
const parsedFiles = await Promise.all([
|
|
13
|
-
(0, slurpFile_1.slurpFile)(configFilepath
|
|
14
|
-
|
|
13
|
+
(0, slurpFile_1.slurpFile)(configFilepath, {
|
|
14
|
+
ignoreCache: init.ignoreCache,
|
|
15
|
+
})
|
|
16
|
+
.then(parseIni_1.parseIni)
|
|
17
|
+
.then(getProfileData_1.getProfileData)
|
|
18
|
+
.catch(swallowError),
|
|
19
|
+
(0, slurpFile_1.slurpFile)(filepath, {
|
|
20
|
+
ignoreCache: init.ignoreCache,
|
|
21
|
+
})
|
|
22
|
+
.then(parseIni_1.parseIni)
|
|
23
|
+
.catch(swallowError),
|
|
15
24
|
]);
|
|
16
25
|
return {
|
|
17
26
|
configFile: parsedFiles[0],
|
|
@@ -4,8 +4,8 @@ exports.slurpFile = void 0;
|
|
|
4
4
|
const fs_1 = require("fs");
|
|
5
5
|
const { readFile } = fs_1.promises;
|
|
6
6
|
const filePromisesHash = {};
|
|
7
|
-
const slurpFile = (path) => {
|
|
8
|
-
if (!filePromisesHash[path]) {
|
|
7
|
+
const slurpFile = (path, options) => {
|
|
8
|
+
if (!filePromisesHash[path] || (options === null || options === void 0 ? void 0 : options.ignoreCache)) {
|
|
9
9
|
filePromisesHash[path] = readFile(path, "utf8");
|
|
10
10
|
}
|
|
11
11
|
return filePromisesHash[path];
|
|
@@ -7,8 +7,17 @@ const swallowError = () => ({});
|
|
|
7
7
|
export const loadSharedConfigFiles = async (init = {}) => {
|
|
8
8
|
const { filepath = getCredentialsFilepath(), configFilepath = getConfigFilepath() } = init;
|
|
9
9
|
const parsedFiles = await Promise.all([
|
|
10
|
-
slurpFile(configFilepath
|
|
11
|
-
|
|
10
|
+
slurpFile(configFilepath, {
|
|
11
|
+
ignoreCache: init.ignoreCache,
|
|
12
|
+
})
|
|
13
|
+
.then(parseIni)
|
|
14
|
+
.then(getProfileData)
|
|
15
|
+
.catch(swallowError),
|
|
16
|
+
slurpFile(filepath, {
|
|
17
|
+
ignoreCache: init.ignoreCache,
|
|
18
|
+
})
|
|
19
|
+
.then(parseIni)
|
|
20
|
+
.catch(swallowError),
|
|
12
21
|
]);
|
|
13
22
|
return {
|
|
14
23
|
configFile: parsedFiles[0],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { promises as fsPromises } from "fs";
|
|
2
2
|
const { readFile } = fsPromises;
|
|
3
3
|
const filePromisesHash = {};
|
|
4
|
-
export const slurpFile = (path) => {
|
|
5
|
-
if (!filePromisesHash[path]) {
|
|
4
|
+
export const slurpFile = (path, options) => {
|
|
5
|
+
if (!filePromisesHash[path] || options?.ignoreCache) {
|
|
6
6
|
filePromisesHash[path] = readFile(path, "utf8");
|
|
7
7
|
}
|
|
8
8
|
return filePromisesHash[path];
|
|
@@ -12,5 +12,10 @@ export interface SharedConfigInit {
|
|
|
12
12
|
* `~/.aws/config` otherwise.
|
|
13
13
|
*/
|
|
14
14
|
configFilepath?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Configuration files are normally cached after the first time they are loaded. When this
|
|
17
|
+
* property is set, the provider will always reload any configuration files loaded before.
|
|
18
|
+
*/
|
|
19
|
+
ignoreCache?: boolean;
|
|
15
20
|
}
|
|
16
21
|
export declare const loadSharedConfigFiles: (init?: SharedConfigInit) => Promise<SharedConfigFiles>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.287.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
28
|
+
"@aws-sdk/client-sso-oidc": "3.287.0",
|
|
29
29
|
"@aws-sdk/property-provider": "3.272.0",
|
|
30
|
-
"@aws-sdk/shared-ini-file-loader": "3.
|
|
30
|
+
"@aws-sdk/shared-ini-file-loader": "3.287.0",
|
|
31
31
|
"@aws-sdk/types": "3.272.0",
|
|
32
32
|
"tslib": "^2.3.1"
|
|
33
33
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-defaults-mode-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.287.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
},
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-imds": "3.
|
|
24
|
-
"@aws-sdk/node-config-provider": "3.
|
|
22
|
+
"@aws-sdk/config-resolver": "3.287.0",
|
|
23
|
+
"@aws-sdk/credential-provider-imds": "3.287.0",
|
|
24
|
+
"@aws-sdk/node-config-provider": "3.287.0",
|
|
25
25
|
"@aws-sdk/property-provider": "3.272.0",
|
|
26
26
|
"@aws-sdk/types": "3.272.0",
|
|
27
27
|
"tslib": "^2.3.1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.287.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/node-config-provider": "3.
|
|
23
|
+
"@aws-sdk/node-config-provider": "3.287.0",
|
|
24
24
|
"@aws-sdk/types": "3.272.0",
|
|
25
25
|
"tslib": "^2.3.1"
|
|
26
26
|
},
|
package/package.json
CHANGED
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"organization": true
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@aws-cdk/aws-synthetics-alpha": "2.
|
|
65
|
-
"@aws-cdk/integ-tests-alpha": "^2.
|
|
64
|
+
"@aws-cdk/aws-synthetics-alpha": "2.68.0-alpha.0",
|
|
65
|
+
"@aws-cdk/integ-tests-alpha": "^2.68.0-alpha.0",
|
|
66
66
|
"@types/aws-lambda": "^8.10.111",
|
|
67
67
|
"@types/jest": "^27",
|
|
68
68
|
"@types/lambda-tester": "^3.6.2",
|
|
@@ -70,10 +70,10 @@
|
|
|
70
70
|
"@typescript-eslint/eslint-plugin": "^5",
|
|
71
71
|
"@typescript-eslint/parser": "^5",
|
|
72
72
|
"aws-cdk": "^2",
|
|
73
|
-
"aws-cdk-lib": "2.
|
|
73
|
+
"aws-cdk-lib": "2.68.0",
|
|
74
74
|
"aws-sdk-client-mock": "^2.1.0",
|
|
75
75
|
"aws-sdk-client-mock-jest": "^2.1.0",
|
|
76
|
-
"cdk-nag": "^2.22.
|
|
76
|
+
"cdk-nag": "^2.22.29",
|
|
77
77
|
"constructs": "10.0.5",
|
|
78
78
|
"esbuild": "^0.17.11",
|
|
79
79
|
"eslint": "^8",
|
|
@@ -84,23 +84,23 @@
|
|
|
84
84
|
"jest-junit": "^13",
|
|
85
85
|
"jsii": "^1.77.0",
|
|
86
86
|
"jsii-diff": "^1.77.0",
|
|
87
|
-
"jsii-docgen": "^7.1.
|
|
87
|
+
"jsii-docgen": "^7.1.19",
|
|
88
88
|
"jsii-pacmak": "^1.77.0",
|
|
89
89
|
"lambda-tester": "^4.0.1",
|
|
90
90
|
"npm-check-updates": "^16",
|
|
91
|
-
"projen": "0.67.
|
|
91
|
+
"projen": "0.67.78",
|
|
92
92
|
"standard-version": "^9",
|
|
93
93
|
"ts-jest": "^27",
|
|
94
94
|
"ts-node": "^10.9.1",
|
|
95
95
|
"typescript": "^4.9.5"
|
|
96
96
|
},
|
|
97
97
|
"peerDependencies": {
|
|
98
|
-
"@aws-cdk/aws-synthetics-alpha": "2.
|
|
99
|
-
"aws-cdk-lib": "^2.
|
|
98
|
+
"@aws-cdk/aws-synthetics-alpha": "2.68.0-alpha.0",
|
|
99
|
+
"aws-cdk-lib": "^2.68.0",
|
|
100
100
|
"constructs": "^10.0.5"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@aws-sdk/client-codedeploy": "^3.
|
|
103
|
+
"@aws-sdk/client-codedeploy": "^3.287.0",
|
|
104
104
|
"jmespath": "^0.16.0"
|
|
105
105
|
},
|
|
106
106
|
"bundledDependencies": [
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"publishConfig": {
|
|
119
119
|
"access": "public"
|
|
120
120
|
},
|
|
121
|
-
"version": "0.0.
|
|
121
|
+
"version": "0.0.89",
|
|
122
122
|
"jest": {
|
|
123
123
|
"testMatch": [
|
|
124
124
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|