Terraform module that deploy the needed resources to deploy the cloudwatch-agent on kubernetes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Christophe van de Kerchove b80da48067
fix: fix rbac issues on configmaps
2 months ago
examples feat: initial release 3 months ago
.gitignore Initial commit 3 months ago
.pre-commit-config.yaml Initial commit 3 months ago
CHANGELOG.md fix: fix rbac issues on configmaps 2 months ago
Jenkinsfile feat: initial release 3 months ago
LICENSE Initial commit 3 months ago
README.md feat: initial release 3 months ago
main.tf fix: fix rbac issues on configmaps 2 months ago
outputs.tf feat: initial release 3 months ago
variables.tf feat: initial release 3 months ago
versions.tf feat: initial release 3 months ago

README.md

terraform-module-kubernetes-cloudwatch-agent

Terraform module that deploy the needed resources to deploy the cloudwatch-agent on kubernetes

Requirements

Name Version
terraform >= 0.12
kubernetes >= 1.10.0
random >= 2.0.0

Providers

Name Version
kubernetes >= 1.10.0
random >= 2.0.0

Inputs

Name Description Type Default Required
annotations Map of annotations that will be applied on all kubernetes resources. map {} no
automount_service_account_token Whether or not to automatically mount the service account token. bool true no
cluster_name Name of the cluster that will appear in the metrics. string n/a yes
cluster_role_annotations Map of annotations that will be applied on the cluster role. map {} no
cluster_role_binding_annotations Map of annotations that will be applied on the cluster role binding. map {} no
cluster_role_binding_labels Map of labels that will be applied on the cluster role binding. map {} no
cluster_role_binding_name Name of the cluster role binding to create. string "cloudwatch-agent" no
cluster_role_labels Map of labels that will be applied on the cluster role. map {} no
cluster_role_name Name of the cluster role to create. string "cloudwatch-agent" no
config_map_annotations Map of annotations that will be applied on the config map. map {} no
config_map_labels Map of labels that will be applied on the config map. map {} no
config_map_name Name of the config map to create. string "cloudwatch-agent" no
configuration Map representing the additional configuration options (willl be merged with default configuration). map {} no
daemonset_annotations Map of annotations that will be applied on the daemonset. map {} no
daemonset_labels Map of labels that will be applied on the daemonset. map {} no
daemonset_name Name of the daemonset to create. string "cloudwatch-agent" no
daemonset_template_annotations Map of annotations that will be applied on the daemonset template. map {} no
daemonset_template_labels Map of labels that will be applied on the daemonset template. map {} no
enabled Whether or not to enable this module. bool true no
image Docker image to use. string "amazon/cloudwatch-agent" no
image_version Version of the docker image to use. string "latest" no
labels Map of labels that will be applied on all kubernetes resources. map {} no
namespace Namespace in which the module will be deployed. string "kube-system" no
service_account_annotations Map of annotations that will be applied on the service account. map {} no
service_account_labels Map of labels that will be applied on the service account. map {} no
service_account_name Name of the service account to create. string "cloudwatch-agent" no

Outputs

Name Description
cluster_role n/a
cluster_role_binding n/a
config_map n/a
daemonset n/a
service_account n/a

Versioning

This repository follows Semantic Versioning 2.0.0

Git Hooks

This repository uses pre-commit hooks.