google-cloudrun

command module
v0.0.0-...-eceb406 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2025 License: MPL-2.0 Imports: 5 Imported by: 0

README

google-cloudrun

A port of the TypeScript example at: https://github.com/hashicorp/terraform-cdk/tree/main/examples/typescript/google-cloudrun

This resembles the example for the Google Cloud at Hashicorp Learn

Usage

Install project dependencies

go get ./...

Generate CDK for Terraform constructs for Terraform provides and modules used in the project.

cdktf get

You can now edit the main.go file if you want to modify any code.

Make sure to create your credential file cdktf-example.json to make this example usable.

Generate Terraform configuration

cdktf synth

The above command will create a folder called cdktf.out that contains all Terraform JSON configuration that was generated.

See changes cdktf diff and deploy via cdktf deploy.

When you're done run cdktf destroy.

You need

  • GCP project ID
  • cdktf-example.json file containing your GCP credentials

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL