Google Cloud Platform (GCP) Terraform Provider
The GCP Terraform provider is used to interact with the many resources supported by Google Cloud Platform. The provider needs to be configured with the proper credentials before it can be used.
Configuration
To use the GCP provider, you will need to create a service account and download the JSON key file.
Resources
The GCP provider supports a wide range of resources, including compute instances, load balancers, and DNS records.
Compute Instance
To create a compute instance, use the google_compute_instance
resource:
Load Balancer
To create a load balancer, use the google_compute_http_health_check
, google_compute_target_pool
, and google_compute_forwarding_rule
resources:
Last updated