Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New terraform feature: Override GRQ ILM expiration time, needed for PST in particular #744

Open
philipjyoon opened this issue Feb 15, 2024 · 0 comments
Labels
enhancement New feature or request needs triage Issue that requires triage

Comments

@philipjyoon
Copy link
Contributor

philipjyoon commented Feb 15, 2024

Checked for duplicates

Yes - I've already checked

Alternatives considered

Yes - and alternatives don't suffice

Related problems

No response

Describe the feature request

Create a terraform variable named something like grq_ilm_exp_days and use that to override ilm expiration days for GRQ ES. This is needed for PST at this time.

Relevant curl command:

curl -X PUT "http://localhost:9200/_ilm/policy/opera_grq_ilm_policy" -H "Content-Type: application/json" -d '{
  "policy": {
    "phases": {
      "delete": {
        "min_age": "150d",
        "actions": {
          "delete": {
            "delete_searchable_snapshot": true
          }
        }
      }
    }
  }
}'

GRQ ES ILM policy is hard-coded here:
https://github.com/nasa/opera-sds-pcm/blob/develop/conf/sds/files/elasticsearch/es_ilm_policy_grq.json

@philipjyoon philipjyoon added enhancement New feature or request needs triage Issue that requires triage labels Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage Issue that requires triage
Projects
None yet
Development

No branches or pull requests

1 participant