Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cathive/terraform-provider-routeros
[Work-in-progress] Terraform provider for RouterOS
https://github.com/cathive/terraform-provider-routeros
infrastructure-as-code mikrotik routeros terraform
Last synced: about 2 months ago
JSON representation
[Work-in-progress] Terraform provider for RouterOS
- Host: GitHub
- URL: https://github.com/cathive/terraform-provider-routeros
- Owner: cathive
- License: mpl-2.0
- Created: 2018-09-11T08:40:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-09T11:39:35.000Z (over 4 years ago)
- Last Synced: 2024-04-09T14:28:21.369Z (9 months ago)
- Topics: infrastructure-as-code, mikrotik, routeros, terraform
- Language: Go
- Size: 50.8 KB
- Stars: 13
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform Provider for RouterOS
## Requirements
- [Terraform](https://www.terraform.io/downloads.html) 0.12.x
- [Go](https://golang.org/doc/install) 1.12.x (to build the provider plugin)## Building the Provider
Clone repository outside of your GOPATH.
```sh
# Clone the provider plugin sources
$ mkdir -p ~/Projects; cd ~/Projects
$ git clone [email protected]:cathive/terraform-provider-routeros.git
```Enter the provider directory and build the provider.
```sh
# Build the provider plugin
$ cd ~/Projects/terraform-provider-routeros
$ make build
# Now make the plugin locally available
# OS represents your operating system (e.g. windows, darwin, linux) and
# ARCH represents your operating system's architecture (most likely: amd64)
$ cp $GOPATH/bin/terraform-provider-routeros ~/.terraform.d/plugins/${OS}_${ARCH}/
```## Using the provider
If you're building the provider, follow the instructions to [install it as a plugin](https://www.terraform.io/docs/plugins/basics.html#installing-a-plugin).
After placing it into your plugins directory, run `terraform init` to initialize it.