mirror of https://github.com/pulumi/pulumi.git
12 lines
337 B
Python
12 lines
337 B
Python
import pulumi
|
|
import pulumi_random as random
|
|
|
|
numbers = []
|
|
for range in [{"value": i} for i in range(0, 2)]:
|
|
numbers.append(random.RandomInteger(f"numbers-{range['value']}",
|
|
min=1,
|
|
max=range["value"],
|
|
seed=f"seed{range['value']}"))
|
|
pulumi.export("first", numbers[0].id)
|
|
pulumi.export("second", numbers[1].id)
|