@pulumi/gcp 5.25.0 → 6.0.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.
- package/appengine/applicationUrlDispatchRules.d.ts +1 -1
- package/appengine/applicationUrlDispatchRules.js +1 -1
- package/appengine/engineSplitTraffic.d.ts +1 -1
- package/appengine/engineSplitTraffic.js +1 -1
- package/appengine/flexibleAppVersion.d.ts +4 -1
- package/appengine/flexibleAppVersion.js +4 -1
- package/appengine/flexibleAppVersion.js.map +1 -1
- package/appengine/serviceNetworkSettings.d.ts +1 -1
- package/appengine/serviceNetworkSettings.js +1 -1
- package/appengine/standardAppVersion.d.ts +3 -3
- package/appengine/standardAppVersion.js +4 -1
- package/appengine/standardAppVersion.js.map +1 -1
- package/bigquery/dataTransferConfig.d.ts +1 -0
- package/bigquery/dataTransferConfig.js +1 -0
- package/bigquery/dataTransferConfig.js.map +1 -1
- package/bigquery/job.d.ts +4 -1
- package/bigquery/job.js +4 -1
- package/bigquery/job.js.map +1 -1
- package/cloudbuild/trigger.d.ts +3 -0
- package/cloudbuild/trigger.js +3 -0
- package/cloudbuild/trigger.js.map +1 -1
- package/cloudbuild/workerPool.d.ts +6 -6
- package/cloudfunctions/function.d.ts +2 -2
- package/cloudfunctions/function.js +2 -2
- package/cloudfunctions/zMixins.d.ts +4 -0
- package/cloudfunctions/zMixins.js +1 -0
- package/cloudfunctions/zMixins.js.map +1 -1
- package/cloudrun/service.d.ts +1 -0
- package/cloudrun/service.js +1 -0
- package/cloudrun/service.js.map +1 -1
- package/composer/environment.d.ts +24 -134
- package/composer/environment.js +0 -95
- package/composer/environment.js.map +1 -1
- package/compute/address.d.ts +9 -0
- package/compute/address.js.map +1 -1
- package/compute/backendService.d.ts +15 -9
- package/compute/backendService.js.map +1 -1
- package/compute/firewall.d.ts +8 -4
- package/compute/firewall.js +1 -0
- package/compute/firewall.js.map +1 -1
- package/compute/firewallPolicyRule.d.ts +3 -3
- package/compute/getInstance.d.ts +1 -1
- package/compute/getInstanceTemplate.d.ts +1 -1
- package/compute/instance.d.ts +33 -36
- package/compute/instance.js.map +1 -1
- package/compute/instanceGroup.d.ts +3 -3
- package/compute/instanceGroupManager.d.ts +3 -3
- package/compute/instanceGroupNamedPort.d.ts +2 -2
- package/compute/instanceGroupNamedPort.js +2 -2
- package/compute/instanceTemplate.d.ts +10 -10
- package/compute/regionNetworkEndpointGroup.d.ts +2 -2
- package/compute/regionNetworkEndpointGroup.js +2 -2
- package/compute/router.d.ts +9 -6
- package/compute/router.js.map +1 -1
- package/compute/securityPolicy.d.ts +5 -21
- package/compute/securityPolicy.js +0 -16
- package/compute/securityPolicy.js.map +1 -1
- package/compute/snapshot.d.ts +0 -8
- package/compute/snapshot.js +0 -2
- package/compute/snapshot.js.map +1 -1
- package/config/vars.d.ts +0 -3
- package/config/vars.js +0 -18
- package/config/vars.js.map +1 -1
- package/container/cluster.d.ts +37 -47
- package/container/cluster.js +0 -2
- package/container/cluster.js.map +1 -1
- package/container/getCluster.d.ts +1 -4
- package/container/getCluster.js +1 -3
- package/container/getCluster.js.map +1 -1
- package/container/getEngineVersions.d.ts +0 -4
- package/container/getEngineVersions.js +0 -4
- package/container/getEngineVersions.js.map +1 -1
- package/container/nodePool.d.ts +19 -11
- package/container/nodePool.js +4 -2
- package/container/nodePool.js.map +1 -1
- package/containeranalysis/occurence.d.ts +2 -2
- package/containeranalysis/occurence.js +2 -2
- package/dataflow/job.d.ts +9 -3
- package/dataflow/job.js +9 -3
- package/dataflow/job.js.map +1 -1
- package/dataloss/preventionStoredInfoType.d.ts +4 -1
- package/dataloss/preventionStoredInfoType.js +4 -1
- package/dataloss/preventionStoredInfoType.js.map +1 -1
- package/gkehub/featureMembership.d.ts +3 -3
- package/gkehub/membership.d.ts +1 -1
- package/gkehub/membership.js +1 -1
- package/healthcare/dicomStore.d.ts +9 -9
- package/kms/cryptoKey.d.ts +0 -12
- package/kms/cryptoKey.js +0 -2
- package/kms/cryptoKey.js.map +1 -1
- package/kms/cryptoKeyIAMBinding.d.ts +3 -3
- package/kms/cryptoKeyIAMMember.d.ts +3 -3
- package/kms/getKMSCryptoKey.d.ts +3 -7
- package/kms/getKMSCryptoKey.js +1 -1
- package/kms/getKMSCryptoKey.js.map +1 -1
- package/kms/getKMSCryptoKeyVersion.d.ts +3 -3
- package/kms/getKMSCryptoKeyVersion.js +1 -1
- package/kms/getKMSKeyRing.d.ts +0 -4
- package/kms/getKMSKeyRing.js.map +1 -1
- package/kms/keyRing.d.ts +0 -12
- package/kms/keyRing.js +0 -2
- package/kms/keyRing.js.map +1 -1
- package/kms/keyRingIAMBinding.d.ts +3 -3
- package/kms/keyRingIAMMember.d.ts +3 -3
- package/logging/billingAccountSink.d.ts +2 -1
- package/logging/billingAccountSink.js +2 -1
- package/logging/billingAccountSink.js.map +1 -1
- package/logging/folderSink.d.ts +2 -1
- package/logging/folderSink.js +2 -1
- package/logging/folderSink.js.map +1 -1
- package/logging/organizationSink.d.ts +2 -1
- package/logging/organizationSink.js +2 -1
- package/logging/organizationSink.js.map +1 -1
- package/monitoring/getAppEngineService.d.ts +1 -1
- package/monitoring/getAppEngineService.js +1 -1
- package/networkservices/edgeCacheService.d.ts +8 -2
- package/networkservices/edgeCacheService.js +8 -2
- package/networkservices/edgeCacheService.js.map +1 -1
- package/notebooks/instance.d.ts +9 -7
- package/notebooks/instance.js +0 -4
- package/notebooks/instance.js.map +1 -1
- package/organizations/policy.d.ts +6 -3
- package/organizations/policy.js.map +1 -1
- package/organizations/project.d.ts +2 -2
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/projects/iamauditConfig.d.ts +7 -10
- package/projects/iamauditConfig.js +3 -0
- package/projects/iamauditConfig.js.map +1 -1
- package/projects/iambinding.d.ts +7 -10
- package/projects/iambinding.js +3 -0
- package/projects/iambinding.js.map +1 -1
- package/projects/iammember.d.ts +7 -10
- package/projects/iammember.js +3 -0
- package/projects/iammember.js.map +1 -1
- package/projects/iampolicy.d.ts +6 -9
- package/projects/iampolicy.js.map +1 -1
- package/provider.d.ts +0 -6
- package/provider.js +0 -3
- package/provider.js.map +1 -1
- package/pubsub/schema.d.ts +23 -0
- package/pubsub/schema.js +23 -0
- package/pubsub/schema.js.map +1 -1
- package/pubsub/subscription.d.ts +0 -12
- package/pubsub/subscription.js +0 -2
- package/pubsub/subscription.js.map +1 -1
- package/runtimeconfig/config.d.ts +0 -23
- package/runtimeconfig/config.js +0 -23
- package/runtimeconfig/config.js.map +1 -1
- package/runtimeconfig/configIamBinding.d.ts +0 -57
- package/runtimeconfig/configIamBinding.js +0 -57
- package/runtimeconfig/configIamBinding.js.map +1 -1
- package/runtimeconfig/configIamMember.d.ts +0 -57
- package/runtimeconfig/configIamMember.js +0 -57
- package/runtimeconfig/configIamMember.js.map +1 -1
- package/runtimeconfig/configIamPolicy.d.ts +0 -57
- package/runtimeconfig/configIamPolicy.js +0 -57
- package/runtimeconfig/configIamPolicy.js.map +1 -1
- package/runtimeconfig/getConfig.d.ts +0 -20
- package/runtimeconfig/getConfig.js +0 -20
- package/runtimeconfig/getConfig.js.map +1 -1
- package/runtimeconfig/getVariable.d.ts +0 -19
- package/runtimeconfig/getVariable.js +0 -19
- package/runtimeconfig/getVariable.js.map +1 -1
- package/runtimeconfig/variable.d.ts +0 -39
- package/runtimeconfig/variable.js +0 -39
- package/runtimeconfig/variable.js.map +1 -1
- package/spanner/database.d.ts +1 -0
- package/spanner/database.js +1 -0
- package/spanner/database.js.map +1 -1
- package/spanner/getInstance.d.ts +2 -14
- package/spanner/getInstance.js +0 -4
- package/spanner/getInstance.js.map +1 -1
- package/sql/database.d.ts +1 -0
- package/sql/database.js +1 -0
- package/sql/database.js.map +1 -1
- package/sql/databaseInstance.d.ts +26 -38
- package/sql/databaseInstance.js +4 -22
- package/sql/databaseInstance.js.map +1 -1
- package/sql/sslCert.d.ts +6 -3
- package/sql/sslCert.js +6 -3
- package/sql/sslCert.js.map +1 -1
- package/sql/user.d.ts +7 -4
- package/sql/user.js +7 -4
- package/sql/user.js.map +1 -1
- package/storage/bucket.d.ts +12 -30
- package/storage/bucket.js +3 -2
- package/storage/bucket.js.map +1 -1
- package/storage/bucketAccessControl.d.ts +1 -1
- package/storage/bucketAccessControl.js +1 -1
- package/storage/bucketObject.d.ts +3 -3
- package/storage/defaultObjectAccessControl.d.ts +1 -1
- package/storage/defaultObjectAccessControl.js +1 -1
- package/storage/getBucket.d.ts +0 -1
- package/storage/getBucket.js.map +1 -1
- package/storage/getProjectServiceAccount.d.ts +6 -3
- package/storage/getProjectServiceAccount.js +6 -3
- package/storage/getProjectServiceAccount.js.map +1 -1
- package/storage/notification.d.ts +1 -1
- package/storage/notification.js +1 -1
- package/storage/objectAccessControl.d.ts +1 -1
- package/storage/objectAccessControl.js +1 -1
- package/storage/transferJob.d.ts +1 -0
- package/storage/transferJob.js +1 -0
- package/storage/transferJob.js.map +1 -1
- package/types/input.d.ts +69 -393
- package/types/output.d.ts +76 -403
- package/vpcaccess/connector.d.ts +9 -3
- package/vpcaccess/connector.js.map +1 -1
|
@@ -1,63 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "../types";
|
|
3
3
|
/**
|
|
4
|
-
* Three different resources help you manage your IAM policy for Runtime Configurator Config. Each of these resources serves a different use case:
|
|
5
|
-
*
|
|
6
|
-
* * `gcp.runtimeconfig.ConfigIamPolicy`: Authoritative. Sets the IAM policy for the config and replaces any existing policy already attached.
|
|
7
|
-
* * `gcp.runtimeconfig.ConfigIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the config are preserved.
|
|
8
|
-
* * `gcp.runtimeconfig.ConfigIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the config are preserved.
|
|
9
|
-
*
|
|
10
|
-
* > **Note:** `gcp.runtimeconfig.ConfigIamPolicy` **cannot** be used in conjunction with `gcp.runtimeconfig.ConfigIamBinding` and `gcp.runtimeconfig.ConfigIamMember` or they will fight over what your policy should be.
|
|
11
|
-
*
|
|
12
|
-
* > **Note:** `gcp.runtimeconfig.ConfigIamBinding` resources **can be** used in conjunction with `gcp.runtimeconfig.ConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
|
13
|
-
*
|
|
14
|
-
* ## google\_runtimeconfig\_config\_iam\_policy
|
|
15
|
-
*
|
|
16
|
-
* ```typescript
|
|
17
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
-
* import * as gcp from "@pulumi/gcp";
|
|
19
|
-
*
|
|
20
|
-
* const admin = gcp.organizations.getIAMPolicy({
|
|
21
|
-
* bindings: [{
|
|
22
|
-
* role: "roles/viewer",
|
|
23
|
-
* members: ["user:jane@example.com"],
|
|
24
|
-
* }],
|
|
25
|
-
* });
|
|
26
|
-
* const policy = new gcp.runtimeconfig.ConfigIamPolicy("policy", {
|
|
27
|
-
* project: google_runtimeconfig_config.config.project,
|
|
28
|
-
* config: google_runtimeconfig_config.config.name,
|
|
29
|
-
* policyData: admin.then(admin => admin.policyData),
|
|
30
|
-
* });
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* ## google\_runtimeconfig\_config\_iam\_binding
|
|
34
|
-
*
|
|
35
|
-
* ```typescript
|
|
36
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
-
* import * as gcp from "@pulumi/gcp";
|
|
38
|
-
*
|
|
39
|
-
* const binding = new gcp.runtimeconfig.ConfigIamBinding("binding", {
|
|
40
|
-
* project: google_runtimeconfig_config.config.project,
|
|
41
|
-
* config: google_runtimeconfig_config.config.name,
|
|
42
|
-
* role: "roles/viewer",
|
|
43
|
-
* members: ["user:jane@example.com"],
|
|
44
|
-
* });
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* ## google\_runtimeconfig\_config\_iam\_member
|
|
48
|
-
*
|
|
49
|
-
* ```typescript
|
|
50
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
51
|
-
* import * as gcp from "@pulumi/gcp";
|
|
52
|
-
*
|
|
53
|
-
* const member = new gcp.runtimeconfig.ConfigIamMember("member", {
|
|
54
|
-
* project: google_runtimeconfig_config.config.project,
|
|
55
|
-
* config: google_runtimeconfig_config.config.name,
|
|
56
|
-
* role: "roles/viewer",
|
|
57
|
-
* member: "user:jane@example.com",
|
|
58
|
-
* });
|
|
59
|
-
* ```
|
|
60
|
-
*
|
|
61
4
|
* ## Import
|
|
62
5
|
*
|
|
63
6
|
* For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/configs/{{config}} * {{project}}/{{config}} * {{config}} Any variables not passed in the import command will be taken from the provider configuration. Runtime Configurator config IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
|
@@ -6,63 +6,6 @@ exports.ConfigIamMember = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Three different resources help you manage your IAM policy for Runtime Configurator Config. Each of these resources serves a different use case:
|
|
10
|
-
*
|
|
11
|
-
* * `gcp.runtimeconfig.ConfigIamPolicy`: Authoritative. Sets the IAM policy for the config and replaces any existing policy already attached.
|
|
12
|
-
* * `gcp.runtimeconfig.ConfigIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the config are preserved.
|
|
13
|
-
* * `gcp.runtimeconfig.ConfigIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the config are preserved.
|
|
14
|
-
*
|
|
15
|
-
* > **Note:** `gcp.runtimeconfig.ConfigIamPolicy` **cannot** be used in conjunction with `gcp.runtimeconfig.ConfigIamBinding` and `gcp.runtimeconfig.ConfigIamMember` or they will fight over what your policy should be.
|
|
16
|
-
*
|
|
17
|
-
* > **Note:** `gcp.runtimeconfig.ConfigIamBinding` resources **can be** used in conjunction with `gcp.runtimeconfig.ConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
|
18
|
-
*
|
|
19
|
-
* ## google\_runtimeconfig\_config\_iam\_policy
|
|
20
|
-
*
|
|
21
|
-
* ```typescript
|
|
22
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
-
* import * as gcp from "@pulumi/gcp";
|
|
24
|
-
*
|
|
25
|
-
* const admin = gcp.organizations.getIAMPolicy({
|
|
26
|
-
* bindings: [{
|
|
27
|
-
* role: "roles/viewer",
|
|
28
|
-
* members: ["user:jane@example.com"],
|
|
29
|
-
* }],
|
|
30
|
-
* });
|
|
31
|
-
* const policy = new gcp.runtimeconfig.ConfigIamPolicy("policy", {
|
|
32
|
-
* project: google_runtimeconfig_config.config.project,
|
|
33
|
-
* config: google_runtimeconfig_config.config.name,
|
|
34
|
-
* policyData: admin.then(admin => admin.policyData),
|
|
35
|
-
* });
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* ## google\_runtimeconfig\_config\_iam\_binding
|
|
39
|
-
*
|
|
40
|
-
* ```typescript
|
|
41
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
-
* import * as gcp from "@pulumi/gcp";
|
|
43
|
-
*
|
|
44
|
-
* const binding = new gcp.runtimeconfig.ConfigIamBinding("binding", {
|
|
45
|
-
* project: google_runtimeconfig_config.config.project,
|
|
46
|
-
* config: google_runtimeconfig_config.config.name,
|
|
47
|
-
* role: "roles/viewer",
|
|
48
|
-
* members: ["user:jane@example.com"],
|
|
49
|
-
* });
|
|
50
|
-
* ```
|
|
51
|
-
*
|
|
52
|
-
* ## google\_runtimeconfig\_config\_iam\_member
|
|
53
|
-
*
|
|
54
|
-
* ```typescript
|
|
55
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
-
* import * as gcp from "@pulumi/gcp";
|
|
57
|
-
*
|
|
58
|
-
* const member = new gcp.runtimeconfig.ConfigIamMember("member", {
|
|
59
|
-
* project: google_runtimeconfig_config.config.project,
|
|
60
|
-
* config: google_runtimeconfig_config.config.name,
|
|
61
|
-
* role: "roles/viewer",
|
|
62
|
-
* member: "user:jane@example.com",
|
|
63
|
-
* });
|
|
64
|
-
* ```
|
|
65
|
-
*
|
|
66
9
|
* ## Import
|
|
67
10
|
*
|
|
68
11
|
* For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/configs/{{config}} * {{project}}/{{config}} * {{config}} Any variables not passed in the import command will be taken from the provider configuration. Runtime Configurator config IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configIamMember.js","sourceRoot":"","sources":["../../runtimeconfig/configIamMember.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"configIamMember.js","sourceRoot":"","sources":["../../runtimeconfig/configIamMember.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IA0DtD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KA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AAS,CAAC;YAClD,MAAM,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtC;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IA1FD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CA4FC;AA9EG,gBAAgB;AACO,4BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -1,62 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Three different resources help you manage your IAM policy for Runtime Configurator Config. Each of these resources serves a different use case:
|
|
4
|
-
*
|
|
5
|
-
* * `gcp.runtimeconfig.ConfigIamPolicy`: Authoritative. Sets the IAM policy for the config and replaces any existing policy already attached.
|
|
6
|
-
* * `gcp.runtimeconfig.ConfigIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the config are preserved.
|
|
7
|
-
* * `gcp.runtimeconfig.ConfigIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the config are preserved.
|
|
8
|
-
*
|
|
9
|
-
* > **Note:** `gcp.runtimeconfig.ConfigIamPolicy` **cannot** be used in conjunction with `gcp.runtimeconfig.ConfigIamBinding` and `gcp.runtimeconfig.ConfigIamMember` or they will fight over what your policy should be.
|
|
10
|
-
*
|
|
11
|
-
* > **Note:** `gcp.runtimeconfig.ConfigIamBinding` resources **can be** used in conjunction with `gcp.runtimeconfig.ConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
|
12
|
-
*
|
|
13
|
-
* ## google\_runtimeconfig\_config\_iam\_policy
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as gcp from "@pulumi/gcp";
|
|
18
|
-
*
|
|
19
|
-
* const admin = gcp.organizations.getIAMPolicy({
|
|
20
|
-
* bindings: [{
|
|
21
|
-
* role: "roles/viewer",
|
|
22
|
-
* members: ["user:jane@example.com"],
|
|
23
|
-
* }],
|
|
24
|
-
* });
|
|
25
|
-
* const policy = new gcp.runtimeconfig.ConfigIamPolicy("policy", {
|
|
26
|
-
* project: google_runtimeconfig_config.config.project,
|
|
27
|
-
* config: google_runtimeconfig_config.config.name,
|
|
28
|
-
* policyData: admin.then(admin => admin.policyData),
|
|
29
|
-
* });
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* ## google\_runtimeconfig\_config\_iam\_binding
|
|
33
|
-
*
|
|
34
|
-
* ```typescript
|
|
35
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
-
* import * as gcp from "@pulumi/gcp";
|
|
37
|
-
*
|
|
38
|
-
* const binding = new gcp.runtimeconfig.ConfigIamBinding("binding", {
|
|
39
|
-
* project: google_runtimeconfig_config.config.project,
|
|
40
|
-
* config: google_runtimeconfig_config.config.name,
|
|
41
|
-
* role: "roles/viewer",
|
|
42
|
-
* members: ["user:jane@example.com"],
|
|
43
|
-
* });
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* ## google\_runtimeconfig\_config\_iam\_member
|
|
47
|
-
*
|
|
48
|
-
* ```typescript
|
|
49
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
-
* import * as gcp from "@pulumi/gcp";
|
|
51
|
-
*
|
|
52
|
-
* const member = new gcp.runtimeconfig.ConfigIamMember("member", {
|
|
53
|
-
* project: google_runtimeconfig_config.config.project,
|
|
54
|
-
* config: google_runtimeconfig_config.config.name,
|
|
55
|
-
* role: "roles/viewer",
|
|
56
|
-
* member: "user:jane@example.com",
|
|
57
|
-
* });
|
|
58
|
-
* ```
|
|
59
|
-
*
|
|
60
3
|
* ## Import
|
|
61
4
|
*
|
|
62
5
|
* For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/configs/{{config}} * {{project}}/{{config}} * {{config}} Any variables not passed in the import command will be taken from the provider configuration. Runtime Configurator config IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
|
@@ -6,63 +6,6 @@ exports.ConfigIamPolicy = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Three different resources help you manage your IAM policy for Runtime Configurator Config. Each of these resources serves a different use case:
|
|
10
|
-
*
|
|
11
|
-
* * `gcp.runtimeconfig.ConfigIamPolicy`: Authoritative. Sets the IAM policy for the config and replaces any existing policy already attached.
|
|
12
|
-
* * `gcp.runtimeconfig.ConfigIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the config are preserved.
|
|
13
|
-
* * `gcp.runtimeconfig.ConfigIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the config are preserved.
|
|
14
|
-
*
|
|
15
|
-
* > **Note:** `gcp.runtimeconfig.ConfigIamPolicy` **cannot** be used in conjunction with `gcp.runtimeconfig.ConfigIamBinding` and `gcp.runtimeconfig.ConfigIamMember` or they will fight over what your policy should be.
|
|
16
|
-
*
|
|
17
|
-
* > **Note:** `gcp.runtimeconfig.ConfigIamBinding` resources **can be** used in conjunction with `gcp.runtimeconfig.ConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
|
18
|
-
*
|
|
19
|
-
* ## google\_runtimeconfig\_config\_iam\_policy
|
|
20
|
-
*
|
|
21
|
-
* ```typescript
|
|
22
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
-
* import * as gcp from "@pulumi/gcp";
|
|
24
|
-
*
|
|
25
|
-
* const admin = gcp.organizations.getIAMPolicy({
|
|
26
|
-
* bindings: [{
|
|
27
|
-
* role: "roles/viewer",
|
|
28
|
-
* members: ["user:jane@example.com"],
|
|
29
|
-
* }],
|
|
30
|
-
* });
|
|
31
|
-
* const policy = new gcp.runtimeconfig.ConfigIamPolicy("policy", {
|
|
32
|
-
* project: google_runtimeconfig_config.config.project,
|
|
33
|
-
* config: google_runtimeconfig_config.config.name,
|
|
34
|
-
* policyData: admin.then(admin => admin.policyData),
|
|
35
|
-
* });
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* ## google\_runtimeconfig\_config\_iam\_binding
|
|
39
|
-
*
|
|
40
|
-
* ```typescript
|
|
41
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
-
* import * as gcp from "@pulumi/gcp";
|
|
43
|
-
*
|
|
44
|
-
* const binding = new gcp.runtimeconfig.ConfigIamBinding("binding", {
|
|
45
|
-
* project: google_runtimeconfig_config.config.project,
|
|
46
|
-
* config: google_runtimeconfig_config.config.name,
|
|
47
|
-
* role: "roles/viewer",
|
|
48
|
-
* members: ["user:jane@example.com"],
|
|
49
|
-
* });
|
|
50
|
-
* ```
|
|
51
|
-
*
|
|
52
|
-
* ## google\_runtimeconfig\_config\_iam\_member
|
|
53
|
-
*
|
|
54
|
-
* ```typescript
|
|
55
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
-
* import * as gcp from "@pulumi/gcp";
|
|
57
|
-
*
|
|
58
|
-
* const member = new gcp.runtimeconfig.ConfigIamMember("member", {
|
|
59
|
-
* project: google_runtimeconfig_config.config.project,
|
|
60
|
-
* config: google_runtimeconfig_config.config.name,
|
|
61
|
-
* role: "roles/viewer",
|
|
62
|
-
* member: "user:jane@example.com",
|
|
63
|
-
* });
|
|
64
|
-
* ```
|
|
65
|
-
*
|
|
66
9
|
* ## Import
|
|
67
10
|
*
|
|
68
11
|
* For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/configs/{{config}} * {{project}}/{{config}} * {{config}} Any variables not passed in the import command will be taken from the provider configuration. Runtime Configurator config IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configIamPolicy.js","sourceRoot":"","sources":["../../runtimeconfig/configIamPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"configIamPolicy.js","sourceRoot":"","sources":["../../runtimeconfig/configIamPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IAuDtD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI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AC;YACpD,MAAM,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtC;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IAhFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CAkFC;AApEG,gBAAgB;AACO,4BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -1,24 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* To get more information about RuntimeConfigs, see:
|
|
4
|
-
*
|
|
5
|
-
* !> This datasource has been deprecated in the google (GA) provider, and will only be available in the google-beta provider in a future release.
|
|
6
|
-
*
|
|
7
|
-
* * [API documentation](https://cloud.google.com/deployment-manager/runtime-configurator/reference/rest/v1beta1/projects.configs)
|
|
8
|
-
* * How-to Guides
|
|
9
|
-
* * [Runtime Configurator Fundamentals](https://cloud.google.com/deployment-manager/runtime-configurator/)
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as gcp from "@pulumi/gcp";
|
|
16
|
-
*
|
|
17
|
-
* const run_service = pulumi.output(gcp.runtimeconfig.getConfig({
|
|
18
|
-
* name: "my-service",
|
|
19
|
-
* }));
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
2
|
export declare function getConfig(args: GetConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetConfigResult>;
|
|
23
3
|
/**
|
|
24
4
|
* A collection of arguments for invoking getConfig.
|
|
@@ -5,26 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getConfigOutput = exports.getConfig = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* To get more information about RuntimeConfigs, see:
|
|
10
|
-
*
|
|
11
|
-
* !> This datasource has been deprecated in the google (GA) provider, and will only be available in the google-beta provider in a future release.
|
|
12
|
-
*
|
|
13
|
-
* * [API documentation](https://cloud.google.com/deployment-manager/runtime-configurator/reference/rest/v1beta1/projects.configs)
|
|
14
|
-
* * How-to Guides
|
|
15
|
-
* * [Runtime Configurator Fundamentals](https://cloud.google.com/deployment-manager/runtime-configurator/)
|
|
16
|
-
*
|
|
17
|
-
* ## Example Usage
|
|
18
|
-
*
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
-
* import * as gcp from "@pulumi/gcp";
|
|
22
|
-
*
|
|
23
|
-
* const run_service = pulumi.output(gcp.runtimeconfig.getConfig({
|
|
24
|
-
* name: "my-service",
|
|
25
|
-
* }));
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
8
|
function getConfig(args, opts) {
|
|
29
9
|
if (!opts) {
|
|
30
10
|
opts = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getConfig.js","sourceRoot":"","sources":["../../runtimeconfig/getConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getConfig.js","sourceRoot":"","sources":["../../runtimeconfig/getConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE;QAClE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,8BAYC;AA8BD,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,0CAEC"}
|
|
@@ -1,23 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* To get more information about RuntimeConfigs, see:
|
|
4
|
-
*
|
|
5
|
-
* * [API documentation](https://cloud.google.com/deployment-manager/runtime-configurator/reference/rest/v1beta1/projects.configs)
|
|
6
|
-
* * How-to Guides
|
|
7
|
-
* * [Runtime Configurator Fundamentals](https://cloud.google.com/deployment-manager/runtime-configurator/)
|
|
8
|
-
*
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as gcp from "@pulumi/gcp";
|
|
14
|
-
*
|
|
15
|
-
* const run_service = pulumi.output(gcp.runtimeconfig.getVariable({
|
|
16
|
-
* name: "prod-variables/hostname",
|
|
17
|
-
* parent: "my-service",
|
|
18
|
-
* }));
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
2
|
export declare function getVariable(args: GetVariableArgs, opts?: pulumi.InvokeOptions): Promise<GetVariableResult>;
|
|
22
3
|
/**
|
|
23
4
|
* A collection of arguments for invoking getVariable.
|
|
@@ -5,25 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getVariableOutput = exports.getVariable = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* To get more information about RuntimeConfigs, see:
|
|
10
|
-
*
|
|
11
|
-
* * [API documentation](https://cloud.google.com/deployment-manager/runtime-configurator/reference/rest/v1beta1/projects.configs)
|
|
12
|
-
* * How-to Guides
|
|
13
|
-
* * [Runtime Configurator Fundamentals](https://cloud.google.com/deployment-manager/runtime-configurator/)
|
|
14
|
-
*
|
|
15
|
-
* ## Example Usage
|
|
16
|
-
*
|
|
17
|
-
* ```typescript
|
|
18
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
-
* import * as gcp from "@pulumi/gcp";
|
|
20
|
-
*
|
|
21
|
-
* const run_service = pulumi.output(gcp.runtimeconfig.getVariable({
|
|
22
|
-
* name: "prod-variables/hostname",
|
|
23
|
-
* parent: "my-service",
|
|
24
|
-
* }));
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
8
|
function getVariable(args, opts) {
|
|
28
9
|
if (!opts) {
|
|
29
10
|
opts = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVariable.js","sourceRoot":"","sources":["../../runtimeconfig/getVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getVariable.js","sourceRoot":"","sources":["../../runtimeconfig/getVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,kCAaC;AAqCD,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
|
|
@@ -1,44 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Manages a RuntimeConfig variable in Google Cloud. For more information, see the
|
|
4
|
-
* [official documentation](https://cloud.google.com/deployment-manager/runtime-configurator/),
|
|
5
|
-
* or the
|
|
6
|
-
* [JSON API](https://cloud.google.com/deployment-manager/runtime-configurator/reference/rest/).
|
|
7
|
-
*
|
|
8
|
-
* !> This resource has been deprecated in the google (GA) provider, and will only be available in the google-beta provider in a future release.
|
|
9
|
-
*
|
|
10
|
-
* ## Example Usage
|
|
11
|
-
*
|
|
12
|
-
* Example creating a RuntimeConfig variable.
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as gcp from "@pulumi/gcp";
|
|
17
|
-
*
|
|
18
|
-
* const my_runtime_config = new gcp.runtimeconfig.Config("my-runtime-config", {description: "Runtime configuration values for my service"});
|
|
19
|
-
* const environment = new gcp.runtimeconfig.Variable("environment", {
|
|
20
|
-
* parent: my_runtime_config.name,
|
|
21
|
-
* text: "example.com",
|
|
22
|
-
* });
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* You can also encode binary content using the `value` argument instead. The
|
|
26
|
-
* value must be base64 encoded.
|
|
27
|
-
*
|
|
28
|
-
* Example of using the `value` argument.
|
|
29
|
-
*
|
|
30
|
-
* ```typescript
|
|
31
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
-
* import * as gcp from "@pulumi/gcp";
|
|
33
|
-
* import * from "fs";
|
|
34
|
-
*
|
|
35
|
-
* const my_runtime_config = new gcp.runtimeconfig.Config("my-runtime-config", {description: "Runtime configuration values for my service"});
|
|
36
|
-
* const my_secret = new gcp.runtimeconfig.Variable("my-secret", {
|
|
37
|
-
* parent: my_runtime_config.name,
|
|
38
|
-
* value: Buffer.from(fs.readFileSync("my-encrypted-secret.dat"), 'binary').toString('base64'),
|
|
39
|
-
* });
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
3
|
* ## Import
|
|
43
4
|
*
|
|
44
5
|
* Runtime Config Variables can be imported using the `name` or full variable name, e.g.
|
|
@@ -6,45 +6,6 @@ exports.Variable = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Manages a RuntimeConfig variable in Google Cloud. For more information, see the
|
|
10
|
-
* [official documentation](https://cloud.google.com/deployment-manager/runtime-configurator/),
|
|
11
|
-
* or the
|
|
12
|
-
* [JSON API](https://cloud.google.com/deployment-manager/runtime-configurator/reference/rest/).
|
|
13
|
-
*
|
|
14
|
-
* !> This resource has been deprecated in the google (GA) provider, and will only be available in the google-beta provider in a future release.
|
|
15
|
-
*
|
|
16
|
-
* ## Example Usage
|
|
17
|
-
*
|
|
18
|
-
* Example creating a RuntimeConfig variable.
|
|
19
|
-
*
|
|
20
|
-
* ```typescript
|
|
21
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
-
* import * as gcp from "@pulumi/gcp";
|
|
23
|
-
*
|
|
24
|
-
* const my_runtime_config = new gcp.runtimeconfig.Config("my-runtime-config", {description: "Runtime configuration values for my service"});
|
|
25
|
-
* const environment = new gcp.runtimeconfig.Variable("environment", {
|
|
26
|
-
* parent: my_runtime_config.name,
|
|
27
|
-
* text: "example.com",
|
|
28
|
-
* });
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* You can also encode binary content using the `value` argument instead. The
|
|
32
|
-
* value must be base64 encoded.
|
|
33
|
-
*
|
|
34
|
-
* Example of using the `value` argument.
|
|
35
|
-
*
|
|
36
|
-
* ```typescript
|
|
37
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
-
* import * as gcp from "@pulumi/gcp";
|
|
39
|
-
* import * from "fs";
|
|
40
|
-
*
|
|
41
|
-
* const my_runtime_config = new gcp.runtimeconfig.Config("my-runtime-config", {description: "Runtime configuration values for my service"});
|
|
42
|
-
* const my_secret = new gcp.runtimeconfig.Variable("my-secret", {
|
|
43
|
-
* parent: my_runtime_config.name,
|
|
44
|
-
* value: Buffer.from(fs.readFileSync("my-encrypted-secret.dat"), 'binary').toString('base64'),
|
|
45
|
-
* });
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
9
|
* ## Import
|
|
49
10
|
*
|
|
50
11
|
* Runtime Config Variables can be imported using the `name` or full variable name, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variable.js","sourceRoot":"","sources":["../../runtimeconfig/variable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"variable.js","sourceRoot":"","sources":["../../runtimeconfig/variable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAkE/C,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,MAAM,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SACrD;aAAM;YACH,MAA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EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BA8FC;AAhFG,gBAAgB;AACO,qBAAY,GAAG,qCAAqC,CAAC"}
|
package/spanner/database.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
21
21
|
* const main = new gcp.spanner.Instance("main", {
|
|
22
22
|
* config: "regional-europe-west1",
|
|
23
23
|
* displayName: "main-instance",
|
|
24
|
+
* numNodes: 1,
|
|
24
25
|
* });
|
|
25
26
|
* const database = new gcp.spanner.Database("database", {
|
|
26
27
|
* instance: main.name,
|
package/spanner/database.js
CHANGED
|
@@ -26,6 +26,7 @@ const utilities = require("../utilities");
|
|
|
26
26
|
* const main = new gcp.spanner.Instance("main", {
|
|
27
27
|
* config: "regional-europe-west1",
|
|
28
28
|
* displayName: "main-instance",
|
|
29
|
+
* numNodes: 1,
|
|
29
30
|
* });
|
|
30
31
|
* const database = new gcp.spanner.Database("database", {
|
|
31
32
|
* instance: main.name,
|
package/spanner/database.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database.js","sourceRoot":"","sources":["../../spanner/database.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"database.js","sourceRoot":"","sources":["../../spanner/database.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;G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CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BAsGC;AAxFG,gBAAgB;AACO,qBAAY,GAAG,+BAA+B,CAAC"}
|
package/spanner/getInstance.d.ts
CHANGED
|
@@ -20,16 +20,10 @@ export declare function getInstance(args: GetInstanceArgs, opts?: pulumi.InvokeO
|
|
|
20
20
|
export interface GetInstanceArgs {
|
|
21
21
|
config?: string;
|
|
22
22
|
displayName?: string;
|
|
23
|
-
forceDestroy?: boolean;
|
|
24
|
-
labels?: {
|
|
25
|
-
[key: string]: string;
|
|
26
|
-
};
|
|
27
23
|
/**
|
|
28
24
|
* The name of the spanner instance.
|
|
29
25
|
*/
|
|
30
26
|
name: string;
|
|
31
|
-
numNodes?: number;
|
|
32
|
-
processingUnits?: number;
|
|
33
27
|
/**
|
|
34
28
|
* The project in which the resource belongs. If it
|
|
35
29
|
* is not provided, the provider project is used.
|
|
@@ -42,12 +36,12 @@ export interface GetInstanceArgs {
|
|
|
42
36
|
export interface GetInstanceResult {
|
|
43
37
|
readonly config?: string;
|
|
44
38
|
readonly displayName?: string;
|
|
45
|
-
readonly forceDestroy
|
|
39
|
+
readonly forceDestroy: boolean;
|
|
46
40
|
/**
|
|
47
41
|
* The provider-assigned unique ID for this managed resource.
|
|
48
42
|
*/
|
|
49
43
|
readonly id: string;
|
|
50
|
-
readonly labels
|
|
44
|
+
readonly labels: {
|
|
51
45
|
[key: string]: string;
|
|
52
46
|
};
|
|
53
47
|
readonly name: string;
|
|
@@ -63,16 +57,10 @@ export declare function getInstanceOutput(args: GetInstanceOutputArgs, opts?: pu
|
|
|
63
57
|
export interface GetInstanceOutputArgs {
|
|
64
58
|
config?: pulumi.Input<string>;
|
|
65
59
|
displayName?: pulumi.Input<string>;
|
|
66
|
-
forceDestroy?: pulumi.Input<boolean>;
|
|
67
|
-
labels?: pulumi.Input<{
|
|
68
|
-
[key: string]: pulumi.Input<string>;
|
|
69
|
-
}>;
|
|
70
60
|
/**
|
|
71
61
|
* The name of the spanner instance.
|
|
72
62
|
*/
|
|
73
63
|
name: pulumi.Input<string>;
|
|
74
|
-
numNodes?: pulumi.Input<number>;
|
|
75
|
-
processingUnits?: pulumi.Input<number>;
|
|
76
64
|
/**
|
|
77
65
|
* The project in which the resource belongs. If it
|
|
78
66
|
* is not provided, the provider project is used.
|
package/spanner/getInstance.js
CHANGED
|
@@ -29,11 +29,7 @@ function getInstance(args, opts) {
|
|
|
29
29
|
return pulumi.runtime.invoke("gcp:spanner/getInstance:getInstance", {
|
|
30
30
|
"config": args.config,
|
|
31
31
|
"displayName": args.displayName,
|
|
32
|
-
"forceDestroy": args.forceDestroy,
|
|
33
|
-
"labels": args.labels,
|
|
34
32
|
"name": args.name,
|
|
35
|
-
"numNodes": args.numNodes,
|
|
36
|
-
"processingUnits": args.processingUnits,
|
|
37
33
|
"project": args.project,
|
|
38
34
|
}, opts);
|
|
39
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getInstance.js","sourceRoot":"","sources":["../../spanner/getInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,
|
|
1
|
+
{"version":3,"file":"getInstance.js","sourceRoot":"","sources":["../../spanner/getInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,kCAcC;AAsCD,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
|
package/sql/database.d.ts
CHANGED
package/sql/database.js
CHANGED
package/sql/database.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database.js","sourceRoot":"","sources":["../../sql/database.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"database.js","sourceRoot":"","sources":["../../sql/database.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CA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