Code Monkey home page Code Monkey logo

terraform-aws-ec2-prometheus's Introduction

terraform-aws-ec2-prometheus

WIP

Features

This provisions an ec2 and then configures it with prometheus, alertmanager, and grafana.

Terraform Versions

For Terraform v0.12.0+

Usage

module "this" {
    source = "github.com/robc-io/terraform-aws-ec2-prometheus"

}

Examples

Known Issues

No issue is creating limit on this module.

Providers

Name Version
aws n/a
random n/a

Inputs

Name Description Type Default Required
ebs_volume_id The volume id of the ebs volume to mount string "" no
ebs_volume_size The size of volume - leave as zero or empty for no volume number 0 no
eip_id The elastic ip id to attach to active instance string "" no
environment The environment string "" no
grafana_admin_password The grafana admin password string "hunter2" no
grafana_admin_user The grafana admin user name string "admin" no
instance_type Instance type string "t2.micro" no
key_name The key pair to import string "" no
monitoring Boolean for cloudwatch bool false no
name The name for the label string "prometheus" no
namespace The namespace to deploy into string "prod" no
network_name The network name, ie kusama / mainnet string "main" no
owner Owner of the infrastructure string "" no
playbook_vars Extra playbook vars map(string) {} no
private_key_path The path to the private ssh key string n/a yes
public_key_path The path to the public ssh key string n/a yes
root_volume_size Root volume size string 8 no
stage The stage of the deployment string "blue" no
subnet_id The id of the subnet string n/a yes
volume_path The path of the EBS volume string "/dev/xvdf" no
vpc_security_group_ids List of security groups list(string) n/a yes

Outputs

Name Description
public_ip n/a

Testing

This module has been packaged with terratest tests

To run them:

  1. Install Go
  2. Run make test-init from the root of this repo
  3. Run make test again from root

Authors

Module managed by robc-io

Credits

License

Apache 2 Licensed. See LICENSE for full details.

terraform-aws-ec2-prometheus's People

Contributors

robcxyz avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.