@intentius/chant-lexicon-pulumi 0.124.98 → 0.124.99

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 (316) hide show
  1. package/dist/adopt.d.ts +0 -1
  2. package/dist/capability-plugin.d.ts +0 -1
  3. package/dist/change-set.d.ts +0 -1
  4. package/dist/changed-units.d.ts +0 -1
  5. package/dist/check-step.d.ts +0 -1
  6. package/dist/ci-setup.d.ts +0 -1
  7. package/dist/codegen/docs-cli.d.ts +0 -1
  8. package/dist/codegen/docs.d.ts +0 -1
  9. package/dist/codegen/package.d.ts +0 -1
  10. package/dist/composites/pulumi-adopt-op.d.ts +0 -1
  11. package/dist/composites/pulumi-watch-op.d.ts +0 -1
  12. package/dist/config.d.ts +0 -1
  13. package/dist/describe-resources.d.ts +0 -1
  14. package/dist/drift-read.d.ts +0 -1
  15. package/dist/drift-record.d.ts +0 -1
  16. package/dist/engine-events.d.ts +0 -1
  17. package/dist/engine-graph.d.ts +0 -1
  18. package/dist/exit-codes.d.ts +0 -1
  19. package/dist/index.d.ts +0 -1
  20. package/dist/init-templates.d.ts +0 -1
  21. package/dist/integrity.json +2 -2
  22. package/dist/lint/audit-catalog.d.ts +0 -1
  23. package/dist/lint/post-synth/index.d.ts +0 -1
  24. package/dist/lint/post-synth/member-read-helpers.d.ts +0 -1
  25. package/dist/lint/post-synth/pul001.d.ts +0 -1
  26. package/dist/lint/post-synth/pul002.d.ts +0 -1
  27. package/dist/lint/post-synth/pul003.d.ts +0 -1
  28. package/dist/lint/post-synth/pul004.d.ts +0 -1
  29. package/dist/lint/post-synth/pul005.d.ts +0 -1
  30. package/dist/lint/post-synth/pul006.d.ts +0 -1
  31. package/dist/lint/post-synth/pul007.d.ts +0 -1
  32. package/dist/lint/post-synth/pul008.d.ts +0 -1
  33. package/dist/lint/post-synth/pul009.d.ts +0 -1
  34. package/dist/lint/post-synth/pul010.d.ts +0 -1
  35. package/dist/lint/post-synth/pul011.d.ts +0 -1
  36. package/dist/lint/post-synth/pul012.d.ts +0 -1
  37. package/dist/lint/post-synth/pul013.d.ts +0 -1
  38. package/dist/lint/post-synth/pul014.d.ts +0 -1
  39. package/dist/lint/post-synth/pul015.d.ts +0 -1
  40. package/dist/lint/rules/index.d.ts +0 -1
  41. package/dist/lint/rules/member-dir-absolute.d.ts +0 -1
  42. package/dist/lock-rows.d.ts +0 -1
  43. package/dist/lsp/completions.d.ts +0 -1
  44. package/dist/lsp/documents.d.ts +0 -1
  45. package/dist/lsp/hover.d.ts +0 -1
  46. package/dist/lsp/keys.d.ts +0 -1
  47. package/dist/lsp/object-path.d.ts +0 -1
  48. package/dist/lsp/yaml-cursor.d.ts +0 -1
  49. package/dist/manifest.json +1 -1
  50. package/dist/member-engine.d.ts +0 -1
  51. package/dist/member-outputs.d.ts +0 -1
  52. package/dist/op/activities/index.d.ts +0 -1
  53. package/dist/op/activities/pulumi-adopt.d.ts +0 -1
  54. package/dist/op/activities/pulumi.d.ts +0 -1
  55. package/dist/op/activity-contracts.d.ts +0 -1
  56. package/dist/op/builders.d.ts +0 -1
  57. package/dist/package-cli.d.ts +0 -1
  58. package/dist/plan-shape.d.ts +0 -1
  59. package/dist/planned-output-changes.d.ts +0 -1
  60. package/dist/plugin.d.ts +0 -1
  61. package/dist/plunge-timings.d.ts +0 -1
  62. package/dist/preview-tips.d.ts +0 -1
  63. package/dist/pulumi-up.d.ts +0 -1
  64. package/dist/release-copy.d.ts +0 -1
  65. package/dist/review-stack.d.ts +0 -1
  66. package/dist/run.d.ts +0 -1
  67. package/dist/serializer.d.ts +0 -1
  68. package/dist/stack-export-snapshot.d.ts +0 -1
  69. package/dist/stack-ops.d.ts +0 -1
  70. package/dist/stack-outputs.d.ts +0 -1
  71. package/dist/stack-references.d.ts +0 -1
  72. package/dist/trace-facts.d.ts +0 -1
  73. package/dist/values.d.ts +0 -1
  74. package/dist/workspace-member.d.ts +0 -1
  75. package/package.json +3 -4
  76. package/dist/adopt.d.ts.map +0 -1
  77. package/dist/capability-plugin.d.ts.map +0 -1
  78. package/dist/change-set.d.ts.map +0 -1
  79. package/dist/changed-units.d.ts.map +0 -1
  80. package/dist/check-step.d.ts.map +0 -1
  81. package/dist/ci-setup.d.ts.map +0 -1
  82. package/dist/codegen/docs-cli.d.ts.map +0 -1
  83. package/dist/codegen/docs.d.ts.map +0 -1
  84. package/dist/codegen/package.d.ts.map +0 -1
  85. package/dist/composites/pulumi-adopt-op.d.ts.map +0 -1
  86. package/dist/composites/pulumi-watch-op.d.ts.map +0 -1
  87. package/dist/config.d.ts.map +0 -1
  88. package/dist/describe-resources.d.ts.map +0 -1
  89. package/dist/drift-read.d.ts.map +0 -1
  90. package/dist/drift-record.d.ts.map +0 -1
  91. package/dist/engine-events.d.ts.map +0 -1
  92. package/dist/engine-graph.d.ts.map +0 -1
  93. package/dist/exit-codes.d.ts.map +0 -1
  94. package/dist/index.d.ts.map +0 -1
  95. package/dist/init-templates.d.ts.map +0 -1
  96. package/dist/lint/audit-catalog.d.ts.map +0 -1
  97. package/dist/lint/post-synth/index.d.ts.map +0 -1
  98. package/dist/lint/post-synth/member-read-helpers.d.ts.map +0 -1
  99. package/dist/lint/post-synth/pul001.d.ts.map +0 -1
  100. package/dist/lint/post-synth/pul002.d.ts.map +0 -1
  101. package/dist/lint/post-synth/pul003.d.ts.map +0 -1
  102. package/dist/lint/post-synth/pul004.d.ts.map +0 -1
  103. package/dist/lint/post-synth/pul005.d.ts.map +0 -1
  104. package/dist/lint/post-synth/pul006.d.ts.map +0 -1
  105. package/dist/lint/post-synth/pul007.d.ts.map +0 -1
  106. package/dist/lint/post-synth/pul008.d.ts.map +0 -1
  107. package/dist/lint/post-synth/pul009.d.ts.map +0 -1
  108. package/dist/lint/post-synth/pul010.d.ts.map +0 -1
  109. package/dist/lint/post-synth/pul011.d.ts.map +0 -1
  110. package/dist/lint/post-synth/pul012.d.ts.map +0 -1
  111. package/dist/lint/post-synth/pul013.d.ts.map +0 -1
  112. package/dist/lint/post-synth/pul014.d.ts.map +0 -1
  113. package/dist/lint/post-synth/pul015.d.ts.map +0 -1
  114. package/dist/lint/rules/index.d.ts.map +0 -1
  115. package/dist/lint/rules/member-dir-absolute.d.ts.map +0 -1
  116. package/dist/lock-rows.d.ts.map +0 -1
  117. package/dist/lsp/completions.d.ts.map +0 -1
  118. package/dist/lsp/documents.d.ts.map +0 -1
  119. package/dist/lsp/hover.d.ts.map +0 -1
  120. package/dist/lsp/keys.d.ts.map +0 -1
  121. package/dist/lsp/object-path.d.ts.map +0 -1
  122. package/dist/lsp/yaml-cursor.d.ts.map +0 -1
  123. package/dist/member-engine.d.ts.map +0 -1
  124. package/dist/member-outputs.d.ts.map +0 -1
  125. package/dist/op/activities/index.d.ts.map +0 -1
  126. package/dist/op/activities/pulumi-adopt.d.ts.map +0 -1
  127. package/dist/op/activities/pulumi.d.ts.map +0 -1
  128. package/dist/op/activity-contracts.d.ts.map +0 -1
  129. package/dist/op/builders.d.ts.map +0 -1
  130. package/dist/package-cli.d.ts.map +0 -1
  131. package/dist/plan-shape.d.ts.map +0 -1
  132. package/dist/planned-output-changes.d.ts.map +0 -1
  133. package/dist/plugin.d.ts.map +0 -1
  134. package/dist/plunge-timings.d.ts.map +0 -1
  135. package/dist/preview-tips.d.ts.map +0 -1
  136. package/dist/pulumi-up.d.ts.map +0 -1
  137. package/dist/release-copy.d.ts.map +0 -1
  138. package/dist/review-stack.d.ts.map +0 -1
  139. package/dist/run.d.ts.map +0 -1
  140. package/dist/serializer.d.ts.map +0 -1
  141. package/dist/stack-export-snapshot.d.ts.map +0 -1
  142. package/dist/stack-ops.d.ts.map +0 -1
  143. package/dist/stack-outputs.d.ts.map +0 -1
  144. package/dist/stack-references.d.ts.map +0 -1
  145. package/dist/trace-facts.d.ts.map +0 -1
  146. package/dist/values.d.ts.map +0 -1
  147. package/dist/workspace-member.d.ts.map +0 -1
  148. package/src/adopt.ts +0 -202
  149. package/src/capability-plugin.ts +0 -34
  150. package/src/change-set.test.ts +0 -245
  151. package/src/change-set.ts +0 -508
  152. package/src/changed-units.test.ts +0 -87
  153. package/src/changed-units.ts +0 -96
  154. package/src/check-step.test.ts +0 -191
  155. package/src/check-step.ts +0 -316
  156. package/src/ci-setup.test.ts +0 -234
  157. package/src/ci-setup.ts +0 -224
  158. package/src/codegen/docs-cli.ts +0 -4
  159. package/src/codegen/docs.ts +0 -58
  160. package/src/codegen/package.ts +0 -63
  161. package/src/composites/pulumi-adopt-op.test.ts +0 -258
  162. package/src/composites/pulumi-adopt-op.ts +0 -193
  163. package/src/composites/pulumi-watch-op.test.ts +0 -42
  164. package/src/composites/pulumi-watch-op.ts +0 -85
  165. package/src/config.ts +0 -43
  166. package/src/describe-resources.test.ts +0 -112
  167. package/src/describe-resources.ts +0 -118
  168. package/src/drift-read.test.ts +0 -178
  169. package/src/drift-read.ts +0 -94
  170. package/src/drift-record.test.ts +0 -197
  171. package/src/drift-record.ts +0 -326
  172. package/src/engine-events.test.ts +0 -160
  173. package/src/engine-events.ts +0 -395
  174. package/src/engine-graph.test.ts +0 -141
  175. package/src/engine-graph.ts +0 -149
  176. package/src/exit-codes.test.ts +0 -21
  177. package/src/exit-codes.ts +0 -71
  178. package/src/index.ts +0 -139
  179. package/src/init-templates.ts +0 -85
  180. package/src/lint/audit-catalog.test.ts +0 -33
  181. package/src/lint/audit-catalog.ts +0 -174
  182. package/src/lint/post-synth/index.ts +0 -35
  183. package/src/lint/post-synth/member-read-helpers.ts +0 -122
  184. package/src/lint/post-synth/post-synth.test.ts +0 -245
  185. package/src/lint/post-synth/pul001.ts +0 -38
  186. package/src/lint/post-synth/pul002.ts +0 -38
  187. package/src/lint/post-synth/pul003.ts +0 -43
  188. package/src/lint/post-synth/pul004.ts +0 -32
  189. package/src/lint/post-synth/pul005.ts +0 -31
  190. package/src/lint/post-synth/pul006.ts +0 -31
  191. package/src/lint/post-synth/pul007.ts +0 -35
  192. package/src/lint/post-synth/pul008.ts +0 -35
  193. package/src/lint/post-synth/pul009.ts +0 -32
  194. package/src/lint/post-synth/pul010.ts +0 -42
  195. package/src/lint/post-synth/pul011.ts +0 -38
  196. package/src/lint/post-synth/pul012.ts +0 -35
  197. package/src/lint/post-synth/pul013.ts +0 -35
  198. package/src/lint/post-synth/pul014.ts +0 -32
  199. package/src/lint/post-synth/pul015.ts +0 -39
  200. package/src/lint/rules/index.ts +0 -7
  201. package/src/lint/rules/member-dir-absolute.test.ts +0 -37
  202. package/src/lint/rules/member-dir-absolute.ts +0 -83
  203. package/src/lock-rows.test.ts +0 -60
  204. package/src/lock-rows.ts +0 -56
  205. package/src/lsp/completions.test.ts +0 -69
  206. package/src/lsp/completions.ts +0 -119
  207. package/src/lsp/documents.ts +0 -48
  208. package/src/lsp/hover.test.ts +0 -56
  209. package/src/lsp/hover.ts +0 -83
  210. package/src/lsp/keys.ts +0 -169
  211. package/src/lsp/object-path.ts +0 -71
  212. package/src/lsp/yaml-cursor.ts +0 -85
  213. package/src/member-engine.test.ts +0 -112
  214. package/src/member-engine.ts +0 -97
  215. package/src/member-outputs.test.ts +0 -339
  216. package/src/member-outputs.ts +0 -157
  217. package/src/op/activities/index.ts +0 -36
  218. package/src/op/activities/pulumi-adopt.ts +0 -345
  219. package/src/op/activities/pulumi.ts +0 -136
  220. package/src/op/activity-contracts.ts +0 -129
  221. package/src/op/builders.ts +0 -67
  222. package/src/package-cli.ts +0 -14
  223. package/src/plan-shape.test.ts +0 -91
  224. package/src/plan-shape.ts +0 -105
  225. package/src/planned-output-changes.test.ts +0 -85
  226. package/src/planned-output-changes.ts +0 -141
  227. package/src/plugin.test.ts +0 -96
  228. package/src/plugin.ts +0 -272
  229. package/src/plunge-timings.test.ts +0 -241
  230. package/src/plunge-timings.ts +0 -115
  231. package/src/plunge-up-failed.test.ts +0 -54
  232. package/src/pr-note.test.ts +0 -87
  233. package/src/preview-generated.test.ts +0 -124
  234. package/src/preview-tips.test.ts +0 -134
  235. package/src/preview-tips.ts +0 -128
  236. package/src/pulumi-up.test.ts +0 -581
  237. package/src/pulumi-up.ts +0 -1102
  238. package/src/pulumi-urn-node.test.ts +0 -94
  239. package/src/release-copy.test.ts +0 -162
  240. package/src/release-copy.ts +0 -223
  241. package/src/review-stack.test.ts +0 -254
  242. package/src/review-stack.ts +0 -266
  243. package/src/run-plan-flags.test.ts +0 -53
  244. package/src/run.test.ts +0 -540
  245. package/src/run.ts +0 -1129
  246. package/src/serializer.test.ts +0 -9
  247. package/src/serializer.ts +0 -15
  248. package/src/skills/chant-pulumi-plunge.md +0 -51
  249. package/src/skills/chant-pulumi-stack-export.md +0 -54
  250. package/src/skills/chant-pulumi.md +0 -83
  251. package/src/stack-export-snapshot.test.ts +0 -192
  252. package/src/stack-export-snapshot.ts +0 -312
  253. package/src/stack-ops.fake-binary.test.ts +0 -323
  254. package/src/stack-ops.test.ts +0 -511
  255. package/src/stack-ops.ts +0 -1082
  256. package/src/stack-outputs.ts +0 -66
  257. package/src/stack-references.test.ts +0 -96
  258. package/src/stack-references.ts +0 -110
  259. package/src/testdata/plunge-drift/README.md +0 -10
  260. package/src/testdata/plunge-drift/assets-drifted.ndjson +0 -3
  261. package/src/testdata/plunge-drift/component-unsupported.ndjson +0 -3
  262. package/src/testdata/plunge-drift/role-in-sync.ndjson +0 -3
  263. package/src/testdata/plunge-drift/settled-empty.ndjson +0 -2
  264. package/src/testdata/plunge-graph/Pulumi.yaml +0 -4
  265. package/src/testdata/plunge-graph/README.md +0 -12
  266. package/src/testdata/plunge-graph/engine-graph.json +0 -158
  267. package/src/testdata/plunge-graph/stack-export.json +0 -49
  268. package/src/testdata/plunge-member/Pulumi.yaml +0 -4
  269. package/src/testdata/plunge-member/README.md +0 -3
  270. package/src/testdata/plunge-member/stack-export.json +0 -480
  271. package/src/testdata/plunge-outputs/Pulumi.yaml +0 -9
  272. package/src/testdata/plunge-outputs/README.md +0 -7
  273. package/src/testdata/plunge-outputs/stack-export.json +0 -2003
  274. package/src/testdata/plunge-outputs/stack-output.json +0 -19
  275. package/src/testdata/pulumi-member/Pulumi.yaml +0 -2
  276. package/src/testdata/pulumi-member/README.md +0 -50
  277. package/src/testdata/pulumi-member/recording/Pulumi.dev.yaml +0 -19
  278. package/src/testdata/pulumi-member/recording/Pulumi.yaml +0 -7
  279. package/src/testdata/pulumi-member/recording/index.js +0 -47
  280. package/src/testdata/pulumi-member/recording/package-lock.json +0 -2707
  281. package/src/testdata/pulumi-member/recording/package.json +0 -9
  282. package/src/testdata/pulumi-member/stack-export.json +0 -746
  283. package/src/testdata/pulumi-outputs/Pulumi.yaml +0 -7
  284. package/src/testdata/pulumi-outputs/README.md +0 -9
  285. package/src/testdata/pulumi-outputs/preview-replaced.json +0 -2894
  286. package/src/testdata/pulumi-outputs/preview-settled.json +0 -2894
  287. package/src/testdata/pulumi-outputs/stack-export.json +0 -1919
  288. package/src/testdata/pulumi-outputs/stack-output.json +0 -19
  289. package/src/testdata/pulumi-preview/Pulumi.yaml +0 -7
  290. package/src/testdata/pulumi-preview/README.md +0 -9
  291. package/src/testdata/pulumi-preview/preview-create.json +0 -992
  292. package/src/testdata/pulumi-preview/preview.json +0 -2894
  293. package/src/testdata/pulumi-preview/stack-export.json +0 -1919
  294. package/src/testdata/pulumi-refresh/Pulumi.yaml +0 -7
  295. package/src/testdata/pulumi-refresh/README.md +0 -14
  296. package/src/testdata/pulumi-refresh/all.json +0 -3742
  297. package/src/testdata/pulumi-refresh/bucket-edited.json +0 -468
  298. package/src/testdata/pulumi-refresh/policy-deleted.json +0 -95
  299. package/src/testdata/pulumi-refresh/queue-edited.json +0 -250
  300. package/src/testdata/pulumi-refresh/role-same.json +0 -242
  301. package/src/testdata/pulumi-refresh/secret-edited.json +0 -247
  302. package/src/testdata/pulumi-refresh/stack-export.json +0 -1907
  303. package/src/testdata/pulumi-stream/README.md +0 -16
  304. package/src/testdata/pulumi-stream/preview-stream.ndjson +0 -42
  305. package/src/testdata/pulumi-stream/up-failed-plunge.ndjson +0 -5
  306. package/src/testdata/pulumi-unexported/Pulumi.yaml +0 -2
  307. package/src/testdata/pulumi-urn-node/Pulumi.yaml +0 -7
  308. package/src/testdata/pulumi-urn-node/README.md +0 -9
  309. package/src/testdata/pulumi-urn-node/preview.json +0 -2894
  310. package/src/testdata/pulumi-urn-node/stack-export.json +0 -1919
  311. package/src/trace-facts.test.ts +0 -38
  312. package/src/trace-facts.ts +0 -83
  313. package/src/values.ts +0 -147
  314. package/src/workspace-kinds.test.ts +0 -47
  315. package/src/workspace-member.test.ts +0 -127
  316. package/src/workspace-member.ts +0 -304
@@ -1,66 +0,0 @@
1
- /**
2
- * A Pulumi stack's outputs (#4453), the seam C5 (#4455) reads to feed chant
3
- * parameters from a Pulumi member.
4
- *
5
- * A stack's outputs are the outputs of its root `pulumi:pulumi:Stack`
6
- * resource. Deployed values come from a `pulumi stack export`
7
- * (`deployment.resources[]`), planned ones from a `pulumi preview --json`
8
- * step on the stack (`newState.outputs`), where a value known only after
9
- * apply is Pulumi's unknown sentinel. Each output says which: a known value,
10
- * `unknown: true`, or `secret: true` with no value. C5 holds a dependent
11
- * back on an unknown output, as chant holds back roots waiting on unknown
12
- * terraform outputs.
13
- *
14
- * Recorded against the plunge corpus (#4475): `pulumi preview --json` (3.272.0)
15
- * prints the stack's step with no `outputs` at all, so a real preview plans
16
- * no stack outputs. {@link pulumiPlannedStackOutputs} reads `newState.outputs`
17
- * when a step carries them and is undefined when it does not, which
18
- * `member-outputs` turns into the exported outputs (nothing to apply) or
19
- * every output unknown (a change planned).
20
- */
21
- import { PULUMI_STACK_TYPE } from "@intentius/chant/pulumi-urn";
22
- import { pulumiSteps } from "./change-set";
23
- import { holdsSecret, holdsUnknown, isObject, propertyKeys, type Json } from "./values";
24
-
25
- /** One stack output. */
26
- export interface PulumiStackOutput {
27
- name: string;
28
- /** The value, when known and not secret. */
29
- value?: unknown;
30
- /** Known only after apply. */
31
- unknown?: true;
32
- /** A secret: the value is not carried. */
33
- secret?: true;
34
- }
35
-
36
- function outputsOf(map: Json | undefined): PulumiStackOutput[] {
37
- return propertyKeys(map)
38
- .sort()
39
- .map((name) => {
40
- const v = map![name];
41
- if (holdsSecret(v)) return { name, secret: true as const };
42
- if (holdsUnknown(v)) return { name, unknown: true as const };
43
- return { name, value: v };
44
- });
45
- }
46
-
47
- /** The outputs a `pulumi stack export` records for the stack: what the last apply produced. */
48
- export function pulumiExportedStackOutputs(exported: unknown): PulumiStackOutput[] {
49
- const deployment = isObject(exported) && isObject(exported.deployment) ? exported.deployment : {};
50
- const resources = Array.isArray(deployment.resources) ? deployment.resources : [];
51
- const stack = resources.find((r) => isObject(r) && r.type === PULUMI_STACK_TYPE) as Json | undefined;
52
- return outputsOf(isObject(stack?.outputs) ? (stack!.outputs as Json) : undefined);
53
- }
54
-
55
- /**
56
- * The outputs a `pulumi preview --json` plans for the stack, unknowns marked. Undefined when the preview has no
57
- * stack step, or a stack step that carries no outputs, which is what a real preview prints.
58
- */
59
- export function pulumiPlannedStackOutputs(preview: unknown): PulumiStackOutput[] | undefined {
60
- const step = (pulumiSteps(preview) ?? []).find((s) => (s.newState?.type ?? s.oldState?.type) === PULUMI_STACK_TYPE);
61
- // Only the new state plans: a `same` stack step's old state holds the last deployment's outputs, which a change
62
- // elsewhere in the stack can move (recorded, #4475: a replaced VPC's id).
63
- const outputs = step?.newState?.outputs;
64
- if (!step || !isObject(outputs)) return undefined;
65
- return outputsOf(outputs);
66
- }
@@ -1,96 +0,0 @@
1
- /**
2
- * `StackReference` reads between `pulumi-up` steps (#4547). The exports are
3
- * built in the shape `pulumi stack export` writes a `StackReference`
4
- * (`inputs.name`, `outputs.outputs`, `outputs.secretOutputNames`), not
5
- * recorded; a floci recording of two corpus stacks replaces them at
6
- * epic-ready. No engine runs, and the index store is skipped (`null`).
7
- */
8
- import { mkdtempSync, writeFileSync } from "node:fs";
9
- import { tmpdir } from "node:os";
10
- import { join } from "node:path";
11
- import { describe, expect, test } from "vitest";
12
- import { layerWaves } from "@intentius/chant/gated-waves";
13
- import { pulumiDeclaredReads } from "./pulumi-up";
14
- import { parsePulumiStackName, pulumiStackReferences, stackReferenceOwner } from "./stack-references";
15
-
16
- const ref = (stack: string, name: string, outputs: Record<string, unknown>, secret: string[] = []) => ({
17
- urn: `urn:pulumi:${stack}::app::pulumi:pulumi:StackReference::${name}`,
18
- custom: true,
19
- type: "pulumi:pulumi:StackReference",
20
- inputs: { name },
21
- outputs: { name, outputs, secretOutputNames: secret },
22
- });
23
-
24
- const exportOf = (resources: unknown[]) => ({ version: 3, deployment: { resources } });
25
-
26
- function project(name: string, exported?: unknown): string {
27
- const dir = mkdtempSync(join(tmpdir(), `stackref-${name}-`));
28
- writeFileSync(join(dir, "Pulumi.yaml"), `name: ${name}\nruntime: nodejs\n`);
29
- if (exported !== undefined) writeFileSync(join(dir, "stack-export.json"), JSON.stringify(exported));
30
- return dir;
31
- }
32
-
33
- describe("reading StackReference from an export", () => {
34
- test("names split three ways; a malformed one is left out", () => {
35
- expect(parsePulumiStackName("acme/network/prod")).toEqual({ org: "acme", project: "network", stack: "prod" });
36
- expect(parsePulumiStackName("network/prod")).toEqual({ project: "network", stack: "prod" });
37
- expect(parsePulumiStackName("prod")).toEqual({ stack: "prod" });
38
- expect(parsePulumiStackName("a//b")).toBeUndefined();
39
- });
40
-
41
- test("each reference with its recorded outputs, secret ones apart", () => {
42
- const refs = pulumiStackReferences(exportOf([ref("prod", "acme/network/prod", { vpcId: "vpc-1", dbPassword: "[secret]" }, ["dbPassword"])]));
43
- expect(refs).toEqual([
44
- expect.objectContaining({ name: "acme/network/prod", project: "network", stack: "prod", outputs: ["vpcId"], secretOutputs: ["dbPassword"] }),
45
- ]);
46
- expect(pulumiStackReferences(undefined)).toEqual([]);
47
- });
48
-
49
- test("the owner is the one other step with that project and stack; a bare name is the reader's own project", () => {
50
- const owners = [
51
- { component: "network", project: "network", stack: "prod" },
52
- { component: "app", project: "app", stack: "prod" },
53
- { component: "app-staging", project: "app", stack: "staging" },
54
- ];
55
- const [r] = pulumiStackReferences(exportOf([ref("prod", "network/prod", { vpcId: "v" })]));
56
- expect(stackReferenceOwner(r!, { component: "app", project: "app" }, owners)).toEqual({ owner: owners[0] });
57
- const [bare] = pulumiStackReferences(exportOf([ref("prod", "staging", { x: 1 })]));
58
- expect(stackReferenceOwner(bare!, { component: "app", project: "app" }, owners)).toEqual({ owner: owners[2] });
59
- const [far] = pulumiStackReferences(exportOf([ref("prod", "other/prod", { x: 1 })]));
60
- expect(stackReferenceOwner(far!, { component: "app", project: "app" }, owners)).toMatchObject({ outside: expect.stringMatching(/other\/prod is not a stack/) });
61
- });
62
- });
63
-
64
- describe("pulumi-up's declaredReads", () => {
65
- test("two stacks, one reading the other, plan in two waves in that order with no dependsOn written", async () => {
66
- const network = project("network", exportOf([]));
67
- const app = project("app", exportOf([ref("prod", "acme/network/prod", { vpcId: "vpc-1", subnetIds: ["s"], token: "[secret]" }, ["token"])]));
68
- const reads = await pulumiDeclaredReads(
69
- { root: "/" },
70
- [
71
- { component: "app", index: 0, step: { dir: app, stack: "prod" } },
72
- { component: "network", index: 0, step: { dir: network, stack: "prod" } },
73
- ],
74
- { exportStore: null },
75
- );
76
- expect(reads).toEqual([
77
- { reader: "app", index: 0, upstream: "network", output: "subnetIds", at: "/stackReferences/acme~1network~1prod/subnetIds" },
78
- { reader: "app", index: 0, upstream: "network", output: "vpcId", at: "/stackReferences/acme~1network~1prod/vpcId" },
79
- ]);
80
- const { applyDeclaredReads } = await import("@intentius/chant/components/declared-reads");
81
- const placed = applyDeclaredReads(
82
- [
83
- { name: "app", deploy: [{ phase: "deploy", steps: [{ kind: "pulumi-up", dir: app, stack: "prod" }] }] },
84
- { name: "network", deploy: [{ phase: "deploy", steps: [{ kind: "pulumi-up", dir: network, stack: "prod" }] }] },
85
- ] as never,
86
- reads.map((r) => ({ ...r, index: r.index ?? 0, kind: "pulumi-up" })),
87
- ) as unknown as { name: string; dependsOn?: string[] }[];
88
- expect(placed.find((c) => c.name === "app")!.dependsOn).toEqual(["network"]);
89
- expect(layerWaves(placed.map((c) => ({ name: c.name, dependsOn: c.dependsOn ?? [] })))).toEqual([["network"], ["app"]]);
90
- });
91
-
92
- test("a reference to a stack outside the project adds no read", async () => {
93
- const app = project("app", exportOf([ref("prod", "acme/billing/prod", { invoiceQueue: "q" })]));
94
- expect(await pulumiDeclaredReads({ root: "/" }, [{ component: "app", index: 0, step: { dir: app, stack: "prod" } }], { exportStore: null })).toEqual([]);
95
- });
96
- });
@@ -1,110 +0,0 @@
1
- /**
2
- * `StackReference` between stacks (#4547): which stacks a stack's program
3
- * reads, from its export, as reads between `pulumi-up` components.
4
- *
5
- * A program that reads another stack's outputs holds a
6
- * `pulumi:pulumi:StackReference` resource. Its `inputs.name` names the stack
7
- * (`<org>/<project>/<stack>`, `<project>/<stack>`, or `<stack>` for one in
8
- * the same project), and its `outputs.outputs` record the outputs the
9
- * referenced stack had when the program last read it, with the secret ones
10
- * listed in `outputs.secretOutputNames`.
11
- *
12
- * `pulumi-up`'s `declaredReads` (`./pulumi-up.ts`) reads each step's export
13
- * (the index store's, else the checked-in `stack-export.json`, #4546) and
14
- * matches each reference to the one other `pulumi-up` step whose
15
- * `Pulumi.yaml` `name` and `stack` it names. Core then writes a
16
- * `stackOutput()` of each recorded output the reference reads into the
17
- * reader's `stackReferences` input and a `dependsOn` on the upstream, so
18
- * waves put the referenced stack first, a failed upstream holds the reader,
19
- * and a reader whose upstream's plan cannot say a value waits for its `up`.
20
- *
21
- * What adds no edge, and is reported on the plan by name
22
- * (`PulumiUpArtifact.stackReferences.outside`): a reference to a stack no
23
- * step in the project applies, one two steps could own, and one whose
24
- * export recorded no output that is not secret (core reads a stack's
25
- * outputs blind, so a secret one has no value to wire).
26
- */
27
- import { isObject } from "./values";
28
-
29
- export const PULUMI_STACK_REFERENCE_TYPE = "pulumi:pulumi:StackReference";
30
-
31
- /** One `StackReference` an export holds. */
32
- export interface PulumiStackReference {
33
- urn: string;
34
- /** `inputs.name`, as the program wrote it. */
35
- name: string;
36
- org?: string;
37
- /** Absent when the name is a bare stack in the reader's own project. */
38
- project?: string;
39
- stack: string;
40
- /** The referenced stack's outputs the export recorded, secret ones left out, sorted. */
41
- outputs: string[];
42
- /** Recorded outputs that are secret. */
43
- secretOutputs: string[];
44
- }
45
-
46
- /** `<org>/<project>/<stack>`, `<project>/<stack>` or `<stack>`, split; undefined for anything else. */
47
- export function parsePulumiStackName(name: string): { org?: string; project?: string; stack: string } | undefined {
48
- const parts = name.split("/");
49
- if (parts.some((p) => p === "")) return undefined;
50
- if (parts.length === 1) return { stack: parts[0]! };
51
- if (parts.length === 2) return { project: parts[0]!, stack: parts[1]! };
52
- if (parts.length === 3) return { org: parts[0]!, project: parts[1]!, stack: parts[2]! };
53
- return undefined;
54
- }
55
-
56
- /** Every `StackReference` in an export whose name reads, in URN order. */
57
- export function pulumiStackReferences(exported: unknown): PulumiStackReference[] {
58
- const deployment = isObject(exported) && isObject(exported.deployment) ? exported.deployment : undefined;
59
- const list = deployment && Array.isArray(deployment.resources) ? deployment.resources : [];
60
- const out: PulumiStackReference[] = [];
61
- for (const r of list) {
62
- if (!isObject(r) || r.type !== PULUMI_STACK_REFERENCE_TYPE || typeof r.urn !== "string") continue;
63
- const inputs = isObject(r.inputs) ? r.inputs : {};
64
- const outputs = isObject(r.outputs) ? r.outputs : {};
65
- const name = typeof inputs.name === "string" ? inputs.name : typeof outputs.name === "string" ? outputs.name : undefined;
66
- if (!name) continue;
67
- const parsed = parsePulumiStackName(name);
68
- if (!parsed) continue;
69
- const recorded = isObject(outputs.outputs) ? Object.keys(outputs.outputs) : [];
70
- const secret = new Set(Array.isArray(outputs.secretOutputNames) ? outputs.secretOutputNames.filter((s): s is string => typeof s === "string") : []);
71
- out.push({
72
- urn: r.urn,
73
- name,
74
- ...parsed,
75
- outputs: recorded.filter((k) => !secret.has(k)).sort(),
76
- secretOutputs: recorded.filter((k) => secret.has(k)).sort(),
77
- });
78
- }
79
- return out.sort((a, b) => (a.urn < b.urn ? -1 : a.urn > b.urn ? 1 : 0));
80
- }
81
-
82
- /** A step a reference may name: its component, project and stack. */
83
- export interface PulumiStackOwner {
84
- component: string;
85
- project: string;
86
- stack: string;
87
- }
88
-
89
- /**
90
- * The one owner a reference names, or why there is none. A bare stack name
91
- * is in the reader's own project. The org is not compared: a step names no
92
- * org, and two orgs with one project and stack in one change are not a case
93
- * a workspace has.
94
- */
95
- export function stackReferenceOwner(
96
- ref: PulumiStackReference,
97
- reader: { component: string; project: string },
98
- owners: readonly PulumiStackOwner[],
99
- ): { owner: PulumiStackOwner } | { outside: string } {
100
- const project = ref.project ?? reader.project;
101
- const found = owners.filter((o) => o.component !== reader.component && o.project === project && o.stack === ref.stack);
102
- if (found.length === 1) return { owner: found[0]! };
103
- if (found.length > 1) return { outside: `${ref.name} could be any of ${found.map((o) => o.component).join(", ")}` };
104
- return { outside: `${ref.name} is not a stack any pulumi-up step in this project applies` };
105
- }
106
-
107
- /** A JSON Pointer segment, escaped (RFC 6901). */
108
- export function pointerSegment(s: string): string {
109
- return s.replace(/~/g, "~0").replace(/\//g, "~1");
110
- }
@@ -1,10 +0,0 @@
1
- # plunge-drift
2
-
3
- Recorded on 2026-10-26 for INTENTIUS/chant#4475 against the plunge corpus at INTENTIUS/plunge 30806be26b (`tests/plunge-corpus/aws-ts`, corpus prefix `rec-ts`), stack `floci`, on the floci emulator (ghcr.io/lex00/floci@sha256:5ec92ae8046445d62c0009590dd09f04560886e5a5ef31248cb3fcc09b2961ec) only, with file backends and fake credentials. Tools: stock pulumi v3.272.0 (darwin-arm64 release), plunge v0.1.0-dev.0 (pulumi-compatible v3.272.0) built from the same plunge commit, provider pulumi-aws 7.51.1. The program ran under plunge on its own stack (corpus prefix `rec-pl`, backend `plunge+file://`). The `docs-assets` bucket's `corpus-owner` tag was then set to `hotfix` through floci's API, keeping plunge's marker tags. Each file is `plunge drift --resource <urn> --stream --stack floci --member site`:
4
-
5
- - `assets-drifted.ndjson`: `corpus:index:Site$aws:s3/bucket:Bucket::docs-assets`, drifted.
6
- - `role-in-sync.ndjson`: `aws:iam/role:Role::app-role`, in-sync.
7
- - `component-unsupported.ndjson`: the component `corpus:index:Site::docs`, not-observed, `unsupported-kind`.
8
- - `settled-empty.ndjson` is not a recording: plunge exits 1 with `the stack holds no record for <urn>` for a URN its stack lacks and prints no stream. It is `role-in-sync.ndjson`'s start line and its settle line with empty counts, for the decoder's not-reached path.
9
-
10
- The drift-start line carries no `at`; attribute paths are Pulumi's (`tags["corpus-owner"]`).
@@ -1,3 +0,0 @@
1
- {"type":"drift-start","drift":"v1","member":"site","engine":"plunge","read":"refresh","resource":"urn:pulumi:floci::corpus-aws-ts::corpus:index:Site$aws:s3/bucket:Bucket::docs-assets","expected":["urn:pulumi:floci::corpus-aws-ts::corpus:index:Site$aws:s3/bucket:Bucket::docs-assets"],"evidence":{"tool":"plunge","version":"v0.1.0-dev.0","command":"plunge drift --resource urn:pulumi:floci::corpus-aws-ts::corpus:index:Site$aws:s3/bucket:Bucket::docs-assets --stream"}}
2
- {"type":"drift-record","member":"site","engine":"plunge","address":"urn:pulumi:floci::corpus-aws-ts::corpus:index:Site$aws:s3/bucket:Bucket::docs-assets","resourceType":"aws:s3/bucket:Bucket","node":null,"observedAt":"2026-10-26T05:28:54.844195Z","read":"refresh","status":"drifted","attributes":[{"path":"tagsAll[\"corpus-owner\"]","before":"plunge","after":"hotfix"},{"path":"tags[\"corpus-owner\"]","before":"plunge","after":"hotfix"}],"evidence":{"tool":"plunge","version":"v0.1.0-dev.0","command":"plunge drift --resource urn:pulumi:floci::corpus-aws-ts::corpus:index:Site$aws:s3/bucket:Bucket::docs-assets --stream"}}
3
- {"type":"drift-settle","drift":"v1","member":"site","engine":"plunge","read":"refresh","counts":{"drifted":1},"reads":{"recordsRead":3,"recordKeys":3,"recordListCalls":0,"providerReads":1,"stackRefreshes":0},"at":"2026-10-26T05:28:54.844195Z"}
@@ -1,3 +0,0 @@
1
- {"type":"drift-start","drift":"v1","member":"site","engine":"plunge","read":"refresh","resource":"urn:pulumi:floci::corpus-aws-ts::corpus:index:Site::docs","expected":["urn:pulumi:floci::corpus-aws-ts::corpus:index:Site::docs"],"evidence":{"tool":"plunge","version":"v0.1.0-dev.0","command":"plunge drift --resource urn:pulumi:floci::corpus-aws-ts::corpus:index:Site::docs --stream"}}
2
- {"type":"drift-record","member":"site","engine":"plunge","address":"urn:pulumi:floci::corpus-aws-ts::corpus:index:Site::docs","resourceType":"corpus:index:Site","node":null,"observedAt":"2026-10-26T05:38:20.68558Z","read":"refresh","status":"not-observed","unobserved":{"reason":"unsupported-kind","detail":"a component resource has no provider Read; it has no state of its own to drift"},"evidence":{"tool":"plunge","version":"v0.1.0-dev.0","command":"plunge drift --resource urn:pulumi:floci::corpus-aws-ts::corpus:index:Site::docs --stream"}}
3
- {"type":"drift-settle","drift":"v1","member":"site","engine":"plunge","read":"refresh","counts":{"not-observed":1},"reads":{"recordsRead":1,"recordKeys":1,"recordListCalls":0,"providerReads":0,"stackRefreshes":0},"at":"2026-10-26T05:38:20.68558Z"}
@@ -1,3 +0,0 @@
1
- {"type":"drift-start","drift":"v1","member":"site","engine":"plunge","read":"refresh","resource":"urn:pulumi:floci::corpus-aws-ts::aws:iam/role:Role::app-role","expected":["urn:pulumi:floci::corpus-aws-ts::aws:iam/role:Role::app-role"],"evidence":{"tool":"plunge","version":"v0.1.0-dev.0","command":"plunge drift --resource urn:pulumi:floci::corpus-aws-ts::aws:iam/role:Role::app-role --stream"}}
2
- {"type":"drift-record","member":"site","engine":"plunge","address":"urn:pulumi:floci::corpus-aws-ts::aws:iam/role:Role::app-role","resourceType":"aws:iam/role:Role","node":null,"observedAt":"2026-10-26T05:28:55.200721Z","read":"refresh","status":"in-sync","evidence":{"tool":"plunge","version":"v0.1.0-dev.0","command":"plunge drift --resource urn:pulumi:floci::corpus-aws-ts::aws:iam/role:Role::app-role --stream"}}
3
- {"type":"drift-settle","drift":"v1","member":"site","engine":"plunge","read":"refresh","counts":{"in-sync":1},"reads":{"recordsRead":3,"recordKeys":3,"recordListCalls":0,"providerReads":1,"stackRefreshes":0},"at":"2026-10-26T05:28:55.200721Z"}
@@ -1,2 +0,0 @@
1
- {"type":"drift-start","drift":"v1","member":"site","engine":"plunge","read":"refresh","resource":"urn:pulumi:floci::corpus-aws-ts::aws:iam/role:Role::app-role","expected":["urn:pulumi:floci::corpus-aws-ts::aws:iam/role:Role::app-role"],"evidence":{"tool":"plunge","version":"v0.1.0-dev.0","command":"plunge drift --resource urn:pulumi:floci::corpus-aws-ts::aws:iam/role:Role::app-role --stream"}}
2
- {"type":"drift-settle","drift":"v1","member":"site","engine":"plunge","read":"refresh","counts":{},"reads":{"recordsRead":3,"recordKeys":3,"recordListCalls":0,"providerReads":0,"stackRefreshes":0},"at":"2026-10-26T05:28:55.200721Z"}
@@ -1,4 +0,0 @@
1
- name: app
2
- runtime: nodejs
3
- backend:
4
- url: plunge+file:///var/lib/plunge/app
@@ -1,12 +0,0 @@
1
- # plunge-graph
2
-
3
- A member on plunge with a checked-in `engine-graph.json` (chant#4529). Both files are hand-written; nothing ran.
4
-
5
- - `engine-graph.json` is a byte-for-byte copy of `packages/core/src/graph-schema/fixtures/plunge.engine-graph.json`, the typed fixture chant#4527 writes from `fixtures.ts` in the shape `plunge graph --json` prints (INTENTIUS/plunge#40, #43). `engine-graph.test.ts` fails when the two differ.
6
- - `stack-export.json` is a minimal `plunge stack export` for the same stack (`app`, `dev`): the root stack, the default aws provider, the buckets `assets` and `media`, and the bucket policy `assets-policy`, which depends on `assets` through its `bucket` property.
7
-
8
- The graph says `assets-policy` is a pending create and the export holds it as a resource: the graph was taken mid-update and the export after it. chant copies the facts as plunge printed them and does not reconcile the two files, which the tests show.
9
-
10
- `Pulumi.yaml` names a placeholder `plunge+file://` backend, so the member runs on plunge.
11
-
12
- A recorded pair (one `plunge up` on floci, then `plunge stack export` and `plunge graph --json --stack dev`) waits for a maintainer run.
@@ -1,158 +0,0 @@
1
- {
2
- "version": 1,
3
- "meta": {
4
- "engineGraph": {
5
- "format": 1,
6
- "engine": {
7
- "name": "plunge",
8
- "version": "3.272.0-plunge.1"
9
- },
10
- "scope": {
11
- "kind": "stack",
12
- "project": "app",
13
- "stack": "dev"
14
- },
15
- "observedAt": "2026-10-26T12:00:00Z",
16
- "markerScheme": {
17
- "ownerKey": "plunge-stack",
18
- "addressKey": "plunge-urn",
19
- "continuationKeys": [
20
- "plunge-urn-2",
21
- "plunge-urn-3",
22
- "plunge-urn-4"
23
- ],
24
- "encoding": {
25
- "tags": "plain",
26
- "labels": "digest"
27
- }
28
- }
29
- }
30
- },
31
- "nodes": [
32
- {
33
- "id": "urn:pulumi:dev::app::pulumi:providers:aws::default",
34
- "kind": "pulumi:providers:aws",
35
- "lexicon": "pulumi",
36
- "attrs": {
37
- "address": "urn:pulumi:dev::app::pulumi:providers:aws::default"
38
- },
39
- "facts": {
40
- "ownership": "bound",
41
- "ownedBy": "record",
42
- "observedAt": "2026-10-26T12:00:00Z"
43
- }
44
- },
45
- {
46
- "id": "urn:pulumi:dev::app::aws:s3/bucketV2:BucketV2::assets",
47
- "kind": "aws:s3/bucketV2:BucketV2",
48
- "lexicon": "pulumi",
49
- "attrs": {
50
- "address": "urn:pulumi:dev::app::aws:s3/bucketV2:BucketV2::assets"
51
- },
52
- "physicalId": "assets-4f1c2e9",
53
- "facts": {
54
- "ownership": "bound",
55
- "ownedBy": "marker",
56
- "markers": {
57
- "owner": "app/dev",
58
- "address": "aws:s3/bucketV2:BucketV2::assets",
59
- "encoding": "plain",
60
- "source": "record"
61
- },
62
- "cloudIds": [
63
- {
64
- "kind": "provider-id",
65
- "value": "assets-4f1c2e9"
66
- },
67
- {
68
- "kind": "arn",
69
- "value": "arn:aws:s3:::assets-4f1c2e9"
70
- }
71
- ],
72
- "recordVersions": {
73
- "kept": true,
74
- "versions": [
75
- {
76
- "id": "000003",
77
- "writtenAt": "2026-10-26T11:40:00Z",
78
- "current": true,
79
- "deleted": false
80
- }
81
- ]
82
- },
83
- "observedAt": "2026-10-26T12:00:00Z"
84
- }
85
- },
86
- {
87
- "id": "urn:pulumi:dev::app::gcp:storage/bucket:Bucket::media",
88
- "kind": "gcp:storage/bucket:Bucket",
89
- "lexicon": "pulumi",
90
- "attrs": {
91
- "address": "urn:pulumi:dev::app::gcp:storage/bucket:Bucket::media"
92
- },
93
- "physicalId": "media-9a0b",
94
- "facts": {
95
- "ownership": "bound",
96
- "ownedBy": "marker",
97
- "markers": {
98
- "owner": "3f2a9c0d41b7e6a1",
99
- "address": "9c41e0b7d2a85f3e6b1c0d9a7e4f2b18",
100
- "encoding": "digest",
101
- "source": "record"
102
- },
103
- "cloudIds": [
104
- {
105
- "kind": "provider-id",
106
- "value": "media-9a0b"
107
- },
108
- {
109
- "kind": "self-link",
110
- "value": "https://www.googleapis.com/storage/v1/b/media-9a0b"
111
- }
112
- ],
113
- "recordVersions": {
114
- "kept": false,
115
- "versions": []
116
- },
117
- "observedAt": "2026-10-26T12:00:00Z"
118
- }
119
- },
120
- {
121
- "id": "urn:pulumi:dev::app::aws:s3/bucketPolicy:BucketPolicy::assets-policy",
122
- "kind": "aws:s3/bucketPolicy:BucketPolicy",
123
- "lexicon": "pulumi",
124
- "attrs": {
125
- "address": "urn:pulumi:dev::app::aws:s3/bucketPolicy:BucketPolicy::assets-policy"
126
- },
127
- "facts": {
128
- "ownership": "pending",
129
- "ownedBy": "record",
130
- "observedAt": "2026-10-26T12:00:00Z"
131
- }
132
- }
133
- ],
134
- "edges": [
135
- {
136
- "from": "urn:pulumi:dev::app::aws:s3/bucketPolicy:BucketPolicy::assets-policy",
137
- "to": "urn:pulumi:dev::app::aws:s3/bucketV2:BucketV2::assets",
138
- "kind": "ref",
139
- "viaAttr": "dependencies",
140
- "grain": "instance"
141
- },
142
- {
143
- "from": "urn:pulumi:dev::app::aws:s3/bucketPolicy:BucketPolicy::assets-policy",
144
- "to": "urn:pulumi:dev::app::aws:s3/bucketV2:BucketV2::assets",
145
- "kind": "ref",
146
- "viaAttr": "bucket",
147
- "grain": "property"
148
- },
149
- {
150
- "from": "urn:pulumi:dev::app::aws:s3/bucketV2:BucketV2::assets",
151
- "to": "urn:pulumi:dev::app::pulumi:providers:aws::default",
152
- "kind": "ref",
153
- "viaAttr": "provider",
154
- "grain": "instance"
155
- }
156
- ],
157
- "groups": {}
158
- }
@@ -1,49 +0,0 @@
1
- {
2
- "version": 3,
3
- "deployment": {
4
- "manifest": {
5
- "time": "2026-10-26T11:59:00Z",
6
- "version": "v3.272.0"
7
- },
8
- "resources": [
9
- {
10
- "urn": "urn:pulumi:dev::app::pulumi:pulumi:Stack::app-dev",
11
- "custom": false,
12
- "type": "pulumi:pulumi:Stack"
13
- },
14
- {
15
- "urn": "urn:pulumi:dev::app::pulumi:providers:aws::default",
16
- "custom": true,
17
- "id": "5d1e7c2a-0b3f-4a8e-9c61-2f4d8b7a1e90",
18
- "type": "pulumi:providers:aws"
19
- },
20
- {
21
- "urn": "urn:pulumi:dev::app::aws:s3/bucketV2:BucketV2::assets",
22
- "custom": true,
23
- "id": "assets-4f1c2e9",
24
- "type": "aws:s3/bucketV2:BucketV2",
25
- "parent": "urn:pulumi:dev::app::pulumi:pulumi:Stack::app-dev",
26
- "provider": "urn:pulumi:dev::app::pulumi:providers:aws::default::5d1e7c2a-0b3f-4a8e-9c61-2f4d8b7a1e90"
27
- },
28
- {
29
- "urn": "urn:pulumi:dev::app::gcp:storage/bucket:Bucket::media",
30
- "custom": true,
31
- "id": "media-9a0b",
32
- "type": "gcp:storage/bucket:Bucket",
33
- "parent": "urn:pulumi:dev::app::pulumi:pulumi:Stack::app-dev"
34
- },
35
- {
36
- "urn": "urn:pulumi:dev::app::aws:s3/bucketPolicy:BucketPolicy::assets-policy",
37
- "custom": true,
38
- "id": "assets-4f1c2e9",
39
- "type": "aws:s3/bucketPolicy:BucketPolicy",
40
- "parent": "urn:pulumi:dev::app::pulumi:pulumi:Stack::app-dev",
41
- "dependencies": ["urn:pulumi:dev::app::aws:s3/bucketV2:BucketV2::assets"],
42
- "propertyDependencies": {
43
- "bucket": ["urn:pulumi:dev::app::aws:s3/bucketV2:BucketV2::assets"]
44
- },
45
- "provider": "urn:pulumi:dev::app::pulumi:providers:aws::default::5d1e7c2a-0b3f-4a8e-9c61-2f4d8b7a1e90"
46
- }
47
- ]
48
- }
49
- }
@@ -1,4 +0,0 @@
1
- name: site
2
- runtime: nodejs
3
- backend:
4
- url: plunge+file:///var/lib/plunge/site
@@ -1,3 +0,0 @@
1
- # plunge-member
2
-
3
- `stack-export.json` is a cut of `plunge-outputs/stack-export.json` (recorded, see that README): the stack, the default provider, `app-role`, the `docs` component and its `docs-assets` bucket, so the drift tests read three resources. `Pulumi.yaml` names a placeholder `plunge+file://` backend.