@pulumi/cloudflare 6.10.0 → 6.10.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/cloudflare",
3
- "version": "6.10.0",
3
+ "version": "6.10.1",
4
4
  "description": "A Pulumi package for creating and managing Cloudflare cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -23,6 +23,6 @@
23
23
  "pulumi": {
24
24
  "resource": true,
25
25
  "name": "cloudflare",
26
- "version": "6.10.0"
26
+ "version": "6.10.1"
27
27
  }
28
28
  }
package/pagesProject.d.ts CHANGED
@@ -6,6 +6,8 @@ import * as outputs from "./types/output";
6
6
  * connected GitHub or GitLab account connected to Cloudflare. See the
7
7
  * [Getting Started with Pages] documentation on how to link your accounts.
8
8
  *
9
+ * ## Example Usage
10
+ *
9
11
  * ## Import
10
12
  *
11
13
  * !> It is not possible to import a pages project with secret environment variables. If you have a secret environment variable, you must remove it from your project before importing it.
package/pagesProject.js CHANGED
@@ -10,6 +10,8 @@ const utilities = require("./utilities");
10
10
  * connected GitHub or GitLab account connected to Cloudflare. See the
11
11
  * [Getting Started with Pages] documentation on how to link your accounts.
12
12
  *
13
+ * ## Example Usage
14
+ *
13
15
  * ## Import
14
16
  *
15
17
  * !> It is not possible to import a pages project with secret environment variables. If you have a secret environment variable, you must remove it from your project before importing it.
@@ -1 +1 @@
1
- {"version":3,"file":"pagesProject.js","sourceRoot":"","sources":["../pagesProject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CA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S,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AApHL,oCAqHC;AAvGG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
package/types/input.d.ts CHANGED
@@ -11174,6 +11174,123 @@ export interface WorkerScriptLimits {
11174
11174
  */
11175
11175
  cpuMs?: pulumi.Input<number>;
11176
11176
  }
11177
+ export interface WorkerScriptMigrations {
11178
+ /**
11179
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11180
+ * A list of classes to delete Durable Object namespaces from.
11181
+ */
11182
+ deletedClasses?: pulumi.Input<pulumi.Input<string>[]>;
11183
+ /**
11184
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11185
+ * A list of classes to create Durable Object namespaces from.
11186
+ */
11187
+ newClasses?: pulumi.Input<pulumi.Input<string>[]>;
11188
+ /**
11189
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11190
+ * A list of classes to create Durable Object namespaces with SQLite from.
11191
+ */
11192
+ newSqliteClasses?: pulumi.Input<pulumi.Input<string>[]>;
11193
+ /**
11194
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11195
+ * Tag to set as the latest migration tag.
11196
+ */
11197
+ newTag?: pulumi.Input<string>;
11198
+ /**
11199
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11200
+ * Tag used to verify against the latest migration tag for this Worker. If they don't match, the upload is rejected.
11201
+ */
11202
+ oldTag?: pulumi.Input<string>;
11203
+ /**
11204
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11205
+ * A list of classes with Durable Object namespaces that were renamed.
11206
+ */
11207
+ renamedClasses?: pulumi.Input<pulumi.Input<inputs.WorkerScriptMigrationsRenamedClass>[]>;
11208
+ /**
11209
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11210
+ * Migrations to apply in order.
11211
+ */
11212
+ steps?: pulumi.Input<pulumi.Input<inputs.WorkerScriptMigrationsStep>[]>;
11213
+ /**
11214
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11215
+ * A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
11216
+ */
11217
+ transferredClasses?: pulumi.Input<pulumi.Input<inputs.WorkerScriptMigrationsTransferredClass>[]>;
11218
+ }
11219
+ export interface WorkerScriptMigrationsRenamedClass {
11220
+ /**
11221
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11222
+ */
11223
+ from?: pulumi.Input<string>;
11224
+ /**
11225
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11226
+ */
11227
+ to?: pulumi.Input<string>;
11228
+ }
11229
+ export interface WorkerScriptMigrationsStep {
11230
+ /**
11231
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11232
+ * A list of classes to delete Durable Object namespaces from.
11233
+ */
11234
+ deletedClasses?: pulumi.Input<pulumi.Input<string>[]>;
11235
+ /**
11236
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11237
+ * A list of classes to create Durable Object namespaces from.
11238
+ */
11239
+ newClasses?: pulumi.Input<pulumi.Input<string>[]>;
11240
+ /**
11241
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11242
+ * A list of classes to create Durable Object namespaces with SQLite from.
11243
+ */
11244
+ newSqliteClasses?: pulumi.Input<pulumi.Input<string>[]>;
11245
+ /**
11246
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11247
+ * A list of classes with Durable Object namespaces that were renamed.
11248
+ */
11249
+ renamedClasses?: pulumi.Input<pulumi.Input<inputs.WorkerScriptMigrationsStepRenamedClass>[]>;
11250
+ /**
11251
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11252
+ * A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
11253
+ */
11254
+ transferredClasses?: pulumi.Input<pulumi.Input<inputs.WorkerScriptMigrationsStepTransferredClass>[]>;
11255
+ }
11256
+ export interface WorkerScriptMigrationsStepRenamedClass {
11257
+ /**
11258
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11259
+ */
11260
+ from?: pulumi.Input<string>;
11261
+ /**
11262
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11263
+ */
11264
+ to?: pulumi.Input<string>;
11265
+ }
11266
+ export interface WorkerScriptMigrationsStepTransferredClass {
11267
+ /**
11268
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11269
+ */
11270
+ from?: pulumi.Input<string>;
11271
+ /**
11272
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11273
+ */
11274
+ fromScript?: pulumi.Input<string>;
11275
+ /**
11276
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11277
+ */
11278
+ to?: pulumi.Input<string>;
11279
+ }
11280
+ export interface WorkerScriptMigrationsTransferredClass {
11281
+ /**
11282
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11283
+ */
11284
+ from?: pulumi.Input<string>;
11285
+ /**
11286
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11287
+ */
11288
+ fromScript?: pulumi.Input<string>;
11289
+ /**
11290
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11291
+ */
11292
+ to?: pulumi.Input<string>;
11293
+ }
11177
11294
  export interface WorkerScriptNamedHandler {
11178
11295
  /**
11179
11296
  * The names of handlers exported as part of the named export.
@@ -11806,6 +11923,123 @@ export interface WorkersScriptLimits {
11806
11923
  */
11807
11924
  cpuMs?: pulumi.Input<number>;
11808
11925
  }
11926
+ export interface WorkersScriptMigrations {
11927
+ /**
11928
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11929
+ * A list of classes to delete Durable Object namespaces from.
11930
+ */
11931
+ deletedClasses?: pulumi.Input<pulumi.Input<string>[]>;
11932
+ /**
11933
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11934
+ * A list of classes to create Durable Object namespaces from.
11935
+ */
11936
+ newClasses?: pulumi.Input<pulumi.Input<string>[]>;
11937
+ /**
11938
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11939
+ * A list of classes to create Durable Object namespaces with SQLite from.
11940
+ */
11941
+ newSqliteClasses?: pulumi.Input<pulumi.Input<string>[]>;
11942
+ /**
11943
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11944
+ * Tag to set as the latest migration tag.
11945
+ */
11946
+ newTag?: pulumi.Input<string>;
11947
+ /**
11948
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11949
+ * Tag used to verify against the latest migration tag for this Worker. If they don't match, the upload is rejected.
11950
+ */
11951
+ oldTag?: pulumi.Input<string>;
11952
+ /**
11953
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11954
+ * A list of classes with Durable Object namespaces that were renamed.
11955
+ */
11956
+ renamedClasses?: pulumi.Input<pulumi.Input<inputs.WorkersScriptMigrationsRenamedClass>[]>;
11957
+ /**
11958
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11959
+ * Migrations to apply in order.
11960
+ */
11961
+ steps?: pulumi.Input<pulumi.Input<inputs.WorkersScriptMigrationsStep>[]>;
11962
+ /**
11963
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11964
+ * A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
11965
+ */
11966
+ transferredClasses?: pulumi.Input<pulumi.Input<inputs.WorkersScriptMigrationsTransferredClass>[]>;
11967
+ }
11968
+ export interface WorkersScriptMigrationsRenamedClass {
11969
+ /**
11970
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11971
+ */
11972
+ from?: pulumi.Input<string>;
11973
+ /**
11974
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11975
+ */
11976
+ to?: pulumi.Input<string>;
11977
+ }
11978
+ export interface WorkersScriptMigrationsStep {
11979
+ /**
11980
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11981
+ * A list of classes to delete Durable Object namespaces from.
11982
+ */
11983
+ deletedClasses?: pulumi.Input<pulumi.Input<string>[]>;
11984
+ /**
11985
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11986
+ * A list of classes to create Durable Object namespaces from.
11987
+ */
11988
+ newClasses?: pulumi.Input<pulumi.Input<string>[]>;
11989
+ /**
11990
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11991
+ * A list of classes to create Durable Object namespaces with SQLite from.
11992
+ */
11993
+ newSqliteClasses?: pulumi.Input<pulumi.Input<string>[]>;
11994
+ /**
11995
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11996
+ * A list of classes with Durable Object namespaces that were renamed.
11997
+ */
11998
+ renamedClasses?: pulumi.Input<pulumi.Input<inputs.WorkersScriptMigrationsStepRenamedClass>[]>;
11999
+ /**
12000
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
12001
+ * A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
12002
+ */
12003
+ transferredClasses?: pulumi.Input<pulumi.Input<inputs.WorkersScriptMigrationsStepTransferredClass>[]>;
12004
+ }
12005
+ export interface WorkersScriptMigrationsStepRenamedClass {
12006
+ /**
12007
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
12008
+ */
12009
+ from?: pulumi.Input<string>;
12010
+ /**
12011
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
12012
+ */
12013
+ to?: pulumi.Input<string>;
12014
+ }
12015
+ export interface WorkersScriptMigrationsStepTransferredClass {
12016
+ /**
12017
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
12018
+ */
12019
+ from?: pulumi.Input<string>;
12020
+ /**
12021
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
12022
+ */
12023
+ fromScript?: pulumi.Input<string>;
12024
+ /**
12025
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
12026
+ */
12027
+ to?: pulumi.Input<string>;
12028
+ }
12029
+ export interface WorkersScriptMigrationsTransferredClass {
12030
+ /**
12031
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
12032
+ */
12033
+ from?: pulumi.Input<string>;
12034
+ /**
12035
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
12036
+ */
12037
+ fromScript?: pulumi.Input<string>;
12038
+ /**
12039
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
12040
+ */
12041
+ to?: pulumi.Input<string>;
12042
+ }
11809
12043
  export interface WorkersScriptNamedHandler {
11810
12044
  /**
11811
12045
  * The names of handlers exported as part of the named export.
package/types/output.d.ts CHANGED
@@ -31151,6 +31151,123 @@ export interface WorkerScriptLimits {
31151
31151
  */
31152
31152
  cpuMs?: number;
31153
31153
  }
31154
+ export interface WorkerScriptMigrations {
31155
+ /**
31156
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31157
+ * A list of classes to delete Durable Object namespaces from.
31158
+ */
31159
+ deletedClasses?: string[];
31160
+ /**
31161
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31162
+ * A list of classes to create Durable Object namespaces from.
31163
+ */
31164
+ newClasses?: string[];
31165
+ /**
31166
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31167
+ * A list of classes to create Durable Object namespaces with SQLite from.
31168
+ */
31169
+ newSqliteClasses?: string[];
31170
+ /**
31171
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31172
+ * Tag to set as the latest migration tag.
31173
+ */
31174
+ newTag?: string;
31175
+ /**
31176
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31177
+ * Tag used to verify against the latest migration tag for this Worker. If they don't match, the upload is rejected.
31178
+ */
31179
+ oldTag?: string;
31180
+ /**
31181
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31182
+ * A list of classes with Durable Object namespaces that were renamed.
31183
+ */
31184
+ renamedClasses?: outputs.WorkerScriptMigrationsRenamedClass[];
31185
+ /**
31186
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31187
+ * Migrations to apply in order.
31188
+ */
31189
+ steps?: outputs.WorkerScriptMigrationsStep[];
31190
+ /**
31191
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31192
+ * A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
31193
+ */
31194
+ transferredClasses?: outputs.WorkerScriptMigrationsTransferredClass[];
31195
+ }
31196
+ export interface WorkerScriptMigrationsRenamedClass {
31197
+ /**
31198
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31199
+ */
31200
+ from?: string;
31201
+ /**
31202
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31203
+ */
31204
+ to?: string;
31205
+ }
31206
+ export interface WorkerScriptMigrationsStep {
31207
+ /**
31208
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31209
+ * A list of classes to delete Durable Object namespaces from.
31210
+ */
31211
+ deletedClasses?: string[];
31212
+ /**
31213
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31214
+ * A list of classes to create Durable Object namespaces from.
31215
+ */
31216
+ newClasses?: string[];
31217
+ /**
31218
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31219
+ * A list of classes to create Durable Object namespaces with SQLite from.
31220
+ */
31221
+ newSqliteClasses?: string[];
31222
+ /**
31223
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31224
+ * A list of classes with Durable Object namespaces that were renamed.
31225
+ */
31226
+ renamedClasses?: outputs.WorkerScriptMigrationsStepRenamedClass[];
31227
+ /**
31228
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31229
+ * A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
31230
+ */
31231
+ transferredClasses?: outputs.WorkerScriptMigrationsStepTransferredClass[];
31232
+ }
31233
+ export interface WorkerScriptMigrationsStepRenamedClass {
31234
+ /**
31235
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31236
+ */
31237
+ from?: string;
31238
+ /**
31239
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31240
+ */
31241
+ to?: string;
31242
+ }
31243
+ export interface WorkerScriptMigrationsStepTransferredClass {
31244
+ /**
31245
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31246
+ */
31247
+ from?: string;
31248
+ /**
31249
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31250
+ */
31251
+ fromScript?: string;
31252
+ /**
31253
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31254
+ */
31255
+ to?: string;
31256
+ }
31257
+ export interface WorkerScriptMigrationsTransferredClass {
31258
+ /**
31259
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31260
+ */
31261
+ from?: string;
31262
+ /**
31263
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31264
+ */
31265
+ fromScript?: string;
31266
+ /**
31267
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31268
+ */
31269
+ to?: string;
31270
+ }
31154
31271
  export interface WorkerScriptNamedHandler {
31155
31272
  /**
31156
31273
  * The names of handlers exported as part of the named export.
@@ -31783,6 +31900,123 @@ export interface WorkersScriptLimits {
31783
31900
  */
31784
31901
  cpuMs?: number;
31785
31902
  }
31903
+ export interface WorkersScriptMigrations {
31904
+ /**
31905
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31906
+ * A list of classes to delete Durable Object namespaces from.
31907
+ */
31908
+ deletedClasses?: string[];
31909
+ /**
31910
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31911
+ * A list of classes to create Durable Object namespaces from.
31912
+ */
31913
+ newClasses?: string[];
31914
+ /**
31915
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31916
+ * A list of classes to create Durable Object namespaces with SQLite from.
31917
+ */
31918
+ newSqliteClasses?: string[];
31919
+ /**
31920
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31921
+ * Tag to set as the latest migration tag.
31922
+ */
31923
+ newTag?: string;
31924
+ /**
31925
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31926
+ * Tag used to verify against the latest migration tag for this Worker. If they don't match, the upload is rejected.
31927
+ */
31928
+ oldTag?: string;
31929
+ /**
31930
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31931
+ * A list of classes with Durable Object namespaces that were renamed.
31932
+ */
31933
+ renamedClasses?: outputs.WorkersScriptMigrationsRenamedClass[];
31934
+ /**
31935
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31936
+ * Migrations to apply in order.
31937
+ */
31938
+ steps?: outputs.WorkersScriptMigrationsStep[];
31939
+ /**
31940
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31941
+ * A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
31942
+ */
31943
+ transferredClasses?: outputs.WorkersScriptMigrationsTransferredClass[];
31944
+ }
31945
+ export interface WorkersScriptMigrationsRenamedClass {
31946
+ /**
31947
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31948
+ */
31949
+ from?: string;
31950
+ /**
31951
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31952
+ */
31953
+ to?: string;
31954
+ }
31955
+ export interface WorkersScriptMigrationsStep {
31956
+ /**
31957
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31958
+ * A list of classes to delete Durable Object namespaces from.
31959
+ */
31960
+ deletedClasses?: string[];
31961
+ /**
31962
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31963
+ * A list of classes to create Durable Object namespaces from.
31964
+ */
31965
+ newClasses?: string[];
31966
+ /**
31967
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31968
+ * A list of classes to create Durable Object namespaces with SQLite from.
31969
+ */
31970
+ newSqliteClasses?: string[];
31971
+ /**
31972
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31973
+ * A list of classes with Durable Object namespaces that were renamed.
31974
+ */
31975
+ renamedClasses?: outputs.WorkersScriptMigrationsStepRenamedClass[];
31976
+ /**
31977
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31978
+ * A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
31979
+ */
31980
+ transferredClasses?: outputs.WorkersScriptMigrationsStepTransferredClass[];
31981
+ }
31982
+ export interface WorkersScriptMigrationsStepRenamedClass {
31983
+ /**
31984
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31985
+ */
31986
+ from?: string;
31987
+ /**
31988
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31989
+ */
31990
+ to?: string;
31991
+ }
31992
+ export interface WorkersScriptMigrationsStepTransferredClass {
31993
+ /**
31994
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31995
+ */
31996
+ from?: string;
31997
+ /**
31998
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
31999
+ */
32000
+ fromScript?: string;
32001
+ /**
32002
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
32003
+ */
32004
+ to?: string;
32005
+ }
32006
+ export interface WorkersScriptMigrationsTransferredClass {
32007
+ /**
32008
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
32009
+ */
32010
+ from?: string;
32011
+ /**
32012
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
32013
+ */
32014
+ fromScript?: string;
32015
+ /**
32016
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
32017
+ */
32018
+ to?: string;
32019
+ }
31786
32020
  export interface WorkersScriptNamedHandler {
31787
32021
  /**
31788
32022
  * The names of handlers exported as part of the named export.
package/workerScript.d.ts CHANGED
@@ -4,6 +4,8 @@ import * as outputs from "./types/output";
4
4
  /**
5
5
  * !> This resource is no longer recommended. Please use the `cloudflare.Worker`, `cloudflare.WorkerVersion`, and `cloudflare.WorkersDeployment` resources instead. See how to use them in the [developer documentation](https://developers.cloudflare.com/workers/platform/infrastructure-as-code/).
6
6
  *
7
+ * ## Example Usage
8
+ *
7
9
  * ## Import
8
10
  *
9
11
  * ```sh
@@ -116,6 +118,11 @@ export declare class WorkerScript extends pulumi.CustomResource {
116
118
  * The tag of the Durable Object migration that was most recently applied for this Worker.
117
119
  */
118
120
  readonly migrationTag: pulumi.Output<string>;
121
+ /**
122
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
123
+ * Migrations to apply for Durable Objects associated with this Worker.
124
+ */
125
+ readonly migrations: pulumi.Output<outputs.WorkerScriptMigrations | undefined>;
119
126
  /**
120
127
  * When the script was last modified.
121
128
  */
@@ -248,6 +255,11 @@ export interface WorkerScriptState {
248
255
  * The tag of the Durable Object migration that was most recently applied for this Worker.
249
256
  */
250
257
  migrationTag?: pulumi.Input<string>;
258
+ /**
259
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
260
+ * Migrations to apply for Durable Objects associated with this Worker.
261
+ */
262
+ migrations?: pulumi.Input<inputs.WorkerScriptMigrations>;
251
263
  /**
252
264
  * When the script was last modified.
253
265
  */
@@ -343,6 +355,11 @@ export interface WorkerScriptArgs {
343
355
  * Name of the uploaded file that contains the main module (e.g. the file exporting a `fetch` handler). Indicates a `module syntax` Worker.
344
356
  */
345
357
  mainModule?: pulumi.Input<string>;
358
+ /**
359
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
360
+ * Migrations to apply for Durable Objects associated with this Worker.
361
+ */
362
+ migrations?: pulumi.Input<inputs.WorkerScriptMigrations>;
346
363
  /**
347
364
  * Observability settings for the Worker.
348
365
  */
package/workerScript.js CHANGED
@@ -8,6 +8,8 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * !> This resource is no longer recommended. Please use the `cloudflare.Worker`, `cloudflare.WorkerVersion`, and `cloudflare.WorkersDeployment` resources instead. See how to use them in the [developer documentation](https://developers.cloudflare.com/workers/platform/infrastructure-as-code/).
10
10
  *
11
+ * ## Example Usage
12
+ *
11
13
  * ## Import
12
14
  *
13
15
  * ```sh
@@ -69,6 +71,7 @@ class WorkerScript extends pulumi.CustomResource {
69
71
  resourceInputs["logpush"] = state?.logpush;
70
72
  resourceInputs["mainModule"] = state?.mainModule;
71
73
  resourceInputs["migrationTag"] = state?.migrationTag;
74
+ resourceInputs["migrations"] = state?.migrations;
72
75
  resourceInputs["modifiedOn"] = state?.modifiedOn;
73
76
  resourceInputs["namedHandlers"] = state?.namedHandlers;
74
77
  resourceInputs["observability"] = state?.observability;
@@ -101,6 +104,7 @@ class WorkerScript extends pulumi.CustomResource {
101
104
  resourceInputs["limits"] = args?.limits;
102
105
  resourceInputs["logpush"] = args?.logpush;
103
106
  resourceInputs["mainModule"] = args?.mainModule;
107
+ resourceInputs["migrations"] = args?.migrations ? pulumi.secret(args.migrations) : undefined;
104
108
  resourceInputs["observability"] = args?.observability;
105
109
  resourceInputs["placement"] = args?.placement;
106
110
  resourceInputs["scriptName"] = args?.scriptName;
@@ -120,6 +124,8 @@ class WorkerScript extends pulumi.CustomResource {
120
124
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
121
125
  const aliasOpts = { aliases: [{ type: "cloudflare:index/workerScript:WorkerScript" }] };
122
126
  opts = pulumi.mergeOptions(opts, aliasOpts);
127
+ const secretOpts = { additionalSecretOutputs: ["migrations"] };
128
+ opts = pulumi.mergeOptions(opts, secretOpts);
123
129
  super(WorkerScript.__pulumiType, name, resourceInputs, opts);
124
130
  }
125
131
  }
@@ -1 +1 @@
1
- {"version":3,"file":"workerScript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PL,oCAuPC;AAxOG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
@@ -4,6 +4,8 @@ import * as outputs from "./types/output";
4
4
  /**
5
5
  * !> This resource is no longer recommended. Please use the `cloudflare.Worker`, `cloudflare.WorkerVersion`, and `cloudflare.WorkersDeployment` resources instead. See how to use them in the [developer documentation](https://developers.cloudflare.com/workers/platform/infrastructure-as-code/).
6
6
  *
7
+ * ## Example Usage
8
+ *
7
9
  * ## Import
8
10
  *
9
11
  * ```sh
@@ -114,6 +116,11 @@ export declare class WorkersScript extends pulumi.CustomResource {
114
116
  * The tag of the Durable Object migration that was most recently applied for this Worker.
115
117
  */
116
118
  readonly migrationTag: pulumi.Output<string>;
119
+ /**
120
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
121
+ * Migrations to apply for Durable Objects associated with this Worker.
122
+ */
123
+ readonly migrations: pulumi.Output<outputs.WorkersScriptMigrations | undefined>;
117
124
  /**
118
125
  * When the script was last modified.
119
126
  */
@@ -245,6 +252,11 @@ export interface WorkersScriptState {
245
252
  * The tag of the Durable Object migration that was most recently applied for this Worker.
246
253
  */
247
254
  migrationTag?: pulumi.Input<string>;
255
+ /**
256
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
257
+ * Migrations to apply for Durable Objects associated with this Worker.
258
+ */
259
+ migrations?: pulumi.Input<inputs.WorkersScriptMigrations>;
248
260
  /**
249
261
  * When the script was last modified.
250
262
  */
@@ -340,6 +352,11 @@ export interface WorkersScriptArgs {
340
352
  * Name of the uploaded file that contains the main module (e.g. the file exporting a `fetch` handler). Indicates a `module syntax` Worker.
341
353
  */
342
354
  mainModule?: pulumi.Input<string>;
355
+ /**
356
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
357
+ * Migrations to apply for Durable Objects associated with this Worker.
358
+ */
359
+ migrations?: pulumi.Input<inputs.WorkersScriptMigrations>;
343
360
  /**
344
361
  * Observability settings for the Worker.
345
362
  */
package/workersScript.js CHANGED
@@ -8,6 +8,8 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * !> This resource is no longer recommended. Please use the `cloudflare.Worker`, `cloudflare.WorkerVersion`, and `cloudflare.WorkersDeployment` resources instead. See how to use them in the [developer documentation](https://developers.cloudflare.com/workers/platform/infrastructure-as-code/).
10
10
  *
11
+ * ## Example Usage
12
+ *
11
13
  * ## Import
12
14
  *
13
15
  * ```sh
@@ -64,6 +66,7 @@ class WorkersScript extends pulumi.CustomResource {
64
66
  resourceInputs["logpush"] = state?.logpush;
65
67
  resourceInputs["mainModule"] = state?.mainModule;
66
68
  resourceInputs["migrationTag"] = state?.migrationTag;
69
+ resourceInputs["migrations"] = state?.migrations;
67
70
  resourceInputs["modifiedOn"] = state?.modifiedOn;
68
71
  resourceInputs["namedHandlers"] = state?.namedHandlers;
69
72
  resourceInputs["observability"] = state?.observability;
@@ -96,6 +99,7 @@ class WorkersScript extends pulumi.CustomResource {
96
99
  resourceInputs["limits"] = args?.limits;
97
100
  resourceInputs["logpush"] = args?.logpush;
98
101
  resourceInputs["mainModule"] = args?.mainModule;
102
+ resourceInputs["migrations"] = args?.migrations ? pulumi.secret(args.migrations) : undefined;
99
103
  resourceInputs["observability"] = args?.observability;
100
104
  resourceInputs["placement"] = args?.placement;
101
105
  resourceInputs["scriptName"] = args?.scriptName;
@@ -115,6 +119,8 @@ class WorkersScript extends pulumi.CustomResource {
115
119
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
116
120
  const aliasOpts = { aliases: [{ type: "cloudflare:index/workerScript:WorkerScript" }] };
117
121
  opts = pulumi.mergeOptions(opts, aliasOpts);
122
+ const secretOpts = { additionalSecretOutputs: ["migrations"] };
123
+ opts = pulumi.mergeOptions(opts, secretOpts);
118
124
  super(WorkersScript.__pulumiType, name, resourceInputs, opts);
119
125
  }
120
126
  }
@@ -1 +1 @@
1
- {"version":3,"file":"workersScript.js","sourceRoot":"","sources":["../workersScript.ts"],"names":[],"mappings":";AAAA,sEAAsE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