Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/posquit0/demo-terraform-provider-kong
:trollface: Demo for Terraform Provider Kong
https://github.com/posquit0/demo-terraform-provider-kong
demo kong kong-api-gateway kong-demo terraform terraform-provider-kong terraform-scripts
Last synced: 25 days ago
JSON representation
:trollface: Demo for Terraform Provider Kong
- Host: GitHub
- URL: https://github.com/posquit0/demo-terraform-provider-kong
- Owner: posquit0
- License: mit
- Created: 2018-10-23T04:40:03.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-23T07:42:07.000Z (about 6 years ago)
- Last Synced: 2024-10-05T01:49:49.552Z (about 1 month ago)
- Topics: demo, kong, kong-api-gateway, kong-demo, terraform, terraform-provider-kong, terraform-scripts
- Language: HCL
- Homepage:
- Size: 10.7 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Demo for Terraform Provider Kong
This project shows how to automate Kong API Gateway management with Terraform.
## Requirements
* [Terraform](https://www.terraform.io/) 0.11.0+
* [Kong](https://konghq.co://konghq.com) CE 0.14.0+ or EE 0.33.0+
* [Terraform Provider Kong](https://github.com/kevholditch/terraform-provider-kong) 1.7.0+## Getting Started
### Install Terraform Provider Kong
Kong Provider is not official Terraform provider. You need to download and locate the provider plugin manually.
```bash
$ wget https://github.com/kevholditch/terraform-provider-kong/releases/download/v1.7.0/terraform-provider-kong_1.7.0_darwin_amd64.zip
$ unzip -j terraform-provider-kong_1.7.0_darwin_amd64.zip terraform-provider-kong_v1.7.0 -d ~/.terraform.d/plugins/
```### Initialize Terraform
```bash
$ git clone https://github.com/posquit0/demo-terraform-provider-kong
$ cd demo-terraform-provider-kong
$ terraform init
# If you use S3 backend
# $ cat < ./backend.conf
# bucket = "terraform.apigateway.my-company.dev"
# key = "tfstate"
# region = "ap-northeast-2"
# encrypt = true
# EOF
# $ terraform init -backend-config ./backend.conf
```### Configure Variables
```bash
$ cp terraform.tfvars.sample terraform.tfvars
# Configure variables
$ vi terraform.tfvars
```### Apply Changes in Kong API Gateway
```bash
$ terraform apply
```## Usage
```zsh
$ terraform apply
```## Related Links
* [GitHub: kevholditch/terraform-provider-kong](https://github.com/kevholditch/terraform-provider-kong)
## Contributing
#### Bug Reports & Feature Requests
Please use the [issue tracker](https://github.com/posquit0/demo-terraform-provider-kong/issues) to report any bugs or ask feature requests.
## License
Provided under the terms of the [MIT License](https://github.com/posquit0/demo-terraform-provider-kong/blob/master/LICENSE).
Copyright © 2018, [Byungjin Park](http://www.posquit0.com).