{"repo":"cloudposse/terraform-aws-lambda-elasticsearch-cleanup","free":true,"listed":false,"github":"https://github.com/cloudposse/terraform-aws-lambda-elasticsearch-cleanup","clone":"git clone https://github.com/cloudposse/terraform-aws-lambda-elasticsearch-cleanup.git","description":"Terraform module to provision a scheduled Lambda function which will delete old AWS ElasticSearch indices","language":"HCL","stars":12,"topics":["terraform","terraform-modules","lambda","elasticsearch","elasticsearch-curator","retention","vacuum","indexes","log-search","purge"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Terraform module to provision a scheduled Lambda function which will delete old Elasticsearch indexes using SigV4Auth authentication. The lambda function can optionally send output to an SNS topic if the topic ARN is given. This module was largely inspired by aws-lambda-es-cleanup [!TIP] #### 👽 Use Atmos with Terraform Cloud Posse uses atmos to easily orchestrate multiple environments using Terraform. Works with Github Actions, Atlantis, or Spacelift. Watch demo of using Atmos with Terraform Example of running atmos to manage infrastructure from our Quick Start tutorial. Usage For a complete example, see examples/complete. For automated tests of the complete example using bats and Terratest (which tests and deploys the example on AWS), see test. Indexes are expected to be in the format name-date where date is in the format specified by var.index format . By default, all indexes except for the ones added by Kibana will be deleted based on the date part of the full index name. The actual creation date of the index is not used. Index matching is done with unanchored regular expresssion, so \"bar\" matches index \"foobarbaz\". - If the full index name, including the date part, matches skip index re , then the index will be skipped (never deleted). Kibana indexes are skipped by the default skip index re of ^\\.kibana so if you specify a value for skip index re you must include the Kibana exception in your regex if you want it excepted. (Since Kibana indexes do not have a date part, th","default_branch":null,"files":null,"tree":[],"storefront":"/r/cloudposse","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cloudposse/terraform-aws-lambda-elasticsearch-cleanup/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}