mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-04 17:51:11 +00:00
Add Open in Cloud Shell links to docs (#2269)
<!-- This change is generated by MagicModules. --> /cc @rileykarson
This commit is contained in:
parent
4161ebf0c1
commit
aa0c53245e
@ -43,13 +43,27 @@ To get more information about Address, see:
|
|||||||
* [Reserving a Static External IP Address](https://cloud.google.com/compute/docs/instances-and-network)
|
* [Reserving a Static External IP Address](https://cloud.google.com/compute/docs/instances-and-network)
|
||||||
* [Reserving a Static Internal IP Address](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address)
|
* [Reserving a Static Internal IP Address](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=address_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Address Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_address" "ip_address" {
|
resource "google_compute_address" "ip_address" {
|
||||||
name = "my-address"
|
name = "my-address"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=address_with_subnetwork&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Address With Subnetwork
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_network" "default" {
|
resource "google_compute_network" "default" {
|
||||||
name = "my-network"
|
name = "my-network"
|
||||||
@ -70,6 +84,14 @@ resource "google_compute_address" "internal_with_subnet_and_address" {
|
|||||||
region = "us-central1"
|
region = "us-central1"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=instance_with_ip&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Instance With Ip
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_address" "static" {
|
resource "google_compute_address" "static" {
|
||||||
name = "ipv4-address"
|
name = "ipv4-address"
|
||||||
|
@ -34,7 +34,13 @@ To get more information about Autoscaler, see:
|
|||||||
* How-to Guides
|
* How-to Guides
|
||||||
* [Autoscaling Groups of Instances](https://cloud.google.com/compute/docs/autoscaler/)
|
* [Autoscaling Groups of Instances](https://cloud.google.com/compute/docs/autoscaler/)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=autoscaler_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Autoscaler Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_autoscaler" "foobar" {
|
resource "google_compute_autoscaler" "foobar" {
|
||||||
|
@ -37,7 +37,13 @@ To get more information about BackendBucket, see:
|
|||||||
* How-to Guides
|
* How-to Guides
|
||||||
* [Using a Cloud Storage bucket as a load balancer backend](https://cloud.google.com/compute/docs/load-balancing/http/backend-bucket)
|
* [Using a Cloud Storage bucket as a load balancer backend](https://cloud.google.com/compute/docs/load-balancing/http/backend-bucket)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=backend_bucket_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Backend Bucket Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_backend_bucket" "image_backend" {
|
resource "google_compute_backend_bucket" "image_backend" {
|
||||||
|
@ -49,7 +49,13 @@ To get more information about Disk, see:
|
|||||||
state as plain-text.
|
state as plain-text.
|
||||||
[Read more about sensitive data in state](/docs/state/sensitive-data.html).
|
[Read more about sensitive data in state](/docs/state/sensitive-data.html).
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=disk_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Disk Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_disk" "default" {
|
resource "google_compute_disk" "default" {
|
||||||
|
@ -42,7 +42,13 @@ To get more information about Firewall, see:
|
|||||||
* How-to Guides
|
* How-to Guides
|
||||||
* [Official Documentation](https://cloud.google.com/vpc/docs/firewalls)
|
* [Official Documentation](https://cloud.google.com/vpc/docs/firewalls)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=firewall_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Firewall Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_firewall" "default" {
|
resource "google_compute_firewall" "default" {
|
||||||
|
@ -32,7 +32,13 @@ To get more information about ForwardingRule, see:
|
|||||||
* How-to Guides
|
* How-to Guides
|
||||||
* [Official Documentation](https://cloud.google.com/compute/docs/load-balancing/network/forwarding-rules)
|
* [Official Documentation](https://cloud.google.com/compute/docs/load-balancing/network/forwarding-rules)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=forwarding_rule_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Forwarding Rule Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_forwarding_rule" "default" {
|
resource "google_compute_forwarding_rule" "default" {
|
||||||
|
@ -31,7 +31,13 @@ To get more information about GlobalAddress, see:
|
|||||||
* How-to Guides
|
* How-to Guides
|
||||||
* [Reserving a Static External IP Address](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-external-ip-address)
|
* [Reserving a Static External IP Address](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-external-ip-address)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=global_address_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Global Address Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_global_address" "default" {
|
resource "google_compute_global_address" "default" {
|
||||||
|
@ -40,7 +40,13 @@ To get more information about HealthCheck, see:
|
|||||||
* How-to Guides
|
* How-to Guides
|
||||||
* [Official Documentation](https://cloud.google.com/load-balancing/docs/health-checks)
|
* [Official Documentation](https://cloud.google.com/load-balancing/docs/health-checks)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=health_check_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Health Check Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_health_check" "internal-health-check" {
|
resource "google_compute_health_check" "internal-health-check" {
|
||||||
|
@ -38,7 +38,13 @@ To get more information about HttpHealthCheck, see:
|
|||||||
* How-to Guides
|
* How-to Guides
|
||||||
* [Adding Health Checks](https://cloud.google.com/compute/docs/load-balancing/health-checks#legacy_health_checks)
|
* [Adding Health Checks](https://cloud.google.com/compute/docs/load-balancing/health-checks#legacy_health_checks)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=http_health_check_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Http Health Check Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_http_health_check" "default" {
|
resource "google_compute_http_health_check" "default" {
|
||||||
|
@ -38,7 +38,13 @@ To get more information about HttpsHealthCheck, see:
|
|||||||
* How-to Guides
|
* How-to Guides
|
||||||
* [Adding Health Checks](https://cloud.google.com/compute/docs/load-balancing/health-checks#legacy_health_checks)
|
* [Adding Health Checks](https://cloud.google.com/compute/docs/load-balancing/health-checks#legacy_health_checks)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=https_health_check_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Https Health Check Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_https_health_check" "default" {
|
resource "google_compute_https_health_check" "default" {
|
||||||
|
@ -34,7 +34,13 @@ To get more information about RegionAutoscaler, see:
|
|||||||
* How-to Guides
|
* How-to Guides
|
||||||
* [Autoscaling Groups of Instances](https://cloud.google.com/compute/docs/autoscaler/)
|
* [Autoscaling Groups of Instances](https://cloud.google.com/compute/docs/autoscaler/)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=region_autoscaler_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Region Autoscaler Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_region_autoscaler" "foobar" {
|
resource "google_compute_region_autoscaler" "foobar" {
|
||||||
|
@ -49,7 +49,13 @@ To get more information about RegionDisk, see:
|
|||||||
state as plain-text.
|
state as plain-text.
|
||||||
[Read more about sensitive data in state](/docs/state/sensitive-data.html).
|
[Read more about sensitive data in state](/docs/state/sensitive-data.html).
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=region_disk_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Region Disk Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_region_disk" "regiondisk" {
|
resource "google_compute_region_disk" "regiondisk" {
|
||||||
|
@ -50,7 +50,13 @@ To get more information about Route, see:
|
|||||||
* How-to Guides
|
* How-to Guides
|
||||||
* [Using Routes](https://cloud.google.com/vpc/docs/using-routes)
|
* [Using Routes](https://cloud.google.com/vpc/docs/using-routes)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=route_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Route Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_route" "default" {
|
resource "google_compute_route" "default" {
|
||||||
|
@ -30,7 +30,13 @@ To get more information about Router, see:
|
|||||||
* How-to Guides
|
* How-to Guides
|
||||||
* [Google Cloud Router](https://cloud.google.com/router/docs/)
|
* [Google Cloud Router](https://cloud.google.com/router/docs/)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=router_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Router Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_router" "foobar" {
|
resource "google_compute_router" "foobar" {
|
||||||
|
@ -32,7 +32,13 @@ To get more information about SslCertificate, see:
|
|||||||
* How-to Guides
|
* How-to Guides
|
||||||
* [Official Documentation](https://cloud.google.com/load-balancing/docs/ssl-certificates)
|
* [Official Documentation](https://cloud.google.com/load-balancing/docs/ssl-certificates)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=ssl_certificate_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Ssl Certificate Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_ssl_certificate" "default" {
|
resource "google_compute_ssl_certificate" "default" {
|
||||||
@ -46,6 +52,14 @@ resource "google_compute_ssl_certificate" "default" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=ssl_certificate_random_provider&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Ssl Certificate Random Provider
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
# You may also want to control name generation explicitly:
|
# You may also want to control name generation explicitly:
|
||||||
resource "google_compute_ssl_certificate" "default" {
|
resource "google_compute_ssl_certificate" "default" {
|
||||||
@ -71,6 +85,14 @@ resource "random_id" "certificate" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=ssl_certificate_target_https_proxies&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Ssl Certificate Target Https Proxies
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
// Using with Target HTTPS Proxies
|
// Using with Target HTTPS Proxies
|
||||||
//
|
//
|
||||||
|
@ -31,7 +31,13 @@ To get more information about SslPolicy, see:
|
|||||||
* How-to Guides
|
* How-to Guides
|
||||||
* [Using SSL Policies](https://cloud.google.com/compute/docs/load-balancing/ssl-policies)
|
* [Using SSL Policies](https://cloud.google.com/compute/docs/load-balancing/ssl-policies)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=ssl_policy_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Ssl Policy Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_ssl_policy" "prod-ssl-policy" {
|
resource "google_compute_ssl_policy" "prod-ssl-policy" {
|
||||||
|
@ -53,7 +53,13 @@ To get more information about Subnetwork, see:
|
|||||||
* [Private Google Access](https://cloud.google.com/vpc/docs/configure-private-google-access)
|
* [Private Google Access](https://cloud.google.com/vpc/docs/configure-private-google-access)
|
||||||
* [Cloud Networking](https://cloud.google.com/vpc/docs/using-vpc)
|
* [Cloud Networking](https://cloud.google.com/vpc/docs/using-vpc)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=subnetwork_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Subnetwork Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_subnetwork" "network-with-private-secondary-ip-ranges" {
|
resource "google_compute_subnetwork" "network-with-private-secondary-ip-ranges" {
|
||||||
|
@ -32,7 +32,13 @@ To get more information about TargetHttpProxy, see:
|
|||||||
* How-to Guides
|
* How-to Guides
|
||||||
* [Official Documentation](https://cloud.google.com/compute/docs/load-balancing/http/target-proxies)
|
* [Official Documentation](https://cloud.google.com/compute/docs/load-balancing/http/target-proxies)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=target_http_proxy_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Target Http Proxy Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_target_http_proxy" "default" {
|
resource "google_compute_target_http_proxy" "default" {
|
||||||
|
@ -32,7 +32,13 @@ To get more information about TargetHttpsProxy, see:
|
|||||||
* How-to Guides
|
* How-to Guides
|
||||||
* [Official Documentation](https://cloud.google.com/compute/docs/load-balancing/http/target-proxies)
|
* [Official Documentation](https://cloud.google.com/compute/docs/load-balancing/http/target-proxies)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=target_https_proxy_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Target Https Proxy Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_target_https_proxy" "default" {
|
resource "google_compute_target_https_proxy" "default" {
|
||||||
|
@ -34,7 +34,13 @@ To get more information about TargetSslProxy, see:
|
|||||||
* How-to Guides
|
* How-to Guides
|
||||||
* [Setting Up SSL proxy for Google Cloud Load Balancing](https://cloud.google.com/compute/docs/load-balancing/tcp-ssl/)
|
* [Setting Up SSL proxy for Google Cloud Load Balancing](https://cloud.google.com/compute/docs/load-balancing/tcp-ssl/)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=target_ssl_proxy_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Target Ssl Proxy Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_target_ssl_proxy" "default" {
|
resource "google_compute_target_ssl_proxy" "default" {
|
||||||
|
@ -34,7 +34,13 @@ To get more information about TargetTcpProxy, see:
|
|||||||
* How-to Guides
|
* How-to Guides
|
||||||
* [Setting Up TCP proxy for Google Cloud Load Balancing](https://cloud.google.com/compute/docs/load-balancing/tcp-ssl/tcp-proxy)
|
* [Setting Up TCP proxy for Google Cloud Load Balancing](https://cloud.google.com/compute/docs/load-balancing/tcp-ssl/tcp-proxy)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=target_tcp_proxy_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Target Tcp Proxy Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_target_tcp_proxy" "default" {
|
resource "google_compute_target_tcp_proxy" "default" {
|
||||||
|
@ -27,7 +27,13 @@ that you define for the host and path of an incoming URL.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=url_map_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Url Map Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_url_map" "urlmap" {
|
resource "google_compute_url_map" "urlmap" {
|
||||||
|
@ -29,7 +29,13 @@ To get more information about VpnGateway, see:
|
|||||||
|
|
||||||
* [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/targetVpnGateways)
|
* [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/targetVpnGateways)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=target_vpn_gateway_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Target Vpn Gateway Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_vpn_gateway" "target_gateway" {
|
resource "google_compute_vpn_gateway" "target_gateway" {
|
||||||
|
@ -35,7 +35,13 @@ To get more information about VpnTunnel, see:
|
|||||||
state as plain-text.
|
state as plain-text.
|
||||||
[Read more about sensitive data in state](/docs/state/sensitive-data.html).
|
[Read more about sensitive data in state](/docs/state/sensitive-data.html).
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=vpn_tunnel_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Vpn Tunnel Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_compute_vpn_tunnel" "tunnel1" {
|
resource "google_compute_vpn_tunnel" "tunnel1" {
|
||||||
|
@ -30,7 +30,13 @@ To get more information about Instance, see:
|
|||||||
* How-to Guides
|
* How-to Guides
|
||||||
* [Official Documentation](https://cloud.google.com/memorystore/docs/redis/)
|
* [Official Documentation](https://cloud.google.com/memorystore/docs/redis/)
|
||||||
|
|
||||||
## Example Usage
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=redis_instance_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Redis Instance Basic
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_redis_instance" "cache" {
|
resource "google_redis_instance" "cache" {
|
||||||
@ -38,6 +44,14 @@ resource "google_redis_instance" "cache" {
|
|||||||
memory_size_gb = 1
|
memory_size_gb = 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
|
||||||
|
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=redis_instance_full&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
|
||||||
|
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
## Example Usage - Redis Instance Full
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_redis_instance" "cache" {
|
resource "google_redis_instance" "cache" {
|
||||||
name = "ha-memory-cache"
|
name = "ha-memory-cache"
|
||||||
|
@ -25,7 +25,8 @@ A Lien represents an encumbrance on the actions that can be performed on a resou
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Example Usage
|
## Example Usage - Resource Manager Lien
|
||||||
|
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
resource "google_resource_manager_lien" "lien" {
|
resource "google_resource_manager_lien" "lien" {
|
||||||
|
Loading…
Reference in New Issue
Block a user