forked from hashicorp/terraform-provider-google
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added docs for google_netblock_ip_ranges (hashicorp#1416)
- Loading branch information
josemanuelt
committed
Jun 2, 2018
1 parent
53ebfc9
commit 79d2636
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
website/docs/d/datasource_google_netblock_ip_ranges.html.markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
layout: "google" | ||
page_title: "Google: google_netblock_ip_ranges" | ||
sidebar_current: "docs-google-datasource-netblock-ip-ranges" | ||
description: |- | ||
Use this data source to get the IP ranges from the sender policy framework (SPF) record of \_cloud-netblocks.googleusercontent.com | ||
--- | ||
|
||
# google_netblock_ip_ranges | ||
|
||
Use this data source to get the IP ranges from the sender policy framework (SPF) record of \_cloud-netblocks.googleusercontent | ||
|
||
https://cloud.google.com/compute/docs/faq#where_can_i_find_product_name_short_ip_ranges | ||
|
||
## Example Usage | ||
|
||
```tf | ||
data "google_netblock_ip_ranges" "netblock" {} | ||
output "cidr_blocks" { | ||
value = "${data.google_netblock_ip_ranges.netblock.cidr_blocks}" | ||
} | ||
output "cidr_blocks_ip4" { | ||
value = "${data.google_netblock_ip_ranges.netblock.cidr_blocks_ip4}" | ||
} | ||
output "cidr_blocks_ip6" { | ||
value = "${data.google_netblock_ip_ranges.netblock.cidr_blocks_ip6}" | ||
} | ||
``` | ||
|
||
## Attributes Reference | ||
|
||
* `cidr_blocks` - Retrieve list of all CIDR blocks. | ||
|
||
* `cidr_blocks_ip4` - Retrieve list of the IP4 CIDR blocks | ||
|
||
* `cidr_blocks_ip6` - Retrieve list of the IP6 CIDR blocks. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters