Figured it out.
Need to us opendistro in the key for the template as follows:
See latest reply
Did this work for you? If I do the same, then the templates seems to accept the "opendistro.index_state_management.policy_id" setting, but after a while - if I get the template again through the API - it was removed from the settings.
Is there another way to apply policies automatically to new indices that match a certain pattern?
CDK - how to set OpenSearch/Elasticsearch as the destination of a Kinesis Firehose?asked 8 months ago
Kinesis Firehose component for AWS Greengrass not sending data streamsasked 5 months ago
Picking the correct Opensearch index date from the Kinesis Delivery Streamasked 4 months ago
CloudWatch logs are not reaching Splunk for the new lambda with AWS Firehose/Lambda integrationasked 6 months ago
Multiple Kinesis Firehose DestinationsAccepted Answerasked 2 years ago
Re-index in ElasticSearch with zero downtimeasked 9 months ago
Throttling a Client/Index from OpenSearch (ElasticSearch)Accepted Answerasked a year ago
How to set document id when delivering data from Kinesis Data Firehose to Opensearch indexasked 9 months ago
sending data from Cloudwatch 1 log stream of 20 to Firehoseasked 2 months ago
How to automatically apply ILM to an new index created by Firehoseasked 2 years ago