pulumi-random 4.19.0a1764876472__tar.gz → 4.19.0a1764956802__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/PKG-INFO +1 -1
  2. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/pulumi_random/pulumi-plugin.json +1 -1
  3. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/pulumi_random/random_id.py +6 -6
  4. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/pulumi_random/random_integer.py +10 -10
  5. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/pulumi_random/random_password.py +8 -8
  6. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/pulumi_random/random_pet.py +6 -6
  7. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/pulumi_random/random_shuffle.py +2 -2
  8. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/pulumi_random.egg-info/PKG-INFO +1 -1
  9. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/pyproject.toml +1 -1
  10. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/LICENSE +0 -0
  11. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/README.md +0 -0
  12. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/pulumi_random/__init__.py +0 -0
  13. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/pulumi_random/_utilities.py +0 -0
  14. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/pulumi_random/provider.py +0 -0
  15. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/pulumi_random/py.typed +0 -0
  16. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/pulumi_random/random_bytes.py +0 -0
  17. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/pulumi_random/random_string.py +0 -0
  18. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/pulumi_random/random_uuid.py +0 -0
  19. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/pulumi_random.egg-info/SOURCES.txt +0 -0
  20. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/pulumi_random.egg-info/dependency_links.txt +0 -0
  21. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/pulumi_random.egg-info/requires.txt +0 -0
  22. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/pulumi_random.egg-info/top_level.txt +0 -0
  23. {pulumi_random-4.19.0a1764876472 → pulumi_random-4.19.0a1764956802}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi_random
3
- Version: 4.19.0a1764876472
3
+ Version: 4.19.0a1764956802
4
4
  Summary: A Pulumi package to safely use randomness in Pulumi programs.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "random",
4
- "version": "4.19.0-alpha.1764876472"
4
+ "version": "4.19.0-alpha.1764956802"
5
5
  }
@@ -231,11 +231,11 @@ class RandomId(pulumi.CustomResource):
231
231
  "ami_id": ami_id,
232
232
  },
233
233
  byte_length=8)
234
- server_instance = aws.ec2.Instance("server",
234
+ server_instance = aws.index.Instance("server",
235
235
  tags={
236
- "Name": server.hex.apply(lambda hex: f"web-server {hex}"),
236
+ name: fweb-server {server.hex},
237
237
  },
238
- ami=server.keepers["amiId"])
238
+ ami=server.keepers.ami_id)
239
239
  ```
240
240
 
241
241
  ## Import
@@ -300,11 +300,11 @@ class RandomId(pulumi.CustomResource):
300
300
  "ami_id": ami_id,
301
301
  },
302
302
  byte_length=8)
303
- server_instance = aws.ec2.Instance("server",
303
+ server_instance = aws.index.Instance("server",
304
304
  tags={
305
- "Name": server.hex.apply(lambda hex: f"web-server {hex}"),
305
+ name: fweb-server {server.hex},
306
306
  },
307
- ami=server.keepers["amiId"])
307
+ ami=server.keepers.ami_id)
308
308
  ```
309
309
 
310
310
  ## Import
@@ -205,12 +205,12 @@ class RandomInteger(pulumi.CustomResource):
205
205
  keepers={
206
206
  "listener_arn": listener_arn,
207
207
  })
208
- main = aws.alb.ListenerRule("main",
209
- listener_arn=priority.keepers["listenerArn"],
208
+ main = aws.index.AlbListenerRule("main",
209
+ listener_arn=priority.keepers.listener_arn,
210
210
  priority=priority.result,
211
- actions=[{
212
- "type": "forward",
213
- "target_group_arn": target_group_arn,
211
+ action=[{
212
+ type: forward,
213
+ targetGroupArn: target_group_arn,
214
214
  }])
215
215
  ```
216
216
 
@@ -261,12 +261,12 @@ class RandomInteger(pulumi.CustomResource):
261
261
  keepers={
262
262
  "listener_arn": listener_arn,
263
263
  })
264
- main = aws.alb.ListenerRule("main",
265
- listener_arn=priority.keepers["listenerArn"],
264
+ main = aws.index.AlbListenerRule("main",
265
+ listener_arn=priority.keepers.listener_arn,
266
266
  priority=priority.result,
267
- actions=[{
268
- "type": "forward",
269
- "target_group_arn": target_group_arn,
267
+ action=[{
268
+ type: forward,
269
+ targetGroupArn: target_group_arn,
270
270
  }])
271
271
  ```
272
272
 
@@ -486,11 +486,11 @@ class RandomPassword(pulumi.CustomResource):
486
486
  length=16,
487
487
  special=True,
488
488
  override_special="!#$%&*()-_=+[]{}<>:?")
489
- example = aws.rds.Instance("example",
490
- instance_class=aws.rds.InstanceType.T3_MICRO,
489
+ example = aws.index.DbInstance("example",
490
+ instance_class=db.t3.micro,
491
491
  allocated_storage=64,
492
- engine="mysql",
493
- username="someone",
492
+ engine=mysql,
493
+ username=someone,
494
494
  password=password.result)
495
495
  ```
496
496
 
@@ -531,11 +531,11 @@ class RandomPassword(pulumi.CustomResource):
531
531
  length=16,
532
532
  special=True,
533
533
  override_special="!#$%&*()-_=+[]{}<>:?")
534
- example = aws.rds.Instance("example",
535
- instance_class=aws.rds.InstanceType.T3_MICRO,
534
+ example = aws.index.DbInstance("example",
535
+ instance_class=db.t3.micro,
536
536
  allocated_storage=64,
537
- engine="mysql",
538
- username="someone",
537
+ engine=mysql,
538
+ username=someone,
539
539
  password=password.result)
540
540
  ```
541
541
 
@@ -189,11 +189,11 @@ class RandomPet(pulumi.CustomResource):
189
189
  server = random.RandomPet("server", keepers={
190
190
  "ami_id": ami_id,
191
191
  })
192
- server_instance = aws.ec2.Instance("server",
192
+ server_instance = aws.index.Instance("server",
193
193
  tags={
194
- "Name": server.id.apply(lambda id: f"web-server-{id}"),
194
+ name: fweb-server-{server.id},
195
195
  },
196
- ami=server.keepers["amiId"])
196
+ ami=server.keepers.ami_id)
197
197
  ```
198
198
 
199
199
  :param str resource_name: The name of the resource.
@@ -227,11 +227,11 @@ class RandomPet(pulumi.CustomResource):
227
227
  server = random.RandomPet("server", keepers={
228
228
  "ami_id": ami_id,
229
229
  })
230
- server_instance = aws.ec2.Instance("server",
230
+ server_instance = aws.index.Instance("server",
231
231
  tags={
232
- "Name": server.id.apply(lambda id: f"web-server-{id}"),
232
+ name: fweb-server-{server.id},
233
233
  },
234
- ami=server.keepers["amiId"])
234
+ ami=server.keepers.ami_id)
235
235
  ```
236
236
 
237
237
  :param str resource_name: The name of the resource.
@@ -204,7 +204,7 @@ class RandomShuffle(pulumi.CustomResource):
204
204
  "us-west-1e",
205
205
  ],
206
206
  result_count=2)
207
- example = aws.elb.LoadBalancer("example", availability_zones=az.results)
207
+ example = aws.index.Elb("example", availability_zones=az.results)
208
208
  ```
209
209
 
210
210
  :param str resource_name: The name of the resource.
@@ -238,7 +238,7 @@ class RandomShuffle(pulumi.CustomResource):
238
238
  "us-west-1e",
239
239
  ],
240
240
  result_count=2)
241
- example = aws.elb.LoadBalancer("example", availability_zones=az.results)
241
+ example = aws.index.Elb("example", availability_zones=az.results)
242
242
  ```
243
243
 
244
244
  :param str resource_name: The name of the resource.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi_random
3
- Version: 4.19.0a1764876472
3
+ Version: 4.19.0a1764956802
4
4
  Summary: A Pulumi package to safely use randomness in Pulumi programs.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -5,7 +5,7 @@
5
5
  keywords = ["pulumi", "random"]
6
6
  readme = "README.md"
7
7
  requires-python = ">=3.9"
8
- version = "4.19.0a1764876472"
8
+ version = "4.19.0a1764956802"
9
9
  [project.license]
10
10
  text = "Apache-2.0"
11
11
  [project.urls]