File tree 2 files changed +42
-0
lines changed
2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ layout : " google"
3
+ page_title : " Google: google_netblock_ip_ranges"
4
+ sidebar_current : " docs-google-datasource-netblock-ip-ranges"
5
+ description : |-
6
+ Use this data source to get the IP ranges from the sender policy framework (SPF) record of \_cloud-netblocks.googleusercontent.com
7
+ ---
8
+
9
+ # google_netblock_ip_ranges
10
+
11
+ Use this data source to get the IP ranges from the sender policy framework (SPF) record of \_ cloud-netblocks.googleusercontent
12
+
13
+ https://cloud.google.com/compute/docs/faq#where_can_i_find_product_name_short_ip_ranges
14
+
15
+ ## Example Usage
16
+
17
+ ``` tf
18
+ data "google_netblock_ip_ranges" "netblock" {}
19
+
20
+ output "cidr_blocks" {
21
+ value = "${data.google_netblock_ip_ranges.netblock.cidr_blocks}"
22
+ }
23
+
24
+ output "cidr_blocks_ip4" {
25
+ value = "${data.google_netblock_ip_ranges.netblock.cidr_blocks_ip4}"
26
+ }
27
+
28
+ output "cidr_blocks_ip6" {
29
+ value = "${data.google_netblock_ip_ranges.netblock.cidr_blocks_ip6}"
30
+ }
31
+ ```
32
+
33
+ ## Attributes Reference
34
+
35
+ * ` cidr_blocks ` - Retrieve list of all CIDR blocks.
36
+
37
+ * ` cidr_blocks_ip4 ` - Retrieve list of the IP4 CIDR blocks
38
+
39
+ * ` cidr_blocks_ip6 ` - Retrieve list of the IP6 CIDR blocks.
Original file line number Diff line number Diff line change 92
92
< li <%= sidebar_current ( "docs-google-kms-secret" ) %> >
93
93
< a href ="/docs/providers/google/d/google_kms_secret.html "> google_kms_secret</ a >
94
94
</ li >
95
+ < li <%= sidebar_current ( "docs-google-datasource-netblock-ip-ranges" ) %> >
96
+ < a href ="/docs/providers/google/d/datasource_google_netblock_ip_ranges.html "> google_netblock_ip_ranges</ a >
97
+ </ li >
95
98
< li <%= sidebar_current ( "docs-google-datasource-organization" ) %> >
96
99
< a href ="/docs/providers/google/d/google_organization.html "> google_organization</ a >
97
100
</ li >
You can’t perform that action at this time.
0 commit comments