Skip to content

Commit

Permalink
Merge pull request #38 from sematext/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
hollerloudly authored Jan 29, 2021
2 parents 428e682 + 3a307e0 commit d15e0cc
Show file tree
Hide file tree
Showing 45 changed files with 231 additions and 145 deletions.
8 changes: 4 additions & 4 deletions docs/guides/plans.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ The following table containes valid plan id values to be used in resource defini
| 131 |   sematext_monitor_clickhouse | Standard SPM ClickHouse |
| 132 |   sematext_monitor_clickhouse | Pro SPM ClickHouse |
| 133 |   sematext_monitor_clickhouse | Pro Silver SPM ClickHouse |
| 117 |   sematext_monitor_docker | Basic SPM Docker |
| 118 |   sematext_monitor_docker | Standard SPM Docker |
| 119 |   sematext_monitor_docker | Pro SPM Docker |
| 120 |   sematext_monitor_docker | Pro Silver SPM Docker |
| 12 |   sematext_monitor_elasticsearch | Basic SPM Elasticsearch |
| 13 |   sematext_monitor_elasticsearch | Standard SPM Elasticsearch |
| 14 |   sematext_monitor_elasticsearch | Pro SPM Elasticsearch |
Expand All @@ -62,6 +58,10 @@ The following table containes valid plan id values to be used in resource defini
| 5 |   sematext_monitor_hbase | Standard SPM HBase |
| 6 |   sematext_monitor_hbase | Pro SPM HBase |
| 28 |   sematext_monitor_hbase | Pro Silver SPM HBase |
| 129 |   sematext_monitor_infra | Basic Infra |
| 300 |   sematext_monitor_infra | Standard Infra |
| 301 |   sematext_monitor_infra | Pro Infra |
| 302 |   sematext_monitor_infra | Pro Silver Infra |
| 18 |   sematext_monitor_jvm | Basic SPM JVM |
| 19 |   sematext_monitor_jvm | Standard SPM JVM |
| 20 |   sematext_monitor_jvm | Pro SPM JVM |
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.3"
version = ">=0.1.9"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_akka.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_apache.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_awsebs.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_awsec2.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_awselb.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_cassandra.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_clickhouse.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_elasticsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_hadoopmrv1.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_hadoopyarn.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_haproxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_hbase.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# <img src="https://sematext.com/wp-content/uploads/2020/09/just-octi-blue.png" valign="bottom" width="60px"/>**&nbsp;&nbsp;Terraform Provider For Sematext Cloud**

# Sematext Docker Resource
# Sematext Infra Resource

Creates a monitoring application within [Sematext Cloud](https://sematext.com/cloud/).
Refer to [Refer to Sematext Provider for authentication detail](../index.md)
Expand All @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand All @@ -21,7 +21,7 @@ provider "sematext" {
sematext_region = "US"
}
resource "sematext_monitor_docker" "mymonitor" {
resource "sematext_monitor_infra" "mymonitor" {
name = "my monitor name"
billing_plan_id = <[plan id](../guides/plans.md)>
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_jvm.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_logsene.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_mobilelogs.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_mongodb.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_nginx.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_nginxplus.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_nodejs.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_postgresql.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_rabbitmq.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_solr.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_solrcloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_spark.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_storm.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_tomcat.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/sematext_monitor_zookeeper.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions generate/generate-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ apptypes=(
"AWS ELB"
"Cassandra"
"ClickHouse"
"Docker"
"Elastic Search"
"Hadoop-MRv1"
"Hadoop-YARN"
"HAProxy"
"HBase"
"Infra"
"JVM"
"Kafka"
"Logsene"
Expand All @@ -37,7 +37,7 @@ apptypes=(
"mobile-logs"
)

# removed "Kafka-0.7.2" "Memcached" "SearchAnalytics" "Sensei" "Infra"
# removed "Kafka-0.7.2" "Memcached" "SearchAnalytics" "Sensei"


awsparas='\* `aws_access_key` - (optional) if not set then reads from env AWS_ACCESS_KEY_ID.\n\* `aws_secret_key` - (optionl) is not present set from env AWS_SECRET_ACCESS_KEY\n\* `aws_fetch_frequency` - (required) one of MINUTE|FIVE_MINUTES|FIFTEEN_MINUTES.\n\* `aws_region` - (optional) if not present withh set from env AWS_REGION.'
Expand Down
2 changes: 1 addition & 1 deletion generate/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ apptypes=(
"AWS ELB"
"Cassandra"
"ClickHouse"
"Docker"
"Elastic Search"
"Hadoop-MRv1"
"Hadoop-YARN"
"HAProxy"
"HBase"
"Infra"
"JVM"
"Kafka"
"Logsene"
Expand Down
2 changes: 1 addition & 1 deletion generate/resource_sematext_resource.md.template
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
sematext = {
source = "sematext/sematext"
version = ">=0.1.9"
version = ">=0.1.10"
}
}
}
Expand Down
11 changes: 6 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ module github.com/sematext/terraform-provider-sematext
go 1.14

require (
cloud.google.com/go v0.66.0 // indirect
cloud.google.com/go v0.75.0 // indirect
github.com/blang/semver/v4 v4.0.0
github.com/davecgh/go-spew v1.1.1
github.com/google/uuid v1.1.2
github.com/hashicorp/go-hclog v0.14.1 //indirect
github.com/hashicorp/terraform-plugin-sdk/v2 v2.0.3
github.com/sematext/sematext-api-client-go v1.1.5
github.com/google/uuid v1.2.0
github.com/hashicorp/go-hclog v0.15.0 //indirect
github.com/hashicorp/terraform-plugin-sdk/v2 v2.4.2
github.com/hashicorp/terraform-plugin-test/v2 v2.1.2 // indirect
github.com/sematext/sematext-api-client-go v1.2.1

)
Loading

0 comments on commit d15e0cc

Please sign in to comment.