https://github.com/wso2/terraform-apim
Terraform scripts for provision the APIM deployments on Azure cloud
https://github.com/wso2/terraform-apim
api-management terraform
Last synced: about 1 year ago
JSON representation
Terraform scripts for provision the APIM deployments on Azure cloud
- Host: GitHub
- URL: https://github.com/wso2/terraform-apim
- Owner: wso2
- License: apache-2.0
- Created: 2020-07-02T06:32:20.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-21T08:16:12.000Z (almost 6 years ago)
- Last Synced: 2025-03-29T08:25:03.395Z (about 1 year ago)
- Topics: api-management, terraform
- Language: TSQL
- Homepage:
- Size: 571 KB
- Stars: 35
- Watchers: 25
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform Resources for WSO2 API Manager
## Installation
### Prerequisites
* Install and set up [Packer](https://www.packer.io/) (>= v1.4.0 )
* Install and set up [Terraform](https://www.terraform.io/) (>= v0.12.00 )
### Instructions:
1. Download the WSO2 API Manager terraform resource.
```bash
$ git clone https://github.com/wso2/terraform-apim.git
```
2. Build the API manager custom image using centos-base.json packer file.
**Note:** If you have an Azure subscription, update user variables `centos-base.json` in root directory `azure-simple/packer` to include your subscription credentials. The WSO2 API Manager 3.1.0 distribution needs to download into the `azure-simple/packer/ansible-apim/files/packs` directory.
```bash
$ packer build centos-base.json
```
3. Changed the directory to `azure-simple/terraform` and update the build `baseimage` variable in `variables.tf` and `terraform.tfvars` files inclusive of Azure subscription credentials.
```bash
$ terraform apply
```
**Note:** Add the host entry ` apim.wso2test.com` in `/etc/hosts` file to access the WSO2 API Manager console.
4. Try navigating to the following consoles from your favorite browser.
**https://apim.wso2test.com**