https://github.com/koverholt/dialogflow-terraform-rest-api
Using Terraform to Templatize REST API calls to Dialogflow
https://github.com/koverholt/dialogflow-terraform-rest-api
agents dialogflow google-cloud rest-api terraform
Last synced: about 1 month ago
JSON representation
Using Terraform to Templatize REST API calls to Dialogflow
- Host: GitHub
- URL: https://github.com/koverholt/dialogflow-terraform-rest-api
- Owner: koverholt
- License: apache-2.0
- Created: 2023-01-11T22:35:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-13T19:55:08.000Z (over 3 years ago)
- Last Synced: 2025-06-11T09:26:28.234Z (about 1 year ago)
- Topics: agents, dialogflow, google-cloud, rest-api, terraform
- Language: HCL
- Homepage: https://cloud.koverholt.com/using-terraform-to-templatize-rest-api-calls-to-dialogflow/
- Size: 2 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Using Terraform with REST API calls to Dialogflow
[](https://github.com/koverholt/dialogflow-terraform-rest-api/actions/workflows/main.yml)
Use Terraform to templatize REST API calls to Dialogflow in Google Cloud.

Uses a REST API call invoked from Terraform to modify the training phrases in
the default welcome intent.

# Prerequisites
* Register for a Google Cloud account (https://cloud.google.com/docs/get-started)
* Enable the Dialogflow API (https://cloud.google.com/dialogflow/cx/docs/quick/setup)
* Install and initialize the Google Cloud `gcloud` CLI tool (https://cloud.google.com/sdk/docs/install)
* Install Terraform (https://developer.hashicorp.com/terraform/downloads)
# Usage
1. Clone this repository and `cd` into the `terraform/` directory
1. Edit the values in `variables.tf`
1. Run `terraform init`
1. Run `terraform apply`