File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed
content/docs/esc/integrations/infrastructure/pulumi-iac Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,26 @@ values:
30
30
privateSubnetIds : ${stackRefs.vpcInfra.privateSubnetIds}
31
31
` ` `
32
32
33
+ Where your stack file is for e.g.
34
+ ` ` ` py
35
+ # __main__.py
36
+ import pulumi
37
+ import pulumi_awsx as awsx
38
+
39
+ # Fetch the default VPC for the current AWS region.
40
+ vpc = awsx.ec2.DefaultVpc("default-vpc")
41
+
42
+ # Export a few properties to make them easy to use.
43
+ pulumi.export("vpcId", vpc.vpc_id)
44
+ pulumi.export("publicSubnetIds", vpc.public_subnet_ids)
45
+ pulumi.export("privateSubnetIds", vpc.private_subnet_ids)
46
+ ```
47
+
33
48
## Inputs
34
49
35
- | Property | Type | Description |
36
- |----------|----------------------------------------|-----------------------------------------------|
37
- | ` stacks` | map[string][PulumiStack](#pulumistack) | A map of names to stacks to get outputs from. |
50
+ | Property | Type | Description |
51
+ | ----------| ----------------------------------------| --------------------------------------------------------------------------------------------- |
52
+ | ` stacks ` | map[ string] [ PulumiStack ] (#pulumistack) | A map of names to stacks to get outputs from. The names contains all outputs from the stack |
38
53
39
54
### PulumiStack
40
55
You can’t perform that action at this time.
0 commit comments