An open API service indexing awesome lists of open source software.

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

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**