terraform-google-modules / terraform-docs-samples

Terraform samples intended for inclusion in cloud.google.com
Apache License 2.0
308 stars 224 forks source link

terraform-docs-samples

Terraform samples intended for inclusion in cloud.google.com.

Typically, the samples are imported on tabs in how-to guides. For example, see Creating a SQL Server instance.

Setup

To run Terraform samples, the recommended approach is to use Cloud Shell.

Cloud Shell is a Compute Engine virtual machine. The service credentials associated with this virtual machine are automatic, so there is no need to set up or download a service account key.

Terraform is integrated with Cloud Shell, and Cloud Shell automatically authenticates Terraform, letting you get started with less setup.

  1. Activate Cloud Shell at the top of the Google Cloud Console.

  2. Clone this repository:

    git clone https://github.com/GoogleCloudPlatform/terraform-docs-samples.git

How to run a sample

See Work with a Terraform configuration.

Contributing

Contributions are welcome!

Code style

If you are submitting or reviewing a pull request, make sure that the sample follows the Terraform sample guidelines for quality and consistency.

Providing feedback

Open an issue in this GitHub repository.

Alternativly, from the Google Cloud documentation, click Send feedback near the top right of the page or at the bottom of the page. This opens a feedback form.