Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phuurl/terraform-splunk
⛰ Terraform plans to provision Splunk clusters for testing purposes
https://github.com/phuurl/terraform-splunk
cloud digitalocean splunk terraform
Last synced: 8 days ago
JSON representation
⛰ Terraform plans to provision Splunk clusters for testing purposes
- Host: GitHub
- URL: https://github.com/phuurl/terraform-splunk
- Owner: Phuurl
- License: mit
- Created: 2019-05-03T20:44:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-17T21:59:22.000Z (over 5 years ago)
- Last Synced: 2024-12-29T16:46:09.047Z (12 days ago)
- Topics: cloud, digitalocean, splunk, terraform
- Language: HCL
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ⛰ terraform-splunk [![Build Status](https://travis-ci.com/Phuurl/terraform-splunk.svg?branch=master)](https://travis-ci.com/Phuurl/terraform-splunk)
A Terraform plan to set up a Splunk cluster in the cloud for testing purposes.
## Current provider support
- DigitalOcean
- Google Cloud Platform## Requirements
- [Terraform](https://www.terraform.io/downloads.html)
- Ansible (install through your package manager or pip)
- A cloud platform account - either:
- A DigitalOcean account ([referral link for free credit](https://m.do.co/c/79ec1acd556c))
- A GCP project
- Python (tested on 3.7 and 2.7, but will likely work in all versions that Ansible supports)## Usage
1. Clone the repo, then `cd` into the directory for the appropriate plan and cloud provider
2. `cp terraform.tfvars.exmaple terraform.tfvars`, then add your provider key and the password you wish to be set across the Splunk cluster. Also look in `vars.tf` to check you are happy with the default values - overriding in `terraform.tfvars` where required
3. `terraform init` to download and set up the required providers
4. `terraform apply` to begin creating the instances
5. Once complete, instance information (such as IPs) can be viewed with `terraform show`
6. When you're finished with the cluster, run `terraform destroy` to delete the created resources## Contributing
Pull requests are welcome - please ensure that you update any READMEs and Travis tests where required