managed-service-prometheus

clowdhaus/managed-service-prometheus/aws

Terraform Module HCL AWS

Terraform module to create AWS Managed Service for Prometheus (AMP) resources πŸ‡ΊπŸ‡¦

Install
module "managed-service-prometheus" {
source = "clowdhaus/managed-service-prometheus/aws"
version = "4.1.0"
}
⭐ Source on GitHub πŸ“¦ Registry page
README

AWS Managed Service for Prometheus (AMP) Terraform module Terraform module which creates AWS Managed Service for Prometheus (AMP) resources. Usage See examples directory for working examples to reference: ```hcl module "prometheus" { source = "terraform-aws-modules/managed-service-prometheus/aws" workspace_alias = "example" create_alert_manager = true alert_manager_definition = Requirements | Name | Version | |------|---------| | terraform | >= 1.5.7 | | aws | >= 6.22 | Providers | Name | Version | |------|---------| | aws | >= 6.22 | Modules No modules. Resources | Name | Type | |------|------| | aws_cloudwatch_log_group.this | resource | | aws_prometheus_alert_manager_definition.this | resource | | aws_prometheus_rule_group_namespace.this | resource | | aws_prometheus_workspace.this | re

Inputs (18)
NameTypeDescriptionDefault
regionstringRegion where the resource(s) will be managed. Defaults to the Region set in the null
workspace_aliasstringThe alias of the prometheus workspace. See more in the [AWS Docs](https://docs.anull
logging_configurationobject({ create_log_group The logging configuration of the prometheus workspace.null
cloudwatch_log_group_use_name_prefixboolDetermines whether the log group name should be used as a prefixfalse
create_alert_managerboolControls whether an Alert Manager definition is created along with the AMP workstrue
workspace_idstringThe ID of an existing workspace to use when `create_workspace` is `false`""
kms_key_arnstringThe ARN of the KMS Key to for encryption at restnull
tagsmap(string)A map of tags to add to all resources{}
retention_period_in_daysnumberNumber of days to retain metric data in the workspacenull
cloudwatch_log_group_namestringCustom name of CloudWatch log group for a service associated with the container null
cloudwatch_log_group_kms_key_idstringIf a KMS Key ARN is set, this key will be used to encrypt the corresponding log null
alert_manager_definitionstringThe alert manager definition that you want to be applied. See more in the [AWS D"alertmanager_config: |\n route:\n r
createboolDetermines whether a resources will be createdtrue
create_workspaceboolDetermines whether a workspace will be created or to use an existing workspacetrue
limits_per_label_setlist(object({ label_set = Configuration block for setting limits on metrics with specific label setsnull
cloudwatch_log_group_classstringSpecified the log class of the log group. Possible values are: `STANDARD` or `INnull
cloudwatch_log_group_retention_in_daysnumberNumber of days to retain log events. Set to `0` to keep logs indefinitely30
rule_group_namespacesmap(object({ name = stringA map of one or more rule group namespace definitionsnull
Outputs (3)
workspace_arn β€” Amazon Resource Name (ARN) of the workspace
workspace_id β€” Identifier of the workspace
workspace_prometheus_endpoint β€” Prometheus endpoint available for this workspace
Resources (5)
aws_cloudwatch_log_groupaws_prometheus_alert_manager_definitionaws_prometheus_rule_group_namespaceaws_prometheus_workspaceaws_prometheus_workspace_configuration
Details
FrameworkTerraform Module
LanguageHCL
Version4.1.0
Cloud AWS
β˜… Stars33
Forks37
Total downloads9.0k
Inputs18
Outputs3
Resources5
Examples1
LicenseApache-2.0
Namespaceclowdhaus
Updated