@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,101 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "../types";
|
|
3
3
|
/**
|
|
4
|
-
* An environment for running orchestration tasks.
|
|
5
|
-
*
|
|
6
|
-
* Environments run Apache Airflow software on Google infrastructure.
|
|
7
|
-
*
|
|
8
|
-
* To get more information about Environments, see:
|
|
9
|
-
*
|
|
10
|
-
* * [API documentation](https://cloud.google.com/composer/docs/reference/rest/v1/projects.locations.environments)
|
|
11
|
-
* * How-to Guides
|
|
12
|
-
* * [Official Documentation](https://cloud.google.com/composer/docs)
|
|
13
|
-
* * [Configuring Shared VPC for Composer Environments](https://cloud.google.com/composer/docs/how-to/managing/configuring-shared-vpc)
|
|
14
|
-
* * [Apache Airflow Documentation](http://airflow.apache.org/)
|
|
15
|
-
*
|
|
16
|
-
* > **Warning:** We **STRONGLY** recommend you read the [GCP guides](https://cloud.google.com/composer/docs/how-to)
|
|
17
|
-
* as the Environment resource requires a long deployment process and involves several layers of GCP infrastructure,
|
|
18
|
-
* including a Kubernetes Engine cluster, Cloud Storage, and Compute networking resources. Due to limitations of the API,
|
|
19
|
-
* This provider will not be able to automatically find or manage many of these underlying resources. In particular:
|
|
20
|
-
* * It can take up to one hour to create or update an environment resource. In addition, GCP may only detect some
|
|
21
|
-
* errors in configuration when they are used (e.g. ~40-50 minutes into the creation process), and is prone to limited
|
|
22
|
-
* error reporting. If you encounter confusing or uninformative errors, please verify your configuration is valid
|
|
23
|
-
* against GCP Cloud Composer before filing bugs against this provider provider.
|
|
24
|
-
* * **Environments create Google Cloud Storage buckets that do not get cleaned up automatically** on environment
|
|
25
|
-
* deletion. [More about Composer's use of Cloud Storage](https://cloud.google.com/composer/docs/concepts/cloud-storage).
|
|
26
|
-
* * Please review the [known issues](https://cloud.google.com/composer/docs/known-issues) for Composer if you are having problems.
|
|
27
|
-
*
|
|
28
|
-
* ## Example Usage
|
|
29
|
-
* ### Basic Usage
|
|
30
|
-
* ```typescript
|
|
31
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
-
* import * as gcp from "@pulumi/gcp";
|
|
33
|
-
*
|
|
34
|
-
* const test = new gcp.composer.Environment("test", {
|
|
35
|
-
* region: "us-central1",
|
|
36
|
-
* });
|
|
37
|
-
* ```
|
|
38
|
-
* ### With GKE and Compute Resource Dependencies
|
|
39
|
-
*
|
|
40
|
-
* **NOTE** To use custom service accounts, you need to give at least `role/composer.worker` to the service account being used by the GKE Nodes on the Composer project.
|
|
41
|
-
* You may need to assign additional roles depending on what the Airflow DAGs will be running.
|
|
42
|
-
*
|
|
43
|
-
* ```typescript
|
|
44
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
-
* import * as gcp from "@pulumi/gcp";
|
|
46
|
-
*
|
|
47
|
-
* const testNetwork = new gcp.compute.Network("testNetwork", {autoCreateSubnetworks: false});
|
|
48
|
-
* const testSubnetwork = new gcp.compute.Subnetwork("testSubnetwork", {
|
|
49
|
-
* ipCidrRange: "10.2.0.0/16",
|
|
50
|
-
* region: "us-central1",
|
|
51
|
-
* network: testNetwork.id,
|
|
52
|
-
* });
|
|
53
|
-
* const testAccount = new gcp.serviceaccount.Account("testAccount", {
|
|
54
|
-
* accountId: "composer-env-account",
|
|
55
|
-
* displayName: "Test Service Account for Composer Environment",
|
|
56
|
-
* });
|
|
57
|
-
* const testEnvironment = new gcp.composer.Environment("testEnvironment", {
|
|
58
|
-
* region: "us-central1",
|
|
59
|
-
* config: {
|
|
60
|
-
* nodeCount: 4,
|
|
61
|
-
* nodeConfig: {
|
|
62
|
-
* zone: "us-central1-a",
|
|
63
|
-
* machineType: "e2-medium",
|
|
64
|
-
* network: testNetwork.id,
|
|
65
|
-
* subnetwork: testSubnetwork.id,
|
|
66
|
-
* serviceAccount: testAccount.name,
|
|
67
|
-
* },
|
|
68
|
-
* },
|
|
69
|
-
* });
|
|
70
|
-
* const composer_worker = new gcp.projects.IAMMember("composer-worker", {
|
|
71
|
-
* role: "roles/composer.worker",
|
|
72
|
-
* member: pulumi.interpolate`serviceAccount:${testAccount.email}`,
|
|
73
|
-
* });
|
|
74
|
-
* ```
|
|
75
|
-
* ### With Software (Airflow) Config
|
|
76
|
-
* ```typescript
|
|
77
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
78
|
-
* import * as gcp from "@pulumi/gcp";
|
|
79
|
-
*
|
|
80
|
-
* const test = new gcp.composer.Environment("test", {
|
|
81
|
-
* config: {
|
|
82
|
-
* softwareConfig: {
|
|
83
|
-
* airflowConfigOverrides: {
|
|
84
|
-
* "core-load_example": "True",
|
|
85
|
-
* },
|
|
86
|
-
* envVariables: {
|
|
87
|
-
* FOO: "bar",
|
|
88
|
-
* },
|
|
89
|
-
* pypiPackages: {
|
|
90
|
-
* numpy: "",
|
|
91
|
-
* scipy: "==1.1.0",
|
|
92
|
-
* },
|
|
93
|
-
* },
|
|
94
|
-
* },
|
|
95
|
-
* region: "us-central1",
|
|
96
|
-
* });
|
|
97
|
-
* ```
|
|
98
|
-
*
|
|
99
4
|
* ## Import
|
|
100
5
|
*
|
|
101
6
|
* Environment can be imported using any of these accepted formats
|
|
@@ -129,30 +34,25 @@ export declare class Environment extends pulumi.CustomResource {
|
|
|
129
34
|
*/
|
|
130
35
|
static isInstance(obj: any): obj is Environment;
|
|
131
36
|
/**
|
|
132
|
-
* Configuration parameters for this environment
|
|
37
|
+
* Configuration parameters for this environment.
|
|
133
38
|
*/
|
|
134
39
|
readonly config: pulumi.Output<outputs.composer.EnvironmentConfig>;
|
|
135
40
|
/**
|
|
136
|
-
* User-defined labels for this environment. The labels map can contain
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
* Label values must be between 0 and 63 characters long and must
|
|
142
|
-
* conform to the regular expression `(a-z?)?`.
|
|
143
|
-
* No more than 64 labels can be associated with a given environment.
|
|
144
|
-
* Both keys and values must be <= 128 bytes in size.
|
|
41
|
+
* User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map
|
|
42
|
+
* are UTF8 strings that comply with the following restrictions: Label keys must be between 1 and 63 characters long and
|
|
43
|
+
* must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. Label values must be between 0 and 63
|
|
44
|
+
* characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. No more than 64 labels can be
|
|
45
|
+
* associated with a given environment. Both keys and values must be <= 128 bytes in size.
|
|
145
46
|
*/
|
|
146
47
|
readonly labels: pulumi.Output<{
|
|
147
48
|
[key: string]: string;
|
|
148
49
|
} | undefined>;
|
|
149
50
|
/**
|
|
150
|
-
* Name of the environment
|
|
51
|
+
* Name of the environment.
|
|
151
52
|
*/
|
|
152
53
|
readonly name: pulumi.Output<string>;
|
|
153
54
|
/**
|
|
154
|
-
* The ID of the project in which the resource belongs.
|
|
155
|
-
* If it is not provided, the provider project is used.
|
|
55
|
+
* The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
|
|
156
56
|
*/
|
|
157
57
|
readonly project: pulumi.Output<string>;
|
|
158
58
|
/**
|
|
@@ -173,30 +73,25 @@ export declare class Environment extends pulumi.CustomResource {
|
|
|
173
73
|
*/
|
|
174
74
|
export interface EnvironmentState {
|
|
175
75
|
/**
|
|
176
|
-
* Configuration parameters for this environment
|
|
76
|
+
* Configuration parameters for this environment.
|
|
177
77
|
*/
|
|
178
78
|
config?: pulumi.Input<inputs.composer.EnvironmentConfig>;
|
|
179
79
|
/**
|
|
180
|
-
* User-defined labels for this environment. The labels map can contain
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
*
|
|
184
|
-
*
|
|
185
|
-
* Label values must be between 0 and 63 characters long and must
|
|
186
|
-
* conform to the regular expression `(a-z?)?`.
|
|
187
|
-
* No more than 64 labels can be associated with a given environment.
|
|
188
|
-
* Both keys and values must be <= 128 bytes in size.
|
|
80
|
+
* User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map
|
|
81
|
+
* are UTF8 strings that comply with the following restrictions: Label keys must be between 1 and 63 characters long and
|
|
82
|
+
* must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. Label values must be between 0 and 63
|
|
83
|
+
* characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. No more than 64 labels can be
|
|
84
|
+
* associated with a given environment. Both keys and values must be <= 128 bytes in size.
|
|
189
85
|
*/
|
|
190
86
|
labels?: pulumi.Input<{
|
|
191
87
|
[key: string]: pulumi.Input<string>;
|
|
192
88
|
}>;
|
|
193
89
|
/**
|
|
194
|
-
* Name of the environment
|
|
90
|
+
* Name of the environment.
|
|
195
91
|
*/
|
|
196
92
|
name?: pulumi.Input<string>;
|
|
197
93
|
/**
|
|
198
|
-
* The ID of the project in which the resource belongs.
|
|
199
|
-
* If it is not provided, the provider project is used.
|
|
94
|
+
* The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
|
|
200
95
|
*/
|
|
201
96
|
project?: pulumi.Input<string>;
|
|
202
97
|
/**
|
|
@@ -209,30 +104,25 @@ export interface EnvironmentState {
|
|
|
209
104
|
*/
|
|
210
105
|
export interface EnvironmentArgs {
|
|
211
106
|
/**
|
|
212
|
-
* Configuration parameters for this environment
|
|
107
|
+
* Configuration parameters for this environment.
|
|
213
108
|
*/
|
|
214
109
|
config?: pulumi.Input<inputs.composer.EnvironmentConfig>;
|
|
215
110
|
/**
|
|
216
|
-
* User-defined labels for this environment. The labels map can contain
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
*
|
|
220
|
-
*
|
|
221
|
-
* Label values must be between 0 and 63 characters long and must
|
|
222
|
-
* conform to the regular expression `(a-z?)?`.
|
|
223
|
-
* No more than 64 labels can be associated with a given environment.
|
|
224
|
-
* Both keys and values must be <= 128 bytes in size.
|
|
111
|
+
* User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map
|
|
112
|
+
* are UTF8 strings that comply with the following restrictions: Label keys must be between 1 and 63 characters long and
|
|
113
|
+
* must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. Label values must be between 0 and 63
|
|
114
|
+
* characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. No more than 64 labels can be
|
|
115
|
+
* associated with a given environment. Both keys and values must be <= 128 bytes in size.
|
|
225
116
|
*/
|
|
226
117
|
labels?: pulumi.Input<{
|
|
227
118
|
[key: string]: pulumi.Input<string>;
|
|
228
119
|
}>;
|
|
229
120
|
/**
|
|
230
|
-
* Name of the environment
|
|
121
|
+
* Name of the environment.
|
|
231
122
|
*/
|
|
232
123
|
name?: pulumi.Input<string>;
|
|
233
124
|
/**
|
|
234
|
-
* The ID of the project in which the resource belongs.
|
|
235
|
-
* If it is not provided, the provider project is used.
|
|
125
|
+
* The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
|
|
236
126
|
*/
|
|
237
127
|
project?: pulumi.Input<string>;
|
|
238
128
|
/**
|
package/composer/environment.js
CHANGED
|
@@ -6,101 +6,6 @@ exports.Environment = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* An environment for running orchestration tasks.
|
|
10
|
-
*
|
|
11
|
-
* Environments run Apache Airflow software on Google infrastructure.
|
|
12
|
-
*
|
|
13
|
-
* To get more information about Environments, see:
|
|
14
|
-
*
|
|
15
|
-
* * [API documentation](https://cloud.google.com/composer/docs/reference/rest/v1/projects.locations.environments)
|
|
16
|
-
* * How-to Guides
|
|
17
|
-
* * [Official Documentation](https://cloud.google.com/composer/docs)
|
|
18
|
-
* * [Configuring Shared VPC for Composer Environments](https://cloud.google.com/composer/docs/how-to/managing/configuring-shared-vpc)
|
|
19
|
-
* * [Apache Airflow Documentation](http://airflow.apache.org/)
|
|
20
|
-
*
|
|
21
|
-
* > **Warning:** We **STRONGLY** recommend you read the [GCP guides](https://cloud.google.com/composer/docs/how-to)
|
|
22
|
-
* as the Environment resource requires a long deployment process and involves several layers of GCP infrastructure,
|
|
23
|
-
* including a Kubernetes Engine cluster, Cloud Storage, and Compute networking resources. Due to limitations of the API,
|
|
24
|
-
* This provider will not be able to automatically find or manage many of these underlying resources. In particular:
|
|
25
|
-
* * It can take up to one hour to create or update an environment resource. In addition, GCP may only detect some
|
|
26
|
-
* errors in configuration when they are used (e.g. ~40-50 minutes into the creation process), and is prone to limited
|
|
27
|
-
* error reporting. If you encounter confusing or uninformative errors, please verify your configuration is valid
|
|
28
|
-
* against GCP Cloud Composer before filing bugs against this provider provider.
|
|
29
|
-
* * **Environments create Google Cloud Storage buckets that do not get cleaned up automatically** on environment
|
|
30
|
-
* deletion. [More about Composer's use of Cloud Storage](https://cloud.google.com/composer/docs/concepts/cloud-storage).
|
|
31
|
-
* * Please review the [known issues](https://cloud.google.com/composer/docs/known-issues) for Composer if you are having problems.
|
|
32
|
-
*
|
|
33
|
-
* ## Example Usage
|
|
34
|
-
* ### Basic Usage
|
|
35
|
-
* ```typescript
|
|
36
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
-
* import * as gcp from "@pulumi/gcp";
|
|
38
|
-
*
|
|
39
|
-
* const test = new gcp.composer.Environment("test", {
|
|
40
|
-
* region: "us-central1",
|
|
41
|
-
* });
|
|
42
|
-
* ```
|
|
43
|
-
* ### With GKE and Compute Resource Dependencies
|
|
44
|
-
*
|
|
45
|
-
* **NOTE** To use custom service accounts, you need to give at least `role/composer.worker` to the service account being used by the GKE Nodes on the Composer project.
|
|
46
|
-
* You may need to assign additional roles depending on what the Airflow DAGs will be running.
|
|
47
|
-
*
|
|
48
|
-
* ```typescript
|
|
49
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
-
* import * as gcp from "@pulumi/gcp";
|
|
51
|
-
*
|
|
52
|
-
* const testNetwork = new gcp.compute.Network("testNetwork", {autoCreateSubnetworks: false});
|
|
53
|
-
* const testSubnetwork = new gcp.compute.Subnetwork("testSubnetwork", {
|
|
54
|
-
* ipCidrRange: "10.2.0.0/16",
|
|
55
|
-
* region: "us-central1",
|
|
56
|
-
* network: testNetwork.id,
|
|
57
|
-
* });
|
|
58
|
-
* const testAccount = new gcp.serviceaccount.Account("testAccount", {
|
|
59
|
-
* accountId: "composer-env-account",
|
|
60
|
-
* displayName: "Test Service Account for Composer Environment",
|
|
61
|
-
* });
|
|
62
|
-
* const testEnvironment = new gcp.composer.Environment("testEnvironment", {
|
|
63
|
-
* region: "us-central1",
|
|
64
|
-
* config: {
|
|
65
|
-
* nodeCount: 4,
|
|
66
|
-
* nodeConfig: {
|
|
67
|
-
* zone: "us-central1-a",
|
|
68
|
-
* machineType: "e2-medium",
|
|
69
|
-
* network: testNetwork.id,
|
|
70
|
-
* subnetwork: testSubnetwork.id,
|
|
71
|
-
* serviceAccount: testAccount.name,
|
|
72
|
-
* },
|
|
73
|
-
* },
|
|
74
|
-
* });
|
|
75
|
-
* const composer_worker = new gcp.projects.IAMMember("composer-worker", {
|
|
76
|
-
* role: "roles/composer.worker",
|
|
77
|
-
* member: pulumi.interpolate`serviceAccount:${testAccount.email}`,
|
|
78
|
-
* });
|
|
79
|
-
* ```
|
|
80
|
-
* ### With Software (Airflow) Config
|
|
81
|
-
* ```typescript
|
|
82
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
83
|
-
* import * as gcp from "@pulumi/gcp";
|
|
84
|
-
*
|
|
85
|
-
* const test = new gcp.composer.Environment("test", {
|
|
86
|
-
* config: {
|
|
87
|
-
* softwareConfig: {
|
|
88
|
-
* airflowConfigOverrides: {
|
|
89
|
-
* "core-load_example": "True",
|
|
90
|
-
* },
|
|
91
|
-
* envVariables: {
|
|
92
|
-
* FOO: "bar",
|
|
93
|
-
* },
|
|
94
|
-
* pypiPackages: {
|
|
95
|
-
* numpy: "",
|
|
96
|
-
* scipy: "==1.1.0",
|
|
97
|
-
* },
|
|
98
|
-
* },
|
|
99
|
-
* },
|
|
100
|
-
* region: "us-central1",
|
|
101
|
-
* });
|
|
102
|
-
* ```
|
|
103
|
-
*
|
|
104
9
|
* ## Import
|
|
105
10
|
*
|
|
106
11
|
* Environment can be imported using any of these accepted formats
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../composer/environment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../composer/environment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IA6DlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QACl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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,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;IAlFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCAoFC;AAtEG,gBAAgB;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
|
package/compute/address.d.ts
CHANGED
|
@@ -210,6 +210,9 @@ export declare class Address extends pulumi.CustomResource {
|
|
|
210
210
|
* * IPSEC_INTERCONNECT for addresses created from a private IP range
|
|
211
211
|
* that are reserved for a VLAN attachment in an IPsec-encrypted Cloud
|
|
212
212
|
* Interconnect configuration. These addresses are regional resources.
|
|
213
|
+
* * PRIVATE_SERVICE_CONNECT for a private network address that is used
|
|
214
|
+
* to configure Private Service Connect. Only global internal addresses
|
|
215
|
+
* can use this purpose.
|
|
213
216
|
* This should only be set when using an Internal address.
|
|
214
217
|
*/
|
|
215
218
|
readonly purpose: pulumi.Output<string>;
|
|
@@ -317,6 +320,9 @@ export interface AddressState {
|
|
|
317
320
|
* * IPSEC_INTERCONNECT for addresses created from a private IP range
|
|
318
321
|
* that are reserved for a VLAN attachment in an IPsec-encrypted Cloud
|
|
319
322
|
* Interconnect configuration. These addresses are regional resources.
|
|
323
|
+
* * PRIVATE_SERVICE_CONNECT for a private network address that is used
|
|
324
|
+
* to configure Private Service Connect. Only global internal addresses
|
|
325
|
+
* can use this purpose.
|
|
320
326
|
* This should only be set when using an Internal address.
|
|
321
327
|
*/
|
|
322
328
|
purpose?: pulumi.Input<string>;
|
|
@@ -408,6 +414,9 @@ export interface AddressArgs {
|
|
|
408
414
|
* * IPSEC_INTERCONNECT for addresses created from a private IP range
|
|
409
415
|
* that are reserved for a VLAN attachment in an IPsec-encrypted Cloud
|
|
410
416
|
* Interconnect configuration. These addresses are regional resources.
|
|
417
|
+
* * PRIVATE_SERVICE_CONNECT for a private network address that is used
|
|
418
|
+
* to configure Private Service Connect. Only global internal addresses
|
|
419
|
+
* can use this purpose.
|
|
411
420
|
* This should only be set when using an Internal address.
|
|
412
421
|
*/
|
|
413
422
|
purpose?: pulumi.Input<string>;
|
package/compute/address.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address.js","sourceRoot":"","sources":["../../compute/address.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2HG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"address.js","sourceRoot":"","sources":["../../compute/address.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACpD,CAAC;IA/KD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AA1BL,0BAiLC;AAnKG,gBAAgB;AACO,oBAAY,GAAG,6BAA6B,CAAC"}
|
|
@@ -346,9 +346,11 @@ export declare class BackendService extends pulumi.CustomResource {
|
|
|
346
346
|
*/
|
|
347
347
|
readonly securityPolicy: pulumi.Output<string | undefined>;
|
|
348
348
|
/**
|
|
349
|
-
* The security settings that apply to this backend service. This field is applicable to either
|
|
350
|
-
* with the
|
|
351
|
-
* backend service with the
|
|
349
|
+
* The security settings that apply to this backend service. This field is applicable to either
|
|
350
|
+
* a regional backend service with the serviceProtocol set to HTTP, HTTPS, or HTTP2, and
|
|
351
|
+
* loadBalancingScheme set to INTERNAL_MANAGED; or a global backend service with the
|
|
352
|
+
* loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
|
353
|
+
* Structure is documented below.
|
|
352
354
|
*/
|
|
353
355
|
readonly securitySettings: pulumi.Output<outputs.compute.BackendServiceSecuritySettings | undefined>;
|
|
354
356
|
/**
|
|
@@ -535,9 +537,11 @@ export interface BackendServiceState {
|
|
|
535
537
|
*/
|
|
536
538
|
securityPolicy?: pulumi.Input<string>;
|
|
537
539
|
/**
|
|
538
|
-
* The security settings that apply to this backend service. This field is applicable to either
|
|
539
|
-
* with the
|
|
540
|
-
* backend service with the
|
|
540
|
+
* The security settings that apply to this backend service. This field is applicable to either
|
|
541
|
+
* a regional backend service with the serviceProtocol set to HTTP, HTTPS, or HTTP2, and
|
|
542
|
+
* loadBalancingScheme set to INTERNAL_MANAGED; or a global backend service with the
|
|
543
|
+
* loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
|
544
|
+
* Structure is documented below.
|
|
541
545
|
*/
|
|
542
546
|
securitySettings?: pulumi.Input<inputs.compute.BackendServiceSecuritySettings>;
|
|
543
547
|
/**
|
|
@@ -708,9 +712,11 @@ export interface BackendServiceArgs {
|
|
|
708
712
|
*/
|
|
709
713
|
securityPolicy?: pulumi.Input<string>;
|
|
710
714
|
/**
|
|
711
|
-
* The security settings that apply to this backend service. This field is applicable to either
|
|
712
|
-
* with the
|
|
713
|
-
* backend service with the
|
|
715
|
+
* The security settings that apply to this backend service. This field is applicable to either
|
|
716
|
+
* a regional backend service with the serviceProtocol set to HTTP, HTTPS, or HTTP2, and
|
|
717
|
+
* loadBalancingScheme set to INTERNAL_MANAGED; or a global backend service with the
|
|
718
|
+
* loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
|
719
|
+
* Structure is documented below.
|
|
714
720
|
*/
|
|
715
721
|
securitySettings?: pulumi.Input<inputs.compute.BackendServiceSecuritySettings>;
|
|
716
722
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backendService.js","sourceRoot":"","sources":["../../compute/backendService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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B;AACO,2BAAY,GAAG,2CAA2C,CAAC"}
|
package/compute/firewall.d.ts
CHANGED
|
@@ -64,6 +64,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
64
64
|
* description: "Creates firewall rule targeting tagged instances",
|
|
65
65
|
* network: "default",
|
|
66
66
|
* project: "my-project-name",
|
|
67
|
+
* sourceTags: ["foo"],
|
|
67
68
|
* targetTags: ["web"],
|
|
68
69
|
* });
|
|
69
70
|
* ```
|
|
@@ -132,7 +133,8 @@ export declare class Firewall extends pulumi.CustomResource {
|
|
|
132
133
|
* Direction of traffic to which this firewall applies; default is
|
|
133
134
|
* INGRESS. Note: For INGRESS traffic, it is NOT supported to specify
|
|
134
135
|
* destinationRanges; For EGRESS traffic, it is NOT supported to specify
|
|
135
|
-
* sourceRanges OR sourceTags
|
|
136
|
+
* `sourceRanges` OR `sourceTags`. For INGRESS traffic, one of `sourceRanges`,
|
|
137
|
+
* `sourceTags` or `sourceServiceAccounts` is required.
|
|
136
138
|
* Possible values are `INGRESS` and `EGRESS`.
|
|
137
139
|
*/
|
|
138
140
|
readonly direction: pulumi.Output<string>;
|
|
@@ -198,7 +200,7 @@ export declare class Firewall extends pulumi.CustomResource {
|
|
|
198
200
|
* connection does not need to match both properties for the firewall to
|
|
199
201
|
* apply. Only IPv4 is supported.
|
|
200
202
|
*/
|
|
201
|
-
readonly sourceRanges: pulumi.Output<string[]>;
|
|
203
|
+
readonly sourceRanges: pulumi.Output<string[] | undefined>;
|
|
202
204
|
/**
|
|
203
205
|
* If source service accounts are specified, the firewall will apply only
|
|
204
206
|
* to traffic originating from an instance with a service account in this
|
|
@@ -286,7 +288,8 @@ export interface FirewallState {
|
|
|
286
288
|
* Direction of traffic to which this firewall applies; default is
|
|
287
289
|
* INGRESS. Note: For INGRESS traffic, it is NOT supported to specify
|
|
288
290
|
* destinationRanges; For EGRESS traffic, it is NOT supported to specify
|
|
289
|
-
* sourceRanges OR sourceTags
|
|
291
|
+
* `sourceRanges` OR `sourceTags`. For INGRESS traffic, one of `sourceRanges`,
|
|
292
|
+
* `sourceTags` or `sourceServiceAccounts` is required.
|
|
290
293
|
* Possible values are `INGRESS` and `EGRESS`.
|
|
291
294
|
*/
|
|
292
295
|
direction?: pulumi.Input<string>;
|
|
@@ -428,7 +431,8 @@ export interface FirewallArgs {
|
|
|
428
431
|
* Direction of traffic to which this firewall applies; default is
|
|
429
432
|
* INGRESS. Note: For INGRESS traffic, it is NOT supported to specify
|
|
430
433
|
* destinationRanges; For EGRESS traffic, it is NOT supported to specify
|
|
431
|
-
* sourceRanges OR sourceTags
|
|
434
|
+
* `sourceRanges` OR `sourceTags`. For INGRESS traffic, one of `sourceRanges`,
|
|
435
|
+
* `sourceTags` or `sourceServiceAccounts` is required.
|
|
432
436
|
* Possible values are `INGRESS` and `EGRESS`.
|
|
433
437
|
*/
|
|
434
438
|
direction?: pulumi.Input<string>;
|
package/compute/firewall.js
CHANGED
package/compute/firewall.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firewall.js","sourceRoot":"","sources":["../../compute/firewall.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"firewall.js","sourceRoot":"","sources":["../../compute/firewall.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoFG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAmL/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,KA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B;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BAyOC;AA3NG,gBAAgB;AACO,qBAAY,GAAG,+BAA+B,CAAC"}
|
|
@@ -94,7 +94,7 @@ export declare class FirewallPolicyRule extends pulumi.CustomResource {
|
|
|
94
94
|
*/
|
|
95
95
|
readonly kind: pulumi.Output<string>;
|
|
96
96
|
/**
|
|
97
|
-
* A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
|
|
97
|
+
* A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. Structure is documented below.
|
|
98
98
|
*/
|
|
99
99
|
readonly match: pulumi.Output<outputs.compute.FirewallPolicyRuleMatch>;
|
|
100
100
|
/**
|
|
@@ -155,7 +155,7 @@ export interface FirewallPolicyRuleState {
|
|
|
155
155
|
*/
|
|
156
156
|
kind?: pulumi.Input<string>;
|
|
157
157
|
/**
|
|
158
|
-
* A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
|
|
158
|
+
* A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. Structure is documented below.
|
|
159
159
|
*/
|
|
160
160
|
match?: pulumi.Input<inputs.compute.FirewallPolicyRuleMatch>;
|
|
161
161
|
/**
|
|
@@ -204,7 +204,7 @@ export interface FirewallPolicyRuleArgs {
|
|
|
204
204
|
*/
|
|
205
205
|
firewallPolicy: pulumi.Input<string>;
|
|
206
206
|
/**
|
|
207
|
-
* A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
|
|
207
|
+
* A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. Structure is documented below.
|
|
208
208
|
*/
|
|
209
209
|
match: pulumi.Input<inputs.compute.FirewallPolicyRuleMatch>;
|
|
210
210
|
/**
|
package/compute/getInstance.d.ts
CHANGED
|
@@ -133,7 +133,7 @@ export interface GetInstanceResult {
|
|
|
133
133
|
readonly reservationAffinities: outputs.compute.GetInstanceReservationAffinity[];
|
|
134
134
|
readonly resourcePolicies: string[];
|
|
135
135
|
/**
|
|
136
|
-
* The scheduling strategy being used by the instance.
|
|
136
|
+
* The scheduling strategy being used by the instance. Structure is documented below
|
|
137
137
|
*/
|
|
138
138
|
readonly schedulings: outputs.compute.GetInstanceScheduling[];
|
|
139
139
|
/**
|
|
@@ -59,7 +59,7 @@ export interface GetInstanceTemplateResult {
|
|
|
59
59
|
*/
|
|
60
60
|
readonly canIpForward: boolean;
|
|
61
61
|
/**
|
|
62
|
-
* Enable [Confidential Mode](https://cloud.google.com/compute/confidential-vm/docs/about-cvm) on this VM.
|
|
62
|
+
* Enable [Confidential Mode](https://cloud.google.com/compute/confidential-vm/docs/about-cvm) on this VM. Structure is documented below
|
|
63
63
|
*/
|
|
64
64
|
readonly confidentialInstanceConfigs: outputs.compute.GetInstanceTemplateConfidentialInstanceConfig[];
|
|
65
65
|
/**
|