mirror of https://github.com/pulumi/pulumi.git
15 lines
446 B
Python
15 lines
446 B
Python
|
import pulumi
|
||
|
import pulumi_unknown as unknown
|
||
|
|
||
|
provider = pulumi.providers.Unknown("provider")
|
||
|
main = unknown.index.Main("main",
|
||
|
first=hello,
|
||
|
second={
|
||
|
foo: bar,
|
||
|
})
|
||
|
from_module = []
|
||
|
for range in [{"value": i} for i in range(0, 10)]:
|
||
|
from_module.append(unknown.eks.Example(f"fromModule-{range['value']}", associated_main=main.id))
|
||
|
pulumi.export("mainId", main["id"])
|
||
|
pulumi.export("values", from_module["values"]["first"])
|