Skip to content

Commit

Permalink
Add subnet_cidr_block configuration steps to README (pulumi#958)
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchellGerdisch authored Apr 2, 2021
1 parent f30f6b3 commit 2562461
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gcp-py-network-component/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ can be composed into a higher-level, reusable abstraction.
$ pulumi config set gcp:region us-central1
```

1. Configure one or more subnetwork CIDRs for the program to use
Note: This example is using structured configuration as per [Structured Configuration](https://www.pulumi.com/docs/intro/concepts/config/#structured-configuration)

```bash
$ pulumi config set --path 'subnet_cidr_blocks[0]' 172.1.0.0/16
$ pulumi config set --path 'subnet_cidr_blocks[1]' 172.2.0.0/16
```

1. Run `pulumi up` to preview and deploy the changes:

```bash
Expand Down

0 comments on commit 2562461

Please sign in to comment.