@geek-fun/serverlessinsight 0.9.3 → 0.9.5

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.
Files changed (82) hide show
  1. package/AGENTS.md +5 -2
  2. package/CHANGELOG.md +56 -0
  3. package/README.md +266 -179
  4. package/README.zh-CN.md +264 -147
  5. package/codecov +0 -0
  6. package/codecov.SHA256SUM +1 -1
  7. package/codecov.SHA256SUM.sig +13 -13
  8. package/dist/package.json +22 -19
  9. package/dist/src/commands/deploy.js +7 -2
  10. package/dist/src/commands/destroy.js +6 -3
  11. package/dist/src/commands/forceUnlock.js +16 -21
  12. package/dist/src/commands/index.js +26 -63
  13. package/dist/src/commands/migrate.js +105 -132
  14. package/dist/src/commands/plan.js +27 -3
  15. package/dist/src/commands/show.js +17 -6
  16. package/dist/src/common/aggregateState.js +185 -0
  17. package/dist/src/common/aggregateStore.js +247 -0
  18. package/dist/src/common/aliyunClient/apigwOperations.js +32 -9
  19. package/dist/src/common/apiClient.js +35 -12
  20. package/dist/src/common/constants.js +2 -1
  21. package/dist/src/common/context.js +22 -15
  22. package/dist/src/common/effectiveConfig.js +48 -0
  23. package/dist/src/common/index.js +5 -0
  24. package/dist/src/common/jsonOutput.js +2 -13
  25. package/dist/src/common/migrationMarker.js +0 -7
  26. package/dist/src/common/nameBuilder.js +2 -3
  27. package/dist/src/common/regionalMigration.js +261 -0
  28. package/dist/src/common/saasProtocol.js +41 -0
  29. package/dist/src/common/stateBackend/cosStateBackend.js +88 -8
  30. package/dist/src/common/stateBackend/index.js +42 -18
  31. package/dist/src/common/stateBackend/localStateBackend.js +61 -26
  32. package/dist/src/common/stateBackend/ossStateBackend.js +62 -9
  33. package/dist/src/common/stateBackend/remoteStateBackend.js +94 -94
  34. package/dist/src/common/stateBackend/saasStateBackend.js +327 -92
  35. package/dist/src/common/stateBackend/types.js +9 -0
  36. package/dist/src/common/stateManager.js +38 -11
  37. package/dist/src/common/stateScope.js +34 -0
  38. package/dist/src/common/stateStorageIO.js +31 -0
  39. package/dist/src/lang/en.js +48 -6
  40. package/dist/src/lang/index.js +28 -14
  41. package/dist/src/lang/zh-CN.js +48 -6
  42. package/dist/src/parser/index.js +25 -4
  43. package/dist/src/stack/aliyunStack/apigwDomainPlan.js +82 -0
  44. package/dist/src/stack/aliyunStack/apigwExecutor.js +4 -1
  45. package/dist/src/stack/aliyunStack/apigwPlanner.js +115 -55
  46. package/dist/src/stack/aliyunStack/apigwResource.js +169 -124
  47. package/dist/src/stack/aliyunStack/deployer.js +5 -5
  48. package/dist/src/stack/aliyunStack/destroyer.js +5 -5
  49. package/dist/src/stack/aliyunStack/fc3Planner.js +1 -1
  50. package/dist/src/stack/aliyunStack/fc3Resource.js +2 -2
  51. package/dist/src/stack/aliyunStack/planner.js +1 -1
  52. package/dist/src/stack/aliyunStack/sharedLogProject.js +2 -2
  53. package/dist/src/stack/ownershipTag.js +34 -26
  54. package/dist/src/stack/scfStack/deployer.js +5 -5
  55. package/dist/src/stack/scfStack/destroyer.js +5 -6
  56. package/dist/src/stack/scfStack/planner.js +1 -1
  57. package/dist/src/stack/scfStack/scfResource.js +1 -1
  58. package/dist/src/stack/scfStack/sharedLogset.js +5 -2
  59. package/dist/src/stack/volcengineStack/deployer.js +3 -3
  60. package/dist/src/stack/volcengineStack/destroyer.js +2 -3
  61. package/dist/src/stack/volcengineStack/planner.js +1 -1
  62. package/dist/src/stack/volcengineStack/sharedLogProject.js +4 -4
  63. package/dist/src/stack/volcengineStack/vefaasResource.js +1 -1
  64. package/dist/src/types/domains/state.js +28 -2
  65. package/dist/src/validator/rootSchema.js +8 -0
  66. package/dist/tsconfig.tsbuildinfo +1 -1
  67. package/package.json +22 -19
  68. package/release-notes.md +27 -56
  69. package/samples/README_TENCENT_COS.md +68 -26
  70. package/samples/README_TENCENT_SCF.md +47 -29
  71. package/.serverlessinsight/state-cdn-flow-app-cdn-flow-service.json.backup +0 -14
  72. package/.serverlessinsight/state-iam-test-app-iam-test-service.json.backup +0 -32
  73. package/.serverlessinsight/state-insight-poc-app-insight-poc-tencent.json.backup +0 -90
  74. package/.serverlessinsight/state-insight-poc-app-log-insight-poc-tencent-log.json.backup +0 -118
  75. package/.serverlessinsight/state-insight-poc-deploy-app-insight-poc-deploy.json.backup +0 -215
  76. package/.serverlessinsight/state-insight-poc-destroy-app-insight-poc-destroy.json.backup +0 -14
  77. package/.serverlessinsight/state-insight-poc-timer-app-insight-poc-timer.json.backup +0 -132
  78. package/.serverlessinsight/state-insight-volc-app-insight-volc.json.backup +0 -55
  79. package/.serverlessinsight/state-insight-volc-destroy-app-insight-volc-destroy.json.backup +0 -1
  80. package/.serverlessinsight/state-insight-volc-nested-app-insight-volc-nested.json.backup +0 -93
  81. package/.serverlessinsight/state-nested-drift-app-nested-drift-service.json.backup +0 -163
  82. package/.serverlessinsight/state-role-reconcile-test-app-role-reconcile-test-service.json.backup +0 -148
@@ -1,118 +0,0 @@
1
- {
2
- "version": "3.0",
3
- "provider": "tencent",
4
- "app": "insight-poc-app-log",
5
- "service": "insight-poc-tencent-log",
6
- "stages": {
7
- "default": {
8
- "resources": {
9
- "functions.log_fn": {
10
- "mode": "managed",
11
- "region": "ap-guangzhou",
12
- "definition": {
13
- "functionName": "test-log-fn",
14
- "runtime": "Nodejs18.15",
15
- "handler": "index.handler",
16
- "memorySize": 512,
17
- "timeout": 10,
18
- "environment": {},
19
- "codeHash": "c96b718fa999add5e047823c3d7abfa1397fa8d0075bc6a4f3592785fcd4b76f",
20
- "vpcConfig": null,
21
- "diskSize": null,
22
- "cfsConfig": null,
23
- "useGpu": null,
24
- "imageConfig": null,
25
- "logConfig": {
26
- "logset": "insight-poc-app-log-default-cls",
27
- "topic": "insight-poc-tencent-log-default-log_fn-fn-logs"
28
- }
29
- },
30
- "instances": [
31
- {
32
- "sid": "si:tencent:scf:default:test-log-fn",
33
- "id": "test-log-fn",
34
- "functionName": "test-log-fn",
35
- "runtime": "Nodejs18.15",
36
- "handler": "index.handler",
37
- "memorySize": 512,
38
- "timeout": 10,
39
- "environment": {},
40
- "modTime": null,
41
- "codeSha256": null,
42
- "codeInfo": null,
43
- "description": null,
44
- "triggers": [],
45
- "codeSize": null,
46
- "functionVersion": null,
47
- "vpcConfig": {},
48
- "useGpu": null,
49
- "codeResult": null,
50
- "codeError": null,
51
- "errNo": null,
52
- "namespace": null,
53
- "role": null,
54
- "installDependency": null,
55
- "status": "Active",
56
- "statusDesc": null,
57
- "clsLogsetId": null,
58
- "clsTopicId": null,
59
- "functionId": null,
60
- "tags": [],
61
- "eipConfig": {},
62
- "accessInfo": {},
63
- "type": null,
64
- "l5Enable": null,
65
- "layers": [],
66
- "deadLetterConfig": {},
67
- "addTime": null,
68
- "publicNetConfig": {},
69
- "onsEnable": null,
70
- "cfsConfig": {},
71
- "availableStatus": null,
72
- "qualifier": null,
73
- "initTimeout": null,
74
- "statusReasons": [],
75
- "asyncRunEnable": null,
76
- "traceEnable": null,
77
- "imageConfig": {},
78
- "protocolType": null,
79
- "protocolParams": {},
80
- "dnsCache": null,
81
- "intranetConfig": {},
82
- "instanceConcurrencyConfig": {}
83
- },
84
- {
85
- "sid": "si:tencent:cls-topic:default:insight-poc-tencent-log-default-log_fn-fn-logs",
86
- "type": "TENCENT_CLS_TOPIC",
87
- "id": "topic-1",
88
- "topicName": "insight-poc-tencent-log-default-log_fn-fn-logs"
89
- }
90
- ],
91
- "lastUpdated": "2026-10-24T09:42:22.479Z"
92
- }
93
- },
94
- "shared": {
95
- "logs.project": {
96
- "mode": "managed",
97
- "region": "ap-guangzhou",
98
- "definition": {
99
- "logsetName": "insight-poc-app-log-default-cls",
100
- "region": "ap-guangzhou",
101
- "stage": "default"
102
- },
103
- "instances": [
104
- {
105
- "sid": "si:tencent:cls-logset:default:insight-poc-app-log-default-cls",
106
- "type": "TENCENT_CLS_LOGSET",
107
- "id": "insight-poc-app-log-default-cls",
108
- "logsetId": "logset-1"
109
- }
110
- ],
111
- "lastUpdated": "2026-10-24T09:42:22.449Z"
112
- }
113
- }
114
- }
115
- },
116
- "lineage": "1dd5e229-5a81-4989-87b8-3c6e8dbcc707",
117
- "serial": 4
118
- }
@@ -1,215 +0,0 @@
1
- {
2
- "version": "3.0",
3
- "provider": "aliyun",
4
- "app": "insight-poc-deploy-app",
5
- "service": "insight-poc-deploy",
6
- "stages": {
7
- "dev": {
8
- "resources": {
9
- "functions.insight_poc_fn": {
10
- "mode": "managed",
11
- "region": "cn-hangzhou",
12
- "definition": {
13
- "functionName": "insight-poc-fn",
14
- "runtime": "nodejs18",
15
- "handler": "index.handler",
16
- "memorySize": 512,
17
- "timeout": 10,
18
- "diskSize": null,
19
- "environment": {
20
- "NODE_ENV": "development",
21
- "TEST_VAR": "testVarValue",
22
- "TEST_VAR_EXTRA": "abcds-testVarValue-andyou"
23
- },
24
- "vpcConfig": null,
25
- "gpuConfig": null,
26
- "customContainerConfig": null,
27
- "nasConfig": null,
28
- "logConfig": {
29
- "project": "insight-poc-deploy-app-dev-sls",
30
- "logstore": "insight-poc-deploy-dev-insight-poc-fn-fn-logs",
31
- "enableRequestMetrics": true,
32
- "enableInstanceMetrics": true
33
- },
34
- "codeHash": "c96b718fa999add5e047823c3d7abfa1397fa8d0075bc6a4f3592785fcd4b76f"
35
- },
36
- "instances": [
37
- {
38
- "type": "ALIYUN_FC3_FUNCTION",
39
- "sid": "si:aliyun:fc3:dev:insight-poc-fn",
40
- "id": "insight-poc-fn",
41
- "functionName": "insight-poc-fn",
42
- "functionArn": null,
43
- "functionId": null,
44
- "runtime": "nodejs18",
45
- "handler": "index.handler",
46
- "memorySize": 512,
47
- "timeout": 10,
48
- "diskSize": null,
49
- "cpu": null,
50
- "environment": {
51
- "NODE_ENV": "development",
52
- "TEST_VAR": "testVarValue",
53
- "TEST_VAR_EXTRA": "abcds-testVarValue-andyou"
54
- },
55
- "vpcConfig": {},
56
- "gpuConfig": {},
57
- "nasConfig": {},
58
- "logConfig": {
59
- "project": "insight-poc-deploy-app-dev-sls",
60
- "logstore": "insight-poc-deploy-dev-insight-poc-fn-fn-logs",
61
- "enableRequestMetrics": true,
62
- "enableInstanceMetrics": true,
63
- "logBeginRule": null
64
- },
65
- "customContainerConfig": {},
66
- "description": null,
67
- "internetAccess": null,
68
- "role": "acs:ram::123456789012:role/insight-poc-deploy-app-insight-poc-deploy-dev-insig-role-160n4hk",
69
- "codeChecksum": null,
70
- "codeSize": null,
71
- "createdTime": null,
72
- "lastModifiedTime": null,
73
- "state": "Running",
74
- "stateReason": null,
75
- "stateReasonCode": null,
76
- "lastUpdateStatus": null,
77
- "lastUpdateStatusReason": null,
78
- "lastUpdateStatusReasonCode": null,
79
- "tags": [
80
- {
81
- "key": null,
82
- "value": null
83
- }
84
- ]
85
- },
86
- {
87
- "sid": "si:aliyun:sls_logstore:dev:insight-poc-deploy-app-dev-sls/insight-poc-deploy-dev-insight-poc-fn-fn-logs",
88
- "id": "insight-poc-deploy-app-dev-sls/insight-poc-deploy-dev-insight-poc-fn-fn-logs",
89
- "type": "ALIYUN_SLS_LOGSTORE",
90
- "logstoreName": "insight-poc-deploy-dev-insight-poc-fn-fn-logs"
91
- },
92
- {
93
- "sid": "si:aliyun:sls_index:dev:insight-poc-deploy-app-dev-sls/insight-poc-deploy-dev-insight-poc-fn-fn-logs/index",
94
- "id": "insight-poc-deploy-app-dev-sls/insight-poc-deploy-dev-insight-poc-fn-fn-logs/index",
95
- "type": "ALIYUN_SLS_INDEX",
96
- "projectName": "insight-poc-deploy-app-dev-sls",
97
- "logstoreName": "insight-poc-deploy-dev-insight-poc-fn-fn-logs"
98
- },
99
- {
100
- "sid": "si:aliyun:ram_role:dev:insight-poc-deploy-app-insight-poc-deploy-dev-insig-role-160n4hk",
101
- "id": "insight-poc-deploy-app-insight-poc-deploy-dev-insig-role-160n4hk",
102
- "type": "ALIYUN_RAM_ROLE",
103
- "roleArn": "acs:ram::123456789012:role/insight-poc-deploy-app-insight-poc-deploy-dev-insig-role-160n4hk",
104
- "roleName": "insight-poc-deploy-app-insight-poc-deploy-dev-insig-role-160n4hk",
105
- "roleId": "role-123",
106
- "arn": "acs:ram::123456789012:role/insight-poc-deploy-app-insight-poc-deploy-dev-insig-role-160n4hk",
107
- "policyName": "insight-poc-deploy-app-insight-poc-deploy-dev-insig-role-160n4hk-policy",
108
- "trustedServices": [
109
- "fc.aliyuncs.com",
110
- "apigateway.aliyuncs.com"
111
- ]
112
- }
113
- ],
114
- "lastUpdated": "2026-10-24T09:46:58.661Z",
115
- "status": "ready"
116
- },
117
- "events.gateway_event": {
118
- "mode": "managed",
119
- "region": "cn-hangzhou",
120
- "definition": {
121
- "groupName": "insight-poc-deploy-dev-gateway-event-agw-group",
122
- "description": "API Gateway group for insight-poc-deploy",
123
- "basePath": null,
124
- "triggers": [
125
- {
126
- "method": "GET",
127
- "path": "/api/hello",
128
- "backend": "insight-poc-fn"
129
- }
130
- ],
131
- "domain": null
132
- },
133
- "instances": [
134
- {
135
- "type": "ALIYUN_APIGW_GROUP",
136
- "sid": "si:aliyun:apigateway:dev:",
137
- "id": "",
138
- "groupId": null,
139
- "groupName": null,
140
- "description": null,
141
- "basePath": null,
142
- "subDomain": null,
143
- "instanceId": null,
144
- "instanceType": null,
145
- "regionId": null,
146
- "status": null,
147
- "createdTime": null,
148
- "modifiedTime": null,
149
- "billingStatus": null,
150
- "illegalStatus": null,
151
- "trafficLimit": null
152
- },
153
- {
154
- "type": "ALIYUN_APIGW_API",
155
- "sid": "si:aliyun:apigateway:dev:[object Object]/undefined",
156
- "id": "",
157
- "apiId": null,
158
- "apiName": null,
159
- "groupId": null,
160
- "groupName": null,
161
- "description": null,
162
- "visibility": null,
163
- "authType": null,
164
- "requestConfig": null,
165
- "serviceConfig": null,
166
- "resultType": null,
167
- "resultSample": null,
168
- "createdTime": null,
169
- "modifiedTime": null,
170
- "deployedInfos": null
171
- },
172
- {
173
- "type": "ALIYUN_APIGW_DEPLOYMENT",
174
- "sid": "si:aliyun:apigateway:dev:[object Object]/[object Object]/RELEASE",
175
- "id": "[object Object]/[object Object]/RELEASE",
176
- "groupId": {
177
- "body": {
178
- "groupId": "group-123"
179
- }
180
- },
181
- "apiId": {
182
- "body": {
183
- "apiId": "api-123"
184
- }
185
- },
186
- "stageName": "RELEASE"
187
- }
188
- ],
189
- "lastUpdated": "2026-10-24T09:46:58.666Z"
190
- }
191
- },
192
- "shared": {
193
- "logs.project": {
194
- "mode": "managed",
195
- "region": "cn-hangzhou",
196
- "definition": {
197
- "projectName": "insight-poc-deploy-app-dev-sls",
198
- "region": "cn-hangzhou",
199
- "stage": "dev"
200
- },
201
- "instances": [
202
- {
203
- "sid": "si:aliyun:sls_project:dev:insight-poc-deploy-app-dev-sls",
204
- "type": "ALIYUN_SLS_PROJECT",
205
- "id": "insight-poc-deploy-app-dev-sls"
206
- }
207
- ],
208
- "lastUpdated": "2026-10-24T09:46:53.659Z"
209
- }
210
- }
211
- }
212
- },
213
- "lineage": "0325f40e-8920-407d-8276-90e594078696",
214
- "serial": 2
215
- }
@@ -1,14 +0,0 @@
1
- {
2
- "version": "3.0",
3
- "provider": "aliyun",
4
- "app": "insight-poc-destroy-app",
5
- "service": "insight-poc-destroy",
6
- "stages": {
7
- "dev": {
8
- "resources": {},
9
- "shared": {}
10
- }
11
- },
12
- "lineage": "9f879266-9a17-4af8-9cee-68351c9cb957",
13
- "serial": 1
14
- }
@@ -1,132 +0,0 @@
1
- {
2
- "version": "3.0",
3
- "provider": "aliyun",
4
- "app": "insight-poc-timer-app",
5
- "service": "insight-poc-timer",
6
- "stages": {
7
- "dev": {
8
- "resources": {
9
- "functions.insight_poc_fn": {
10
- "mode": "managed",
11
- "region": "cn-hangzhou",
12
- "definition": {
13
- "functionName": "insight-poc-timer-fn",
14
- "runtime": "nodejs18",
15
- "handler": "index.handler",
16
- "memorySize": 512,
17
- "timeout": 10,
18
- "diskSize": null,
19
- "environment": {},
20
- "vpcConfig": null,
21
- "gpuConfig": null,
22
- "customContainerConfig": null,
23
- "nasConfig": null,
24
- "logConfig": {
25
- "enableRequestMetrics": false,
26
- "enableInstanceMetrics": false
27
- },
28
- "codeHash": "c96b718fa999add5e047823c3d7abfa1397fa8d0075bc6a4f3592785fcd4b76f",
29
- "timers": [
30
- {
31
- "name": "billing-run",
32
- "cron": "0 23 3 * * *",
33
- "payload": "{\"job\":\"billing-run\"}",
34
- "enable": true,
35
- "description": "daily billing run"
36
- },
37
- {
38
- "name": "report-hourly",
39
- "cron": "@every 1h",
40
- "enable": false
41
- }
42
- ]
43
- },
44
- "instances": [
45
- {
46
- "type": "ALIYUN_FC3_FUNCTION",
47
- "sid": "si:aliyun:fc3:dev:insight-poc-timer-fn",
48
- "id": "insight-poc-timer-fn",
49
- "functionName": "insight-poc-timer-fn",
50
- "functionArn": null,
51
- "functionId": null,
52
- "runtime": "nodejs18",
53
- "handler": "index.handler",
54
- "memorySize": 512,
55
- "timeout": 10,
56
- "diskSize": null,
57
- "cpu": null,
58
- "environment": {},
59
- "vpcConfig": {},
60
- "gpuConfig": {},
61
- "nasConfig": {},
62
- "logConfig": {
63
- "project": null,
64
- "logstore": null,
65
- "enableRequestMetrics": false,
66
- "enableInstanceMetrics": false,
67
- "logBeginRule": null
68
- },
69
- "customContainerConfig": {},
70
- "description": null,
71
- "internetAccess": null,
72
- "role": "acs:ram::123456789012:role/insight-poc-timer-app-insight-poc-timer-dev-insight-poc-fn-role",
73
- "codeChecksum": null,
74
- "codeSize": null,
75
- "createdTime": null,
76
- "lastModifiedTime": null,
77
- "state": "Running",
78
- "stateReason": null,
79
- "stateReasonCode": null,
80
- "lastUpdateStatus": null,
81
- "lastUpdateStatusReason": null,
82
- "lastUpdateStatusReasonCode": null,
83
- "tags": [
84
- {
85
- "key": null,
86
- "value": null
87
- }
88
- ]
89
- },
90
- {
91
- "type": "ALIYUN_FC3_TIMER_TRIGGER",
92
- "id": "billing-run",
93
- "sid": "si:aliyun:fc3-timer-trigger:dev:insight-poc-timer-fn.billing-run",
94
- "attributes": {
95
- "cron": "0 23 3 * * *",
96
- "payload": "{\"job\":\"billing-run\"}",
97
- "enable": true,
98
- "description": "daily billing run"
99
- }
100
- },
101
- {
102
- "type": "ALIYUN_FC3_TIMER_TRIGGER",
103
- "id": "report-hourly",
104
- "sid": "si:aliyun:fc3-timer-trigger:dev:insight-poc-timer-fn.report-hourly",
105
- "attributes": {
106
- "cron": "@every 1h",
107
- "enable": false
108
- }
109
- },
110
- {
111
- "sid": "si:aliyun:ram_role:dev:insight-poc-timer-app-insight-poc-timer-dev-insight-poc-fn-role",
112
- "id": "insight-poc-timer-app-insight-poc-timer-dev-insight-poc-fn-role",
113
- "type": "ALIYUN_RAM_ROLE",
114
- "roleArn": "acs:ram::123456789012:role/insight-poc-timer-app-insight-poc-timer-dev-insight-poc-fn-role",
115
- "roleName": "insight-poc-timer-app-insight-poc-timer-dev-insight-poc-fn-role",
116
- "roleId": "role-123",
117
- "arn": "acs:ram::123456789012:role/insight-poc-timer-app-insight-poc-timer-dev-insight-poc-fn-role",
118
- "policyName": "insight-poc-timer-app-insight-poc-timer-dev-insight-poc-fn-role-policy",
119
- "trustedServices": [
120
- "fc.aliyuncs.com"
121
- ]
122
- }
123
- ],
124
- "lastUpdated": "2026-10-24T09:45:13.165Z"
125
- }
126
- },
127
- "shared": {}
128
- }
129
- },
130
- "lineage": "b56a895e-0206-4c8b-8ea0-e5bdeae3d1f9",
131
- "serial": 3
132
- }
@@ -1,55 +0,0 @@
1
- {
2
- "version": "3.0",
3
- "provider": "volcengine",
4
- "app": "insight-volc-app",
5
- "service": "insight-volc",
6
- "stages": {
7
- "default": {
8
- "resources": {
9
- "buckets.static_site": {
10
- "mode": "managed",
11
- "region": "cn-beijing",
12
- "definition": {
13
- "bucketName": "insight-volc-static-bucket",
14
- "acl": "public-read",
15
- "storageClass": null,
16
- "websiteConfiguration": null,
17
- "websiteCodeHash": null,
18
- "policy": null
19
- },
20
- "instances": [
21
- {
22
- "type": "VOLCENGINE_TOS_BUCKET",
23
- "sid": "si:volcengine:tos:default:insight-volc-static-bucket",
24
- "id": "insight-volc-static-bucket",
25
- "bucketName": "insight-volc-static-bucket",
26
- "location": null,
27
- "creationDate": null,
28
- "storageClass": null,
29
- "extranetEndpoint": null,
30
- "intranetEndpoint": null,
31
- "acl": "private",
32
- "websiteConfig": null,
33
- "Tags": [],
34
- "owner": null,
35
- "projectName": null,
36
- "bucketType": null,
37
- "azRedundancy": null,
38
- "extranetS3Endpoint": null,
39
- "intranetS3Endpoint": null,
40
- "versioning": null,
41
- "crossRegionReplication": null,
42
- "transferAcceleration": null,
43
- "accessMonitor": null,
44
- "serverSideEncryptionConfiguration": null
45
- }
46
- ],
47
- "lastUpdated": "2026-10-24T09:47:19.214Z"
48
- }
49
- },
50
- "shared": {}
51
- }
52
- },
53
- "lineage": "b0e4b648-ee9e-4e33-80f6-e40aa2370837",
54
- "serial": 4
55
- }
@@ -1 +0,0 @@
1
- {"version":"3.0","provider":"volcengine","app":"insight-volc-destroy-app","service":"insight-volc-destroy","stages":{"dev":{"resources":{"functions.insight_poc_fn":{"mode":"managed","region":"cn-beijing","definition":{"functionName":"insight-poc-fn","runtime":"node20/v1","handler":"index.handler","memorySize":128,"timeout":30},"instances":[{"sid":"insight-poc-fn","id":"insight-poc-fn","type":"VOLCENGINE_VEFAAS_FUNCTION","functionId":"fn-123"},{"sid":"iam-role-sid","id":"insight-volc-destroy-app-insight-volc-destroy-dev-role","type":"VOLCENGINE_IAM_ROLE","trn":"trn:iam::123456789012:role/insight-volc-destroy-app-insight-volc-destroy-dev-role"}],"lastUpdated":"2024-01-01T00:00:00.000Z","status":"ready"}}}},"resources":{}}
@@ -1,93 +0,0 @@
1
- {
2
- "version": "3.0",
3
- "provider": "volcengine",
4
- "app": "insight-volc-nested-app",
5
- "service": "insight-volc-nested",
6
- "stages": {
7
- "dev": {
8
- "resources": {
9
- "functions.insight_poc_fn": {
10
- "mode": "managed",
11
- "region": "cn-beijing",
12
- "definition": {
13
- "functionName": "insight-poc-fn",
14
- "runtime": "node20/v1",
15
- "handler": "index.handler",
16
- "memorySize": 128,
17
- "timeout": 30,
18
- "environment": {
19
- "NODE_ENV": "production"
20
- },
21
- "codeHash": "c96b718fa999add5e047823c3d7abfa1397fa8d0075bc6a4f3592785fcd4b76f",
22
- "role": "trn:iam::123456789012:role/test-role",
23
- "logConfig": {
24
- "project": "insight-volc-nested-app-dev-tls",
25
- "topic": "insight-volc-nested-dev-insight_poc_fn-fn-logs"
26
- }
27
- },
28
- "instances": [
29
- {
30
- "type": "VOLCENGINE_VEFAAS_FUNCTION",
31
- "sid": "si:volcengine:insight-volc-nested:dev:insight-poc-fn",
32
- "id": "test-function",
33
- "functionName": "test-function",
34
- "functionId": "func-123",
35
- "runtime": "node20/v1",
36
- "handler": "index.handler",
37
- "memorySize": 128,
38
- "timeout": 30,
39
- "environment": {},
40
- "status": "Active",
41
- "createdTime": null,
42
- "lastUpdateTime": null
43
- },
44
- {
45
- "sid": "si:volcengine:tls_topic:dev:insight-volc-nested-app-dev-tls/insight-volc-nested-dev-insight_poc_fn-fn-logs",
46
- "id": "insight-volc-nested-app-dev-tls/insight-volc-nested-dev-insight_poc_fn-fn-logs",
47
- "type": "VOLCENGINE_TLS_TOPIC",
48
- "topicName": "insight-volc-nested-dev-insight_poc_fn-fn-logs",
49
- "topicId": "topic-123"
50
- },
51
- {
52
- "sid": "si:volcengine:tls_index:dev:insight-volc-nested-app-dev-tls/insight-volc-nested-dev-insight_poc_fn-fn-logs/index",
53
- "id": "insight-volc-nested-app-dev-tls/insight-volc-nested-dev-insight_poc_fn-fn-logs/index",
54
- "type": "VOLCENGINE_TLS_INDEX"
55
- },
56
- {
57
- "sid": "si:volcengine:iam_role:dev:insight-volc-nested-app-insight-volc-nested-dev-ins-role-1qdqnoa",
58
- "id": "insight-volc-nested-app-insight-volc-nested-dev-ins-role-1qdqnoa",
59
- "type": "VOLCENGINE_IAM_ROLE",
60
- "trn": "trn:iam::123456789012:role/test-role",
61
- "roleName": "test-role",
62
- "roleId": "role-123"
63
- }
64
- ],
65
- "status": "ready",
66
- "lastUpdated": "2026-10-24T09:42:25.796Z"
67
- }
68
- },
69
- "shared": {
70
- "logs.project": {
71
- "mode": "managed",
72
- "region": "cn-beijing",
73
- "definition": {
74
- "projectName": "insight-volc-nested-app-dev-tls",
75
- "region": "cn-beijing",
76
- "stage": "dev"
77
- },
78
- "instances": [
79
- {
80
- "sid": "si:volcengine:tls:dev:insight-volc-nested-app-dev-tls",
81
- "type": "VOLCENGINE_TLS_PROJECT",
82
- "id": "insight-volc-nested-app-dev-tls",
83
- "projectId": "proj-123"
84
- }
85
- ],
86
- "lastUpdated": "2026-10-24T09:42:22.534Z"
87
- }
88
- }
89
- }
90
- },
91
- "lineage": "f3480143-7aa8-4e0f-b167-376825dd84ce",
92
- "serial": 5
93
- }