@sanoma-ai/connector-gcp 0.1.2 → 0.1.4
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/README.md +4 -0
- package/dist/connector.d.ts +15 -7
- package/dist/driver.js +27 -1
- package/dist/driver.js.map +1 -1
- package/dist/fake.d.ts +31 -7
- package/dist/index.d.ts +30 -14
- package/dist/resources.d.ts +15 -7
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -131,6 +131,8 @@ resource_name role member [condition_title]
|
|
|
131
131
|
|
|
132
132
|
Pass that returned `id` unchanged to a subsequent read, including when no saved provider state is available. Sanoma derives it from the structured parent resource, role, member and optional condition title. Custom role paths and `principal://` members retain their slashes. The provider's native `state.id` remains unchanged; its slash-delimited representation is not the import identifier. See the pinned provider's [IAM member import implementation](https://github.com/hashicorp/terraform-provider-google/blob/v8.7.0/google/tpgiamresource/resource_iam_member.go).
|
|
133
133
|
|
|
134
|
+
Google 8.7.0 reports an absent IAM member as an import error after reading its parent's policy. For these two IAM types, Sanoma recognizes only that specific missing-binding diagnostic as absence: reads return `gone: true`, provisioning can read before creating a grant, and deleting an already absent grant is idempotent. Permission failures, ambiguous conditions and other diagnostics remain sanitized errors.
|
|
135
|
+
|
|
134
136
|
## Testing and current evidence
|
|
135
137
|
|
|
136
138
|
`fakeGcp` is the bridge's in-memory resource fake; it is not Google IAM or a federation server. Authentication tests use synthetic STS/IAM responses and temporary token/config files, including separate account sources, denied impersonation, rejected key/executable configs and sanitized failures. Driver tests use a provider state double to check concurrent session separation, project/account refusals, symmetric-key and retention guards, OIDC condition requirements, sanitized failures and the fake. The recorded schema/pin in `testdata/` establishes the generated provider contract, not a successful cloud deployment.
|
|
@@ -139,6 +141,8 @@ The [isolated live run](https://github.com/Sanoma-AI/sanoma/actions/runs/4116477
|
|
|
139
141
|
|
|
140
142
|
A later published-package workflow under [#532](https://github.com/Sanoma-AI/sanoma/issues/532) created a key ring, service account, crypto key and both IAM member types, then exposed a failure when reading an IAM member by its returned ID. The connector now derives importable public IDs while preserving native provider state. Synthetic regression coverage checks custom roles, `principal://` members, optional conditions and reads by returned ID without saved state. A successful live rerun of the full provisioning graph remains pending.
|
|
141
143
|
|
|
144
|
+
The next published run passed those ID reads, then stopped while importing a grant that did not exist. A separate live read reproduced the provider's missing-binding diagnostic. The corrected unpublished driver then passed live absent-member reads and idempotent deletion for both IAM types against the existing disposable resources. A published rerun of the full provisioning graph remains pending.
|
|
145
|
+
|
|
142
146
|
The manual `gcp-live.yml` workflow accepts project ID/number, provisioner and denied-account emails, disposable key-ring name and WIF audience as inputs. Administrators must enable billing/APIs, establish narrowly scoped federation and ring permissions, and restrict trust to the intended repository, workflow, ref and reviewed commit before running it. The denied account must exist without an impersonation grant to that federation. No service-account private key is needed. Ordinary CI skips `test/live.test.ts`; only the dedicated workflow enables it. The test creates a synthetic key, so retire all its versions after verification; KMS key/ring metadata remains. Never use a production ring. Provisioning and renewable runtime identity remain separate.
|
|
143
147
|
|
|
144
148
|
Run `pnpm vitest run connectors/gcp` and the repository's type/lint/build checks. Regenerate types with `pnpm --filter @sanoma-ai/connector-gcp generate`; update the recorded schema/pins deliberately, and never edit `resources.gen.ts` by hand. Test-map details are in [test/AGENTS.md](test/AGENTS.md).
|
package/dist/connector.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const gcpTf: import("@sanoma-ai/bridge/connector").TfConnector<"gcp", {
|
|
2
|
-
keyRing: import("zod").ZodObject<{
|
|
2
|
+
readonly keyRing: import("zod").ZodObject<{
|
|
3
3
|
id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
4
4
|
location: import("zod").ZodString;
|
|
5
5
|
name: import("zod").ZodString;
|
|
@@ -9,7 +9,7 @@ export declare const gcpTf: import("@sanoma-ai/bridge/connector").TfConnector<"g
|
|
|
9
9
|
delete: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
10
10
|
}, import("zod/v4/core").$strip>>>;
|
|
11
11
|
}, import("zod/v4/core").$strip>;
|
|
12
|
-
cryptoKey: import("zod").ZodObject<{
|
|
12
|
+
readonly cryptoKey: import("zod").ZodObject<{
|
|
13
13
|
crypto_key_backend: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
14
14
|
deletion_policy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
15
15
|
destroy_scheduled_duration: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -37,7 +37,7 @@ export declare const gcpTf: import("@sanoma-ai/bridge/connector").TfConnector<"g
|
|
|
37
37
|
protection_level: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
38
38
|
}, import("zod/v4/core").$strip>>>;
|
|
39
39
|
}, import("zod/v4/core").$strip>;
|
|
40
|
-
keyIamMember: import("zod").ZodObject<{
|
|
40
|
+
readonly keyIamMember: import("zod").ZodObject<{
|
|
41
41
|
crypto_key_id: import("zod").ZodString;
|
|
42
42
|
etag: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
43
43
|
id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -49,7 +49,7 @@ export declare const gcpTf: import("@sanoma-ai/bridge/connector").TfConnector<"g
|
|
|
49
49
|
title: import("zod").ZodString;
|
|
50
50
|
}, import("zod/v4/core").$strip>>>;
|
|
51
51
|
}, import("zod/v4/core").$strip>;
|
|
52
|
-
serviceAccount: import("zod").ZodObject<{
|
|
52
|
+
readonly serviceAccount: import("zod").ZodObject<{
|
|
53
53
|
account_id: import("zod").ZodString;
|
|
54
54
|
create_ignore_already_exists: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
|
55
55
|
deletion_policy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -66,7 +66,7 @@ export declare const gcpTf: import("@sanoma-ai/bridge/connector").TfConnector<"g
|
|
|
66
66
|
create: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
67
67
|
}, import("zod/v4/core").$strip>>>;
|
|
68
68
|
}, import("zod/v4/core").$strip>;
|
|
69
|
-
serviceAccountIamMember: import("zod").ZodObject<{
|
|
69
|
+
readonly serviceAccountIamMember: import("zod").ZodObject<{
|
|
70
70
|
etag: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
71
71
|
id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
72
72
|
member: import("zod").ZodString;
|
|
@@ -78,7 +78,7 @@ export declare const gcpTf: import("@sanoma-ai/bridge/connector").TfConnector<"g
|
|
|
78
78
|
title: import("zod").ZodString;
|
|
79
79
|
}, import("zod/v4/core").$strip>>>;
|
|
80
80
|
}, import("zod/v4/core").$strip>;
|
|
81
|
-
workloadIdentityPool: import("zod").ZodObject<{
|
|
81
|
+
readonly workloadIdentityPool: import("zod").ZodObject<{
|
|
82
82
|
deletion_policy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
83
83
|
description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
84
84
|
disabled: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
|
@@ -114,7 +114,7 @@ export declare const gcpTf: import("@sanoma-ai/bridge/connector").TfConnector<"g
|
|
|
114
114
|
update: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
115
115
|
}, import("zod/v4/core").$strip>>>;
|
|
116
116
|
}, import("zod/v4/core").$strip>;
|
|
117
|
-
workloadIdentityProvider: import("zod").ZodObject<{
|
|
117
|
+
readonly workloadIdentityProvider: import("zod").ZodObject<{
|
|
118
118
|
attribute_condition: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
119
119
|
attribute_mapping: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>;
|
|
120
120
|
deletion_policy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -170,4 +170,12 @@ export declare const gcpTf: import("@sanoma-ai/bridge/connector").TfConnector<"g
|
|
|
170
170
|
readonly type: "gcp.serviceAccount";
|
|
171
171
|
};
|
|
172
172
|
};
|
|
173
|
+
}, {
|
|
174
|
+
readonly keyRing: true;
|
|
175
|
+
readonly cryptoKey: true;
|
|
176
|
+
readonly keyIamMember: true;
|
|
177
|
+
readonly serviceAccount: true;
|
|
178
|
+
readonly serviceAccountIamMember: true;
|
|
179
|
+
readonly workloadIdentityPool: true;
|
|
180
|
+
readonly workloadIdentityProvider: true;
|
|
173
181
|
}>;
|
package/dist/driver.js
CHANGED
|
@@ -34,7 +34,7 @@ export function gcpDriver(identities, bridge = defaultBridge()) {
|
|
|
34
34
|
throw new AuthenticationError("wrong_account");
|
|
35
35
|
}
|
|
36
36
|
const credentials = await federationCredentials(identity);
|
|
37
|
-
const driver = gcpTf.driver(retainKeys(bridge), () => ({ credentials: JSON.stringify(credentials), project: identity.project }), undefined, undefined, { authentication: ["workloadIdentity"] });
|
|
37
|
+
const driver = gcpTf.driver(retainKeys(iamImports(bridge)), () => ({ credentials: JSON.stringify(credentials), project: identity.project }), undefined, undefined, { authentication: ["workloadIdentity"] });
|
|
38
38
|
try {
|
|
39
39
|
return await driver.ops[operation]({ ...input, ...checked }, call);
|
|
40
40
|
}
|
|
@@ -49,4 +49,30 @@ export function gcpDriver(identities, bridge = defaultBridge()) {
|
|
|
49
49
|
])),
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
|
+
/** Google 8.7.0 imports read the policy but report an absent member as an error. */
|
|
53
|
+
function iamImports(bridge) {
|
|
54
|
+
return {
|
|
55
|
+
...bridge,
|
|
56
|
+
import: async (...args) => {
|
|
57
|
+
try {
|
|
58
|
+
return await bridge.import(...args);
|
|
59
|
+
}
|
|
60
|
+
catch (error) {
|
|
61
|
+
const failure = error;
|
|
62
|
+
if (["google_kms_crypto_key_iam_member", "google_service_account_iam_member"].includes(args[1]) &&
|
|
63
|
+
failure?.code === "failed_precondition" &&
|
|
64
|
+
Array.isArray(failure.diagnostics) &&
|
|
65
|
+
failure.diagnostics.length === 1) {
|
|
66
|
+
const diagnostic = failure.diagnostics[0];
|
|
67
|
+
if (diagnostic?.severity === "error" &&
|
|
68
|
+
diagnostic.detail === "" &&
|
|
69
|
+
diagnostic.attributePath === "" &&
|
|
70
|
+
/^Cannot find binding for "(?:[^"\\]|\\.)*" with role "(?:[^"\\]|\\.)*", member "(?:[^"\\]|\\.)*", and condition title "(?:[^"\\]|\\.)*"$/.test(diagnostic.summary))
|
|
71
|
+
return { resources: [], warnings: [] };
|
|
72
|
+
}
|
|
73
|
+
throw error;
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
};
|
|
77
|
+
}
|
|
52
78
|
//# sourceMappingURL=driver.js.map
|
package/dist/driver.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driver.js","sourceRoot":"","sources":["../src/driver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"driver.js","sourceRoot":"","sources":["../src/driver.ts"],"names":[],"mappings":"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"}
|
package/dist/fake.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type TfFakeOptions } from "@sanoma-ai/bridge/fake";
|
|
2
2
|
export declare const fakeGcp: (options?: TfFakeOptions) => import("@sanoma-ai/bridge/fake").TfFake<"gcp", {
|
|
3
|
-
keyRing: import("zod").ZodObject<{
|
|
3
|
+
readonly keyRing: import("zod").ZodObject<{
|
|
4
4
|
id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
5
5
|
location: import("zod").ZodString;
|
|
6
6
|
name: import("zod").ZodString;
|
|
@@ -10,7 +10,7 @@ export declare const fakeGcp: (options?: TfFakeOptions) => import("@sanoma-ai/br
|
|
|
10
10
|
delete: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
11
11
|
}, import("zod/v4/core").$strip>>>;
|
|
12
12
|
}, import("zod/v4/core").$strip>;
|
|
13
|
-
cryptoKey: import("zod").ZodObject<{
|
|
13
|
+
readonly cryptoKey: import("zod").ZodObject<{
|
|
14
14
|
crypto_key_backend: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
15
15
|
deletion_policy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
16
16
|
destroy_scheduled_duration: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -38,7 +38,7 @@ export declare const fakeGcp: (options?: TfFakeOptions) => import("@sanoma-ai/br
|
|
|
38
38
|
protection_level: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
39
39
|
}, import("zod/v4/core").$strip>>>;
|
|
40
40
|
}, import("zod/v4/core").$strip>;
|
|
41
|
-
keyIamMember: import("zod").ZodObject<{
|
|
41
|
+
readonly keyIamMember: import("zod").ZodObject<{
|
|
42
42
|
crypto_key_id: import("zod").ZodString;
|
|
43
43
|
etag: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
44
44
|
id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -50,7 +50,7 @@ export declare const fakeGcp: (options?: TfFakeOptions) => import("@sanoma-ai/br
|
|
|
50
50
|
title: import("zod").ZodString;
|
|
51
51
|
}, import("zod/v4/core").$strip>>>;
|
|
52
52
|
}, import("zod/v4/core").$strip>;
|
|
53
|
-
serviceAccount: import("zod").ZodObject<{
|
|
53
|
+
readonly serviceAccount: import("zod").ZodObject<{
|
|
54
54
|
account_id: import("zod").ZodString;
|
|
55
55
|
create_ignore_already_exists: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
|
56
56
|
deletion_policy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -67,7 +67,7 @@ export declare const fakeGcp: (options?: TfFakeOptions) => import("@sanoma-ai/br
|
|
|
67
67
|
create: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
68
68
|
}, import("zod/v4/core").$strip>>>;
|
|
69
69
|
}, import("zod/v4/core").$strip>;
|
|
70
|
-
serviceAccountIamMember: import("zod").ZodObject<{
|
|
70
|
+
readonly serviceAccountIamMember: import("zod").ZodObject<{
|
|
71
71
|
etag: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
72
72
|
id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
73
73
|
member: import("zod").ZodString;
|
|
@@ -79,7 +79,7 @@ export declare const fakeGcp: (options?: TfFakeOptions) => import("@sanoma-ai/br
|
|
|
79
79
|
title: import("zod").ZodString;
|
|
80
80
|
}, import("zod/v4/core").$strip>>>;
|
|
81
81
|
}, import("zod/v4/core").$strip>;
|
|
82
|
-
workloadIdentityPool: import("zod").ZodObject<{
|
|
82
|
+
readonly workloadIdentityPool: import("zod").ZodObject<{
|
|
83
83
|
deletion_policy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
84
84
|
description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
85
85
|
disabled: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
|
@@ -115,7 +115,7 @@ export declare const fakeGcp: (options?: TfFakeOptions) => import("@sanoma-ai/br
|
|
|
115
115
|
update: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
116
116
|
}, import("zod/v4/core").$strip>>>;
|
|
117
117
|
}, import("zod/v4/core").$strip>;
|
|
118
|
-
workloadIdentityProvider: import("zod").ZodObject<{
|
|
118
|
+
readonly workloadIdentityProvider: import("zod").ZodObject<{
|
|
119
119
|
attribute_condition: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
120
120
|
attribute_mapping: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>;
|
|
121
121
|
deletion_policy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -155,4 +155,28 @@ export declare const fakeGcp: (options?: TfFakeOptions) => import("@sanoma-ai/br
|
|
|
155
155
|
}, import("zod/v4/core").$strip>;
|
|
156
156
|
}, import("zod/v4/core").$strip>>>;
|
|
157
157
|
}, import("zod/v4/core").$strip>;
|
|
158
|
+
}, {
|
|
159
|
+
readonly cryptoKey: {
|
|
160
|
+
readonly key_ring: {
|
|
161
|
+
readonly type: "gcp.keyRing";
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
readonly keyIamMember: {
|
|
165
|
+
readonly crypto_key_id: {
|
|
166
|
+
readonly type: "gcp.cryptoKey";
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
readonly serviceAccountIamMember: {
|
|
170
|
+
readonly service_account_id: {
|
|
171
|
+
readonly type: "gcp.serviceAccount";
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
}, {
|
|
175
|
+
readonly keyRing: true;
|
|
176
|
+
readonly cryptoKey: true;
|
|
177
|
+
readonly keyIamMember: true;
|
|
178
|
+
readonly serviceAccount: true;
|
|
179
|
+
readonly serviceAccountIamMember: true;
|
|
180
|
+
readonly workloadIdentityPool: true;
|
|
181
|
+
readonly workloadIdentityProvider: true;
|
|
158
182
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { gcpProvisioningIdentity } from "./provisioning-identity.ts";
|
|
|
3
3
|
export type { GcpIdentities, GcpIdentity } from "./authentication.ts";
|
|
4
4
|
/** Bind named connections to trusted deployment WIF sources; configuration contains no secret values. */
|
|
5
5
|
export declare function gcpWithIdentities(identities: GcpIdentities): import("@sanoma-ai/workflows").Connector<"gcp", import("@sanoma-ai/bridge/connector").TfResources<"gcp", {
|
|
6
|
-
keyRing: import("zod").ZodObject<{
|
|
6
|
+
readonly keyRing: import("zod").ZodObject<{
|
|
7
7
|
id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
8
8
|
location: import("zod").ZodString;
|
|
9
9
|
name: import("zod").ZodString;
|
|
@@ -13,7 +13,7 @@ export declare function gcpWithIdentities(identities: GcpIdentities): import("@s
|
|
|
13
13
|
delete: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
14
14
|
}, import("zod/v4/core").$strip>>>;
|
|
15
15
|
}, import("zod/v4/core").$strip>;
|
|
16
|
-
cryptoKey: import("zod").ZodObject<{
|
|
16
|
+
readonly cryptoKey: import("zod").ZodObject<{
|
|
17
17
|
crypto_key_backend: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
18
18
|
deletion_policy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
19
19
|
destroy_scheduled_duration: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -41,7 +41,7 @@ export declare function gcpWithIdentities(identities: GcpIdentities): import("@s
|
|
|
41
41
|
protection_level: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
42
42
|
}, import("zod/v4/core").$strip>>>;
|
|
43
43
|
}, import("zod/v4/core").$strip>;
|
|
44
|
-
keyIamMember: import("zod").ZodObject<{
|
|
44
|
+
readonly keyIamMember: import("zod").ZodObject<{
|
|
45
45
|
crypto_key_id: import("zod").ZodString;
|
|
46
46
|
etag: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
47
47
|
id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -53,7 +53,7 @@ export declare function gcpWithIdentities(identities: GcpIdentities): import("@s
|
|
|
53
53
|
title: import("zod").ZodString;
|
|
54
54
|
}, import("zod/v4/core").$strip>>>;
|
|
55
55
|
}, import("zod/v4/core").$strip>;
|
|
56
|
-
serviceAccount: import("zod").ZodObject<{
|
|
56
|
+
readonly serviceAccount: import("zod").ZodObject<{
|
|
57
57
|
account_id: import("zod").ZodString;
|
|
58
58
|
create_ignore_already_exists: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
|
59
59
|
deletion_policy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -70,7 +70,7 @@ export declare function gcpWithIdentities(identities: GcpIdentities): import("@s
|
|
|
70
70
|
create: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
71
71
|
}, import("zod/v4/core").$strip>>>;
|
|
72
72
|
}, import("zod/v4/core").$strip>;
|
|
73
|
-
serviceAccountIamMember: import("zod").ZodObject<{
|
|
73
|
+
readonly serviceAccountIamMember: import("zod").ZodObject<{
|
|
74
74
|
etag: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
75
75
|
id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
76
76
|
member: import("zod").ZodString;
|
|
@@ -82,7 +82,7 @@ export declare function gcpWithIdentities(identities: GcpIdentities): import("@s
|
|
|
82
82
|
title: import("zod").ZodString;
|
|
83
83
|
}, import("zod/v4/core").$strip>>>;
|
|
84
84
|
}, import("zod/v4/core").$strip>;
|
|
85
|
-
workloadIdentityPool: import("zod").ZodObject<{
|
|
85
|
+
readonly workloadIdentityPool: import("zod").ZodObject<{
|
|
86
86
|
deletion_policy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
87
87
|
description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
88
88
|
disabled: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
|
@@ -118,7 +118,7 @@ export declare function gcpWithIdentities(identities: GcpIdentities): import("@s
|
|
|
118
118
|
update: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
119
119
|
}, import("zod/v4/core").$strip>>>;
|
|
120
120
|
}, import("zod/v4/core").$strip>;
|
|
121
|
-
workloadIdentityProvider: import("zod").ZodObject<{
|
|
121
|
+
readonly workloadIdentityProvider: import("zod").ZodObject<{
|
|
122
122
|
attribute_condition: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
123
123
|
attribute_mapping: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>;
|
|
124
124
|
deletion_policy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -174,10 +174,18 @@ export declare function gcpWithIdentities(identities: GcpIdentities): import("@s
|
|
|
174
174
|
readonly type: "gcp.serviceAccount";
|
|
175
175
|
};
|
|
176
176
|
};
|
|
177
|
+
}, {
|
|
178
|
+
readonly keyRing: true;
|
|
179
|
+
readonly cryptoKey: true;
|
|
180
|
+
readonly keyIamMember: true;
|
|
181
|
+
readonly serviceAccount: true;
|
|
182
|
+
readonly serviceAccountIamMember: true;
|
|
183
|
+
readonly workloadIdentityPool: true;
|
|
184
|
+
readonly workloadIdentityProvider: true;
|
|
177
185
|
}>>;
|
|
178
186
|
/** Operations/resources for authoring. Live use requires gcpWithIdentities in deployment config. */
|
|
179
187
|
export declare const gcp: import("@sanoma-ai/workflows").Connector<"gcp", import("@sanoma-ai/bridge/connector").TfResources<"gcp", {
|
|
180
|
-
keyRing: import("zod").ZodObject<{
|
|
188
|
+
readonly keyRing: import("zod").ZodObject<{
|
|
181
189
|
id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
182
190
|
location: import("zod").ZodString;
|
|
183
191
|
name: import("zod").ZodString;
|
|
@@ -187,7 +195,7 @@ export declare const gcp: import("@sanoma-ai/workflows").Connector<"gcp", import
|
|
|
187
195
|
delete: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
188
196
|
}, import("zod/v4/core").$strip>>>;
|
|
189
197
|
}, import("zod/v4/core").$strip>;
|
|
190
|
-
cryptoKey: import("zod").ZodObject<{
|
|
198
|
+
readonly cryptoKey: import("zod").ZodObject<{
|
|
191
199
|
crypto_key_backend: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
192
200
|
deletion_policy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
193
201
|
destroy_scheduled_duration: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -215,7 +223,7 @@ export declare const gcp: import("@sanoma-ai/workflows").Connector<"gcp", import
|
|
|
215
223
|
protection_level: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
216
224
|
}, import("zod/v4/core").$strip>>>;
|
|
217
225
|
}, import("zod/v4/core").$strip>;
|
|
218
|
-
keyIamMember: import("zod").ZodObject<{
|
|
226
|
+
readonly keyIamMember: import("zod").ZodObject<{
|
|
219
227
|
crypto_key_id: import("zod").ZodString;
|
|
220
228
|
etag: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
221
229
|
id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -227,7 +235,7 @@ export declare const gcp: import("@sanoma-ai/workflows").Connector<"gcp", import
|
|
|
227
235
|
title: import("zod").ZodString;
|
|
228
236
|
}, import("zod/v4/core").$strip>>>;
|
|
229
237
|
}, import("zod/v4/core").$strip>;
|
|
230
|
-
serviceAccount: import("zod").ZodObject<{
|
|
238
|
+
readonly serviceAccount: import("zod").ZodObject<{
|
|
231
239
|
account_id: import("zod").ZodString;
|
|
232
240
|
create_ignore_already_exists: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
|
233
241
|
deletion_policy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -244,7 +252,7 @@ export declare const gcp: import("@sanoma-ai/workflows").Connector<"gcp", import
|
|
|
244
252
|
create: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
245
253
|
}, import("zod/v4/core").$strip>>>;
|
|
246
254
|
}, import("zod/v4/core").$strip>;
|
|
247
|
-
serviceAccountIamMember: import("zod").ZodObject<{
|
|
255
|
+
readonly serviceAccountIamMember: import("zod").ZodObject<{
|
|
248
256
|
etag: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
249
257
|
id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
250
258
|
member: import("zod").ZodString;
|
|
@@ -256,7 +264,7 @@ export declare const gcp: import("@sanoma-ai/workflows").Connector<"gcp", import
|
|
|
256
264
|
title: import("zod").ZodString;
|
|
257
265
|
}, import("zod/v4/core").$strip>>>;
|
|
258
266
|
}, import("zod/v4/core").$strip>;
|
|
259
|
-
workloadIdentityPool: import("zod").ZodObject<{
|
|
267
|
+
readonly workloadIdentityPool: import("zod").ZodObject<{
|
|
260
268
|
deletion_policy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
261
269
|
description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
262
270
|
disabled: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
|
@@ -292,7 +300,7 @@ export declare const gcp: import("@sanoma-ai/workflows").Connector<"gcp", import
|
|
|
292
300
|
update: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
293
301
|
}, import("zod/v4/core").$strip>>>;
|
|
294
302
|
}, import("zod/v4/core").$strip>;
|
|
295
|
-
workloadIdentityProvider: import("zod").ZodObject<{
|
|
303
|
+
readonly workloadIdentityProvider: import("zod").ZodObject<{
|
|
296
304
|
attribute_condition: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
297
305
|
attribute_mapping: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>;
|
|
298
306
|
deletion_policy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -348,4 +356,12 @@ export declare const gcp: import("@sanoma-ai/workflows").Connector<"gcp", import
|
|
|
348
356
|
readonly type: "gcp.serviceAccount";
|
|
349
357
|
};
|
|
350
358
|
};
|
|
359
|
+
}, {
|
|
360
|
+
readonly keyRing: true;
|
|
361
|
+
readonly cryptoKey: true;
|
|
362
|
+
readonly keyIamMember: true;
|
|
363
|
+
readonly serviceAccount: true;
|
|
364
|
+
readonly serviceAccountIamMember: true;
|
|
365
|
+
readonly workloadIdentityPool: true;
|
|
366
|
+
readonly workloadIdentityProvider: true;
|
|
351
367
|
}>>;
|
package/dist/resources.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const gcp: import("@sanoma-ai/bridge/connector").TfResources<"gcp", {
|
|
2
|
-
keyRing: import("zod").ZodObject<{
|
|
2
|
+
readonly keyRing: import("zod").ZodObject<{
|
|
3
3
|
id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
4
4
|
location: import("zod").ZodString;
|
|
5
5
|
name: import("zod").ZodString;
|
|
@@ -9,7 +9,7 @@ export declare const gcp: import("@sanoma-ai/bridge/connector").TfResources<"gcp
|
|
|
9
9
|
delete: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
10
10
|
}, import("zod/v4/core").$strip>>>;
|
|
11
11
|
}, import("zod/v4/core").$strip>;
|
|
12
|
-
cryptoKey: import("zod").ZodObject<{
|
|
12
|
+
readonly cryptoKey: import("zod").ZodObject<{
|
|
13
13
|
crypto_key_backend: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
14
14
|
deletion_policy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
15
15
|
destroy_scheduled_duration: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -37,7 +37,7 @@ export declare const gcp: import("@sanoma-ai/bridge/connector").TfResources<"gcp
|
|
|
37
37
|
protection_level: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
38
38
|
}, import("zod/v4/core").$strip>>>;
|
|
39
39
|
}, import("zod/v4/core").$strip>;
|
|
40
|
-
keyIamMember: import("zod").ZodObject<{
|
|
40
|
+
readonly keyIamMember: import("zod").ZodObject<{
|
|
41
41
|
crypto_key_id: import("zod").ZodString;
|
|
42
42
|
etag: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
43
43
|
id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -49,7 +49,7 @@ export declare const gcp: import("@sanoma-ai/bridge/connector").TfResources<"gcp
|
|
|
49
49
|
title: import("zod").ZodString;
|
|
50
50
|
}, import("zod/v4/core").$strip>>>;
|
|
51
51
|
}, import("zod/v4/core").$strip>;
|
|
52
|
-
serviceAccount: import("zod").ZodObject<{
|
|
52
|
+
readonly serviceAccount: import("zod").ZodObject<{
|
|
53
53
|
account_id: import("zod").ZodString;
|
|
54
54
|
create_ignore_already_exists: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
|
55
55
|
deletion_policy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -66,7 +66,7 @@ export declare const gcp: import("@sanoma-ai/bridge/connector").TfResources<"gcp
|
|
|
66
66
|
create: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
67
67
|
}, import("zod/v4/core").$strip>>>;
|
|
68
68
|
}, import("zod/v4/core").$strip>;
|
|
69
|
-
serviceAccountIamMember: import("zod").ZodObject<{
|
|
69
|
+
readonly serviceAccountIamMember: import("zod").ZodObject<{
|
|
70
70
|
etag: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
71
71
|
id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
72
72
|
member: import("zod").ZodString;
|
|
@@ -78,7 +78,7 @@ export declare const gcp: import("@sanoma-ai/bridge/connector").TfResources<"gcp
|
|
|
78
78
|
title: import("zod").ZodString;
|
|
79
79
|
}, import("zod/v4/core").$strip>>>;
|
|
80
80
|
}, import("zod/v4/core").$strip>;
|
|
81
|
-
workloadIdentityPool: import("zod").ZodObject<{
|
|
81
|
+
readonly workloadIdentityPool: import("zod").ZodObject<{
|
|
82
82
|
deletion_policy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
83
83
|
description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
84
84
|
disabled: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
|
@@ -114,7 +114,7 @@ export declare const gcp: import("@sanoma-ai/bridge/connector").TfResources<"gcp
|
|
|
114
114
|
update: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
115
115
|
}, import("zod/v4/core").$strip>>>;
|
|
116
116
|
}, import("zod/v4/core").$strip>;
|
|
117
|
-
workloadIdentityProvider: import("zod").ZodObject<{
|
|
117
|
+
readonly workloadIdentityProvider: import("zod").ZodObject<{
|
|
118
118
|
attribute_condition: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
119
119
|
attribute_mapping: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>;
|
|
120
120
|
deletion_policy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -170,4 +170,12 @@ export declare const gcp: import("@sanoma-ai/bridge/connector").TfResources<"gcp
|
|
|
170
170
|
readonly type: "gcp.serviceAccount";
|
|
171
171
|
};
|
|
172
172
|
};
|
|
173
|
+
}, {
|
|
174
|
+
readonly keyRing: true;
|
|
175
|
+
readonly cryptoKey: true;
|
|
176
|
+
readonly keyIamMember: true;
|
|
177
|
+
readonly serviceAccount: true;
|
|
178
|
+
readonly serviceAccountIamMember: true;
|
|
179
|
+
readonly workloadIdentityPool: true;
|
|
180
|
+
readonly workloadIdentityProvider: true;
|
|
173
181
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanoma-ai/connector-gcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Google Cloud KMS and IAM provisioning through isolated OpenTofu provider sessions",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"connector",
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
"google-auth-library": "^10.5.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@sanoma-ai/bridge": "0.5.
|
|
58
|
-
"@sanoma-ai/workflows": "0.
|
|
57
|
+
"@sanoma-ai/bridge": "0.5.3",
|
|
58
|
+
"@sanoma-ai/workflows": "0.11.1",
|
|
59
59
|
"msw": "^3.0.3",
|
|
60
60
|
"zod": "^4.6.5"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@sanoma-ai/bridge": "^0.5.
|
|
64
|
-
"@sanoma-ai/workflows": "^0.
|
|
63
|
+
"@sanoma-ai/bridge": "^0.5.3",
|
|
64
|
+
"@sanoma-ai/workflows": "^0.11.1",
|
|
65
65
|
"zod": "^4"
|
|
66
66
|
},
|
|
67
67
|
"engines": {
|