@microagi/alchemy-gcp 0.6.0 → 0.8.0

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 (51) hide show
  1. package/CHANGELOG.md +86 -0
  2. package/lib/Iam/ServiceAccount.d.ts +104 -0
  3. package/lib/Iam/ServiceAccount.d.ts.map +1 -0
  4. package/lib/Iam/ServiceAccount.js +236 -0
  5. package/lib/Iam/ServiceAccount.js.map +1 -0
  6. package/lib/Iam/ServiceAccountIamMember.d.ts +49 -0
  7. package/lib/Iam/ServiceAccountIamMember.d.ts.map +1 -0
  8. package/lib/Iam/ServiceAccountIamMember.js +50 -0
  9. package/lib/Iam/ServiceAccountIamMember.js.map +1 -0
  10. package/lib/Iam/index.d.ts +4 -0
  11. package/lib/Iam/index.d.ts.map +1 -0
  12. package/lib/Iam/index.js +3 -0
  13. package/lib/Iam/index.js.map +1 -0
  14. package/lib/Kubernetes/KubernetesManifest.d.ts +100 -0
  15. package/lib/Kubernetes/KubernetesManifest.d.ts.map +1 -0
  16. package/lib/Kubernetes/KubernetesManifest.js +131 -0
  17. package/lib/Kubernetes/KubernetesManifest.js.map +1 -0
  18. package/lib/Kubernetes/Secret.d.ts +25 -18
  19. package/lib/Kubernetes/Secret.d.ts.map +1 -1
  20. package/lib/Kubernetes/Secret.js +79 -45
  21. package/lib/Kubernetes/Secret.js.map +1 -1
  22. package/lib/Kubernetes/client.d.ts +27 -23
  23. package/lib/Kubernetes/client.d.ts.map +1 -1
  24. package/lib/Kubernetes/client.js +139 -37
  25. package/lib/Kubernetes/client.js.map +1 -1
  26. package/lib/Kubernetes/connection.d.ts +48 -0
  27. package/lib/Kubernetes/connection.d.ts.map +1 -0
  28. package/lib/Kubernetes/connection.js +93 -0
  29. package/lib/Kubernetes/connection.js.map +1 -0
  30. package/lib/Kubernetes/index.d.ts +1 -0
  31. package/lib/Kubernetes/index.d.ts.map +1 -1
  32. package/lib/Kubernetes/index.js +1 -0
  33. package/lib/Kubernetes/index.js.map +1 -1
  34. package/lib/Providers.d.ts.map +1 -1
  35. package/lib/Providers.js +5 -1
  36. package/lib/Providers.js.map +1 -1
  37. package/lib/index.d.ts +1 -0
  38. package/lib/index.d.ts.map +1 -1
  39. package/lib/index.js +1 -0
  40. package/lib/index.js.map +1 -1
  41. package/package.json +4 -2
  42. package/src/Iam/ServiceAccount.ts +431 -0
  43. package/src/Iam/ServiceAccountIamMember.ts +56 -0
  44. package/src/Iam/index.ts +3 -0
  45. package/src/Kubernetes/KubernetesManifest.ts +301 -0
  46. package/src/Kubernetes/Secret.ts +153 -79
  47. package/src/Kubernetes/client.ts +226 -59
  48. package/src/Kubernetes/connection.ts +180 -0
  49. package/src/Kubernetes/index.ts +1 -0
  50. package/src/Providers.ts +12 -0
  51. package/src/index.ts +1 -0
@@ -0,0 +1,431 @@
1
+ import { ConfigError } from "@distilled.cloud/gcp";
2
+ import * as iam from "@distilled.cloud/gcp/unstable/iam-v1";
3
+ import { Resource } from "alchemy";
4
+ import { Unowned } from "alchemy/AdoptPolicy";
5
+ import { isResolved } from "alchemy/Diff";
6
+ import * as Provider from "alchemy/Provider";
7
+ import { diffTags } from "alchemy/Tags";
8
+ import * as Duration from "effect/Duration";
9
+ import * as Effect from "effect/Effect";
10
+ import * as Schedule from "effect/Schedule";
11
+ import {
12
+ descriptionHasAlchemyMarker,
13
+ gcpAlchemyDescription,
14
+ stripAlchemyMarker,
15
+ } from "../Tags.ts";
16
+ import type * as GCP from "../Providers.ts";
17
+
18
+ /**
19
+ * A GCP service account (GSA). Lives under a {@link import("../CloudResourceManager/Project.ts").Project}
20
+ * and serves as the federated identity target for Workload Identity
21
+ * (`iam.gke.io/gcp-service-account: <email>` on a k8s SA) and as the
22
+ * principal in any IAM grant that should out-live a human user.
23
+ *
24
+ * Adoption is gated on an alchemy marker embedded in the GSA's
25
+ * `description` field (see `gcpAlchemyDescription` /
26
+ * `descriptionHasAlchemyMarker`) — GSAs have no labels field, so the
27
+ * label-based adoption gate used by Project can't apply. The marker is
28
+ * only written on insert; `description` is mutable but we never *clear*
29
+ * it because doing so would orphan the adoption signal.
30
+ *
31
+ * All lifecycle operations (`createProjectsServiceAccounts`,
32
+ * `patchProjectsServiceAccounts`, `deleteProjectsServiceAccounts`) are
33
+ * synchronous — no LRO polling required.
34
+ *
35
+ * @section Creating a ServiceAccount
36
+ * @example Minimal GSA under a project
37
+ * ```typescript
38
+ * const gsa = yield* GCP.ServiceAccount("Builder", {
39
+ * project: project.projectId,
40
+ * accountId: "research-builder",
41
+ * displayName: "Research pod build + push (BuildKit client)",
42
+ * });
43
+ * ```
44
+ *
45
+ * @example With explicit description and Workload Identity binding
46
+ * ```typescript
47
+ * const gsa = yield* GCP.ServiceAccount("Builder", {
48
+ * project: project.projectId,
49
+ * accountId: "research-builder",
50
+ * displayName: "Research pod build + push",
51
+ * description: "Used by per-researcher BuildKit clients to push to AR.",
52
+ * });
53
+ * yield* GCP.serviceAccountIamMember(gsa, "ClusterA-WorkloadIdentity", {
54
+ * role: "roles/iam.workloadIdentityUser",
55
+ * member: `serviceAccount:${projectA.projectId}.svc.id.goog[researchers/build]`,
56
+ * });
57
+ * ```
58
+ */
59
+ export type ServiceAccountProps = {
60
+ /**
61
+ * GCP project id (e.g. `micro-research-shared`) the GSA lives under.
62
+ * Immutable — changing this orphans the GSA's unique id and any
63
+ * bindings, so `diff` triggers a replacement.
64
+ */
65
+ project: string;
66
+ /**
67
+ * The account id segment of the service account's email. Must match
68
+ * `[a-z]([-a-z0-9]*[a-z0-9])`, 6-30 chars. Immutable — replaces.
69
+ */
70
+ accountId: string;
71
+ /**
72
+ * User-visible display name. Max 100 UTF-8 bytes. Mutable.
73
+ */
74
+ displayName?: string;
75
+ /**
76
+ * User-supplied description (max 256 UTF-8 bytes). The alchemy
77
+ * ownership marker is prepended automatically — see
78
+ * `gcpAlchemyDescription`. The user-supplied portion is preserved
79
+ * verbatim and surfaced back through `Attributes.description`.
80
+ */
81
+ description?: string;
82
+ };
83
+
84
+ /**
85
+ * Single (role, members) entry on a GSA's IAM policy. Targets declare
86
+ * this contract so capabilities (e.g. Workload Identity) can `.bind`
87
+ * IAM grants onto the GSA — the provider's `reconcile` merges all
88
+ * bound entries by role into a single `setIamPolicy` call.
89
+ */
90
+ export type ServiceAccountIamBinding = {
91
+ /** IAM role, e.g. `"roles/iam.workloadIdentityUser"`. */
92
+ role: string;
93
+ /** Principals, e.g. `["serviceAccount:foo.svc.id.goog[ns/ksa]"]`. */
94
+ members: ReadonlyArray<string>;
95
+ };
96
+
97
+ export type ServiceAccountBindingContract = {
98
+ iamBindings: ReadonlyArray<ServiceAccountIamBinding>;
99
+ };
100
+
101
+ export type ServiceAccount = Resource<
102
+ "GCP.ServiceAccount",
103
+ ServiceAccountProps,
104
+ {
105
+ /** Full resource name, e.g. `projects/micro-research-shared/serviceAccounts/research-builder@micro-research-shared.iam.gserviceaccount.com`. */
106
+ name: string;
107
+ /** Email address derived from the account id, e.g. `research-builder@micro-research-shared.iam.gserviceaccount.com`. */
108
+ email: string;
109
+ /** Server-assigned stable numeric id. */
110
+ uniqueId: string;
111
+ /** Project the GSA lives under. */
112
+ projectId: string;
113
+ /** Account id (the part before `@`). */
114
+ accountId: string;
115
+ /** User-visible display name, or `undefined` if never set. */
116
+ displayName: string | undefined;
117
+ /** User-visible description (without the alchemy marker), or `undefined` if never set. */
118
+ description: string | undefined;
119
+ /** Whether the GSA is currently disabled. */
120
+ disabled: boolean;
121
+ },
122
+ ServiceAccountBindingContract,
123
+ GCP.Providers
124
+ >;
125
+
126
+ export const ServiceAccount = Resource<ServiceAccount>("GCP.ServiceAccount");
127
+
128
+ const toAttributes = (sa: iam.ServiceAccount): ServiceAccount["Attributes"] => {
129
+ const accountId = (sa.email ?? "").split("@")[0];
130
+ return {
131
+ name: sa.name ?? "",
132
+ email: sa.email ?? "",
133
+ uniqueId: sa.uniqueId ?? "",
134
+ projectId: sa.projectId ?? "",
135
+ accountId,
136
+ displayName: sa.displayName,
137
+ description: stripAlchemyMarker(sa.description),
138
+ disabled: sa.disabled ?? false,
139
+ };
140
+ };
141
+
142
+ export const ServiceAccountProvider = () =>
143
+ Provider.effect(
144
+ ServiceAccount,
145
+ Effect.gen(function* () {
146
+ const getProjectsServiceAccounts = yield* iam.getProjectsServiceAccounts;
147
+ const createProjectsServiceAccounts = yield* iam.createProjectsServiceAccounts;
148
+ const patchProjectsServiceAccounts = yield* iam.patchProjectsServiceAccounts;
149
+ const deleteProjectsServiceAccounts = yield* iam.deleteProjectsServiceAccounts;
150
+ const listProjectsServiceAccounts = yield* iam.listProjectsServiceAccounts;
151
+ const getIamPolicyProjectsServiceAccounts = yield* iam.getIamPolicyProjectsServiceAccounts;
152
+ const setIamPolicyProjectsServiceAccounts = yield* iam.setIamPolicyProjectsServiceAccounts;
153
+
154
+ const resourceName = (projectId: string, accountId: string) =>
155
+ `projects/${projectId}/serviceAccounts/${accountId}`;
156
+
157
+ const observeServiceAccount = (projectId: string, accountId: string) =>
158
+ getProjectsServiceAccounts({
159
+ name: resourceName(projectId, accountId),
160
+ }).pipe(
161
+ // GSAs that don't exist OR that the caller can't see both
162
+ // collapse to "absent" — same 403→missing pattern as the
163
+ // project observer.
164
+ Effect.catchTag("NotFound", () =>
165
+ Effect.succeed(undefined as iam.ServiceAccount | undefined),
166
+ ),
167
+ Effect.catchTag("Forbidden", () =>
168
+ Effect.succeed(undefined as iam.ServiceAccount | undefined),
169
+ ),
170
+ );
171
+
172
+ const requireServiceAccount = (
173
+ projectId: string,
174
+ accountId: string,
175
+ context: string,
176
+ ) =>
177
+ observeServiceAccount(projectId, accountId).pipe(
178
+ Effect.flatMap((sa) =>
179
+ sa
180
+ ? Effect.succeed(sa)
181
+ : Effect.fail(
182
+ new ConfigError({
183
+ message: `ServiceAccount ${accountId} in project ${projectId} ${context}.`,
184
+ }),
185
+ ),
186
+ ),
187
+ );
188
+
189
+ // List-page scan for cold recovery. Alchemy marker in the
190
+ // description field identifies our GSAs; the page boundary is
191
+ // arbitrary — we still need to page through to find any marker
192
+ // that happens to fall past the first page.
193
+ const findByAlchemyMarker = Effect.fn(function* (
194
+ id: string,
195
+ projectId: string,
196
+ ) {
197
+ let pageToken: string | undefined;
198
+ // Up to 100 pages × 100 items per page = 10000 GSAs; well past
199
+ // any realistic project size. If we ever exceed that we should
200
+ // cap and warn rather than silently miss matches.
201
+ for (let i = 0; i < 100; i++) {
202
+ const page = yield* listProjectsServiceAccounts({
203
+ name: `projects/${projectId}`,
204
+ ...(pageToken ? { pageToken } : {}),
205
+ pageSize: 100,
206
+ });
207
+ for (const sa of page.accounts ?? []) {
208
+ if (yield* descriptionHasAlchemyMarker(id, sa.description)) {
209
+ return sa;
210
+ }
211
+ }
212
+ pageToken = page.nextPageToken;
213
+ if (!pageToken) return undefined;
214
+ }
215
+ return undefined;
216
+ });
217
+
218
+ // Sync mutable fields: displayName + description. Both use
219
+ // `updateMask` so we only PATCH what actually changed. Diff
220
+ // against OBSERVED state, not `olds`, so adoption converges
221
+ // correctly when a foreign description is on the GSA.
222
+ const syncMutable = Effect.fn(function* (
223
+ observed: iam.ServiceAccount,
224
+ desired: {
225
+ displayName: string | undefined;
226
+ descriptionWithMarker: string;
227
+ descriptionUserOnly: string | undefined;
228
+ },
229
+ ) {
230
+ const updateMaskFields: string[] = [];
231
+ if (desired.displayName !== observed.displayName) {
232
+ updateMaskFields.push("display_name");
233
+ }
234
+ const descDiff = diffTags(
235
+ { description: observed.description ?? "" },
236
+ { description: desired.descriptionWithMarker },
237
+ );
238
+ if (
239
+ descDiff.removed.length > 0 ||
240
+ descDiff.upsert.length > 0
241
+ ) {
242
+ updateMaskFields.push("description");
243
+ }
244
+
245
+ if (updateMaskFields.length === 0) return observed;
246
+
247
+ return yield* patchProjectsServiceAccounts({
248
+ name: observed.name!,
249
+ body: {
250
+ updateMask: updateMaskFields.join(","),
251
+ serviceAccount: {
252
+ displayName: desired.displayName,
253
+ description: desired.descriptionWithMarker,
254
+ },
255
+ },
256
+ });
257
+ });
258
+
259
+ // Apply merged IAM bindings as a single setIamPolicy. Same
260
+ // foreign-binding preservation + etag-retry pattern as the
261
+ // Project's `syncIam` — see `src/CloudResourceManager/Project.ts:421-474`.
262
+ const syncIam = (args: {
263
+ resourceName: string;
264
+ bindings: ReadonlyArray<
265
+ import("alchemy/Resource").ResourceBinding<ServiceAccountBindingContract>
266
+ >;
267
+ }) =>
268
+ Effect.gen(function* () {
269
+ const desiredByRole = new Map<string, Set<string>>();
270
+ for (const b of args.bindings) {
271
+ for (const ib of b.data.iamBindings) {
272
+ const set = desiredByRole.get(ib.role) ?? new Set<string>();
273
+ for (const m of ib.members) set.add(m);
274
+ desiredByRole.set(ib.role, set);
275
+ }
276
+ }
277
+ if (desiredByRole.size === 0) return;
278
+
279
+ const current = yield* getIamPolicyProjectsServiceAccounts({
280
+ resource: args.resourceName,
281
+ "options.requestedPolicyVersion": 3,
282
+ });
283
+
284
+ const existingBindings = (current.bindings ?? []).map((b) => ({
285
+ ...b,
286
+ members: [...(b.members ?? [])],
287
+ }));
288
+ let mutated = false;
289
+ for (const [role, members] of desiredByRole) {
290
+ let existing = existingBindings.find(
291
+ (b) => b.role === role && !b.condition,
292
+ );
293
+ if (!existing) {
294
+ existing = { role, members: [] };
295
+ existingBindings.push(existing);
296
+ }
297
+ const merged = new Set([...(existing.members ?? []), ...members]);
298
+ if (merged.size !== (existing.members?.length ?? 0)) mutated = true;
299
+ existing.members = [...merged];
300
+ }
301
+ if (!mutated) return;
302
+
303
+ yield* setIamPolicyProjectsServiceAccounts({
304
+ resource: args.resourceName,
305
+ body: {
306
+ policy: { ...current, bindings: existingBindings, version: 3 },
307
+ },
308
+ });
309
+ }).pipe(
310
+ Effect.retry({
311
+ schedule: Schedule.exponential(Duration.seconds(2)).pipe(
312
+ Schedule.both(Schedule.recurs(8)),
313
+ ),
314
+ }),
315
+ );
316
+
317
+ return {
318
+ // Stable identity: accountId + project; both immutable; either
319
+ // change → replace. The server-assigned uniqueId is also stable
320
+ // for the lifetime of the GSA (re-create gets a different one).
321
+ stables: ["accountId", "projectId", "uniqueId", "name", "email"],
322
+ diff: Effect.fn(function* ({ id, news, olds = {}, output }) {
323
+ if (!isResolved(news)) return undefined;
324
+ if (
325
+ news.accountId !== (output?.accountId ?? olds.accountId) ||
326
+ news.project !== (output?.projectId ?? olds.project)
327
+ ) {
328
+ return { action: "replace" } as const;
329
+ }
330
+ return undefined;
331
+ }),
332
+ reconcile: Effect.fn(function* ({ id, news, bindings }) {
333
+ const descriptionWithMarker = yield* gcpAlchemyDescription(
334
+ id,
335
+ news.description,
336
+ );
337
+
338
+ // 1. Observe — cloud state is authoritative. A second
339
+ // scan-by-marker covers the cold-recovery case where
340
+ // persisted `output`/`olds` lost the uniqueId after
341
+ // state loss. We prefer the direct-by-name probe first
342
+ // (cheap) and fall back to the scan only when direct
343
+ // observation returned `undefined`.
344
+ let observed = yield* observeServiceAccount(news.project, news.accountId);
345
+ if (!observed) {
346
+ observed = yield* findByAlchemyMarker(id, news.project);
347
+ }
348
+
349
+ // 2. Ensure — create if missing. createProjectsServiceAccounts
350
+ // is synchronous (returns the SA, not an LRO). Conflict
351
+ // covers a peer reconciler race — re-observe.
352
+ if (!observed) {
353
+ observed = yield* createProjectsServiceAccounts({
354
+ name: `projects/${news.project}`,
355
+ body: {
356
+ accountId: news.accountId,
357
+ serviceAccount: {
358
+ displayName: news.displayName,
359
+ description: descriptionWithMarker,
360
+ },
361
+ },
362
+ }).pipe(
363
+ Effect.catchTag("Conflict", () =>
364
+ Effect.succeed(undefined as iam.ServiceAccount | undefined),
365
+ ),
366
+ );
367
+
368
+ if (!observed) {
369
+ observed = yield* requireServiceAccount(
370
+ news.project,
371
+ news.accountId,
372
+ "did not appear after create",
373
+ );
374
+ }
375
+ }
376
+
377
+ // 3. Sync mutable fields against OBSERVED state.
378
+ const synced = yield* syncMutable(observed, {
379
+ displayName: news.displayName ?? observed.displayName,
380
+ descriptionWithMarker,
381
+ descriptionUserOnly: news.description,
382
+ });
383
+
384
+ // 4. Sync IAM bindings (Workload Identity, impersonators, …).
385
+ // Single setIamPolicy on the GSA with merged bindings;
386
+ // foreign roles preserved. Etag-retried internally.
387
+ yield* syncIam({
388
+ resourceName: synced.name!,
389
+ bindings,
390
+ });
391
+
392
+ return toAttributes(synced);
393
+ }),
394
+ delete: Effect.fn(function* ({ output }) {
395
+ // Synchronous delete — Empty response, no LRO. NotFound
396
+ // means the GSA was already deleted (or never existed in our
397
+ // scope); both are idempotent successes.
398
+ yield* deleteProjectsServiceAccounts({
399
+ name: output.name,
400
+ }).pipe(
401
+ Effect.catchTag("NotFound", () => Effect.void),
402
+ Effect.catchTag("Forbidden", () => Effect.void),
403
+ );
404
+ }),
405
+ read: Effect.fn(function* ({ id, output, olds }) {
406
+ // Direct-by-name probe when we have any handle on the
407
+ // accountId. Falls back to a project-wide scan-by-marker
408
+ // for cold recovery after state loss.
409
+ const accountId =
410
+ output?.accountId ?? olds?.accountId;
411
+ const projectId =
412
+ output?.projectId ?? olds?.project;
413
+
414
+ let observed: iam.ServiceAccount | undefined;
415
+ if (accountId && projectId) {
416
+ observed = yield* observeServiceAccount(projectId, accountId);
417
+ }
418
+ if (!observed && projectId) {
419
+ observed = yield* findByAlchemyMarker(id, projectId);
420
+ }
421
+ if (!observed) return undefined;
422
+
423
+ const attrs = toAttributes(observed);
424
+ // Adoption gate via description marker (see Tags.ts §description).
425
+ return (yield* descriptionHasAlchemyMarker(id, observed.description))
426
+ ? attrs
427
+ : Unowned(attrs);
428
+ }),
429
+ };
430
+ }),
431
+ );
@@ -0,0 +1,56 @@
1
+ import * as Effect from "effect/Effect";
2
+ import type { ServiceAccount } from "./ServiceAccount.ts";
3
+
4
+ /**
5
+ * Bind a single `(role, member)` IAM grant onto a {@link ServiceAccount}.
6
+ *
7
+ * This is a **target-side binding** — it records the grant onto the
8
+ * GSA's binding bag (`stack.bindings[gsa]`); the ServiceAccount
9
+ * provider's `reconcile` later merges all such bindings (across all
10
+ * callers, including parallel ones from different stack stages) into
11
+ * a single `setIamPolicy` call on the GSA. Same pattern as
12
+ * `projectIamMember` / `subnetworkIamMember`.
13
+ *
14
+ * Identity for dedup: the rendered SID is `IamMember(<gsa>, <key>)`.
15
+ * The engine collapses binds by SID, so callers MUST supply a
16
+ * stack-unique `key` per (gsa, role, member) triple — otherwise a
17
+ * later bind silently overwrites an earlier one with the same key.
18
+ *
19
+ * The reason `key` exists: `member` is usually an `Output<string>`
20
+ * (e.g. `Output.interpolate\`...${cluster.projectId}...\``), and
21
+ * `Output` expressions stringify by their AST shape, not by the
22
+ * eventual value. Two interpolations of the same shape but different
23
+ * literal templates render the same SID. `key` sidesteps that by
24
+ * forcing a static, caller-supplied label into the SID.
25
+ *
26
+ * Use this for the "Pulumi `gcp.serviceAccount.IAMMember`" pattern:
27
+ * authoritative-for-(role, member)-tuple, additive (does not displace
28
+ * other members on the same role).
29
+ *
30
+ * @example Workload Identity binding for one cluster
31
+ * ```typescript
32
+ * yield* GCP.serviceAccountIamMember(gsa, "ClusterA-WorkloadIdentity", {
33
+ * role: "roles/iam.workloadIdentityUser",
34
+ * member: `serviceAccount:${clusterA.projectId}.svc.id.goog[researchers/build]`,
35
+ * });
36
+ * ```
37
+ *
38
+ * @example Same GSA, second cluster (separate key → distinct SID)
39
+ * ```typescript
40
+ * yield* GCP.serviceAccountIamMember(gsa, "ClusterB-WorkloadIdentity", {
41
+ * role: "roles/iam.workloadIdentityUser",
42
+ * member: `serviceAccount:${clusterB.projectId}.svc.id.goog[researchers/build]`,
43
+ * });
44
+ * ```
45
+ */
46
+ export const serviceAccountIamMember = (
47
+ gsa: ServiceAccount,
48
+ key: string,
49
+ args: { role: string; member: string },
50
+ ): Effect.Effect<void> =>
51
+ // Tagged-template `.bind` records into the target's binding bag.
52
+ // ServiceAccount's reconcile sees `bindings: ResourceBinding<…>[]`
53
+ // and merges all entries by role into one setIamPolicy call.
54
+ gsa.bind`IamMember(${gsa}, ${key})`({
55
+ iamBindings: [{ role: args.role, members: [args.member] }],
56
+ }) as unknown as Effect.Effect<void>;
@@ -0,0 +1,3 @@
1
+ export { ServiceAccount, ServiceAccountProvider } from "./ServiceAccount.ts";
2
+ export type { ServiceAccountProps } from "./ServiceAccount.ts";
3
+ export * from "./ServiceAccountIamMember.ts";