published on Sunday, Sep 13, 2026 by elastic
published on Sunday, Sep 13, 2026 by elastic
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as elasticstack from "@pulumi/elasticstack";
// Create an ILM policy
const retention90d = new elasticstack.ElasticsearchIndexLifecycle("retention_90d", {
name: "90-days-retention",
hot: {
rollover: {
maxAge: "7d",
},
},
"delete": {
minAge: "90d",
"delete": {},
},
});
// Attach the ILM policy to a Fleet-managed template
const logsSystem = new elasticstack.ElasticsearchIndexTemplateIlmAttachment("logs_system", {
indexTemplate: "logs-system.syslog",
lifecycleName: retention90d.name,
});
import pulumi
import pulumi_elasticstack as elasticstack
# Create an ILM policy
retention90d = elasticstack.ElasticsearchIndexLifecycle("retention_90d",
name="90-days-retention",
hot={
"rollover": {
"max_age": "7d",
},
},
delete={
"min_age": "90d",
"delete": {},
})
# Attach the ILM policy to a Fleet-managed template
logs_system = elasticstack.ElasticsearchIndexTemplateIlmAttachment("logs_system",
index_template="logs-system.syslog",
lifecycle_name=retention90d.name)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/elasticstack/elasticstack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create an ILM policy
retention90d, err := elasticstack.NewElasticsearchIndexLifecycle(ctx, "retention_90d", &elasticstack.ElasticsearchIndexLifecycleArgs{
Name: pulumi.String("90-days-retention"),
Hot: &elasticstack.ElasticsearchIndexLifecycleHotArgs{
Rollover: &elasticstack.ElasticsearchIndexLifecycleHotRolloverArgs{
MaxAge: pulumi.String("7d"),
},
},
Delete: &elasticstack.ElasticsearchIndexLifecycleDeleteArgs{
MinAge: pulumi.String("90d"),
Delete: &elasticstack.ElasticsearchIndexLifecycleDeleteDeleteArgs{},
},
})
if err != nil {
return err
}
// Attach the ILM policy to a Fleet-managed template
_, err = elasticstack.NewElasticsearchIndexTemplateIlmAttachment(ctx, "logs_system", &elasticstack.ElasticsearchIndexTemplateIlmAttachmentArgs{
IndexTemplate: pulumi.String("logs-system.syslog"),
LifecycleName: retention90d.Name,
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Elasticstack = Pulumi.Elasticstack;
return await Deployment.RunAsync(() =>
{
// Create an ILM policy
var retention90d = new Elasticstack.ElasticsearchIndexLifecycle("retention_90d", new()
{
Name = "90-days-retention",
Hot = new Elasticstack.Inputs.ElasticsearchIndexLifecycleHotArgs
{
Rollover = new Elasticstack.Inputs.ElasticsearchIndexLifecycleHotRolloverArgs
{
MaxAge = "7d",
},
},
Delete = new Elasticstack.Inputs.ElasticsearchIndexLifecycleDeleteArgs
{
MinAge = "90d",
Delete = null,
},
});
// Attach the ILM policy to a Fleet-managed template
var logsSystem = new Elasticstack.ElasticsearchIndexTemplateIlmAttachment("logs_system", new()
{
IndexTemplate = "logs-system.syslog",
LifecycleName = retention90d.Name,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.elasticstack.ElasticsearchIndexLifecycle;
import com.pulumi.elasticstack.ElasticsearchIndexLifecycleArgs;
import com.pulumi.elasticstack.inputs.ElasticsearchIndexLifecycleHotArgs;
import com.pulumi.elasticstack.inputs.ElasticsearchIndexLifecycleHotRolloverArgs;
import com.pulumi.elasticstack.inputs.ElasticsearchIndexLifecycleDeleteArgs;
import com.pulumi.elasticstack.inputs.ElasticsearchIndexLifecycleDeleteDeleteArgs;
import com.pulumi.elasticstack.ElasticsearchIndexTemplateIlmAttachment;
import com.pulumi.elasticstack.ElasticsearchIndexTemplateIlmAttachmentArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// Create an ILM policy
var retention90d = new ElasticsearchIndexLifecycle("retention90d", ElasticsearchIndexLifecycleArgs.builder()
.name("90-days-retention")
.hot(ElasticsearchIndexLifecycleHotArgs.builder()
.rollover(ElasticsearchIndexLifecycleHotRolloverArgs.builder()
.maxAge("7d")
.build())
.build())
.delete(ElasticsearchIndexLifecycleDeleteArgs.builder()
.minAge("90d")
.delete(ElasticsearchIndexLifecycleDeleteDeleteArgs.builder()
.build())
.build())
.build());
// Attach the ILM policy to a Fleet-managed template
var logsSystem = new ElasticsearchIndexTemplateIlmAttachment("logsSystem", ElasticsearchIndexTemplateIlmAttachmentArgs.builder()
.indexTemplate("logs-system.syslog")
.lifecycleName(retention90d.name())
.build());
}
}
resources:
# Create an ILM policy
retention90d:
type: elasticstack:ElasticsearchIndexLifecycle
name: retention_90d
properties:
name: 90-days-retention
hot:
rollover:
maxAge: 7d
delete:
minAge: 90d
delete: {}
# Attach the ILM policy to a Fleet-managed template
logsSystem:
type: elasticstack:ElasticsearchIndexTemplateIlmAttachment
name: logs_system
properties:
indexTemplate: logs-system.syslog
lifecycleName: ${retention90d.name}
Example coming soon!
Create ElasticsearchIndexTemplateIlmAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ElasticsearchIndexTemplateIlmAttachment(name: string, args: ElasticsearchIndexTemplateIlmAttachmentArgs, opts?: CustomResourceOptions);@overload
def ElasticsearchIndexTemplateIlmAttachment(resource_name: str,
args: ElasticsearchIndexTemplateIlmAttachmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ElasticsearchIndexTemplateIlmAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
index_template: Optional[str] = None,
lifecycle_name: Optional[str] = None,
elasticsearch_connections: Optional[Sequence[ElasticsearchIndexTemplateIlmAttachmentElasticsearchConnectionArgs]] = None,
timeouts: Optional[ElasticsearchIndexTemplateIlmAttachmentTimeoutsArgs] = None)func NewElasticsearchIndexTemplateIlmAttachment(ctx *Context, name string, args ElasticsearchIndexTemplateIlmAttachmentArgs, opts ...ResourceOption) (*ElasticsearchIndexTemplateIlmAttachment, error)public ElasticsearchIndexTemplateIlmAttachment(string name, ElasticsearchIndexTemplateIlmAttachmentArgs args, CustomResourceOptions? opts = null)
public ElasticsearchIndexTemplateIlmAttachment(String name, ElasticsearchIndexTemplateIlmAttachmentArgs args)
public ElasticsearchIndexTemplateIlmAttachment(String name, ElasticsearchIndexTemplateIlmAttachmentArgs args, CustomResourceOptions options)
type: elasticstack:ElasticsearchIndexTemplateIlmAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "elasticstack_elasticsearch_index_template_ilm_attachment" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ElasticsearchIndexTemplateIlmAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ElasticsearchIndexTemplateIlmAttachmentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ElasticsearchIndexTemplateIlmAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ElasticsearchIndexTemplateIlmAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ElasticsearchIndexTemplateIlmAttachmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var elasticsearchIndexTemplateIlmAttachmentResource = new Elasticstack.ElasticsearchIndexTemplateIlmAttachment("elasticsearchIndexTemplateIlmAttachmentResource", new()
{
IndexTemplate = "string",
LifecycleName = "string",
ElasticsearchConnections = new[]
{
new Elasticstack.Inputs.ElasticsearchIndexTemplateIlmAttachmentElasticsearchConnectionArgs
{
ApiKey = "string",
BearerToken = "string",
CaData = "string",
CaFile = "string",
CaFingerprint = "string",
CertData = "string",
CertFile = "string",
Endpoints = new[]
{
"string",
},
EsClientAuthentication = "string",
Headers =
{
{ "string", "string" },
},
Insecure = false,
KeyData = "string",
KeyFile = "string",
Password = "string",
Username = "string",
},
},
Timeouts = new Elasticstack.Inputs.ElasticsearchIndexTemplateIlmAttachmentTimeoutsArgs
{
Create = "string",
Delete = "string",
Read = "string",
Update = "string",
},
});
example, err := elasticstack.NewElasticsearchIndexTemplateIlmAttachment(ctx, "elasticsearchIndexTemplateIlmAttachmentResource", &elasticstack.ElasticsearchIndexTemplateIlmAttachmentArgs{
IndexTemplate: pulumi.String("string"),
LifecycleName: pulumi.String("string"),
ElasticsearchConnections: elasticstack.ElasticsearchIndexTemplateIlmAttachmentElasticsearchConnectionArray{
&elasticstack.ElasticsearchIndexTemplateIlmAttachmentElasticsearchConnectionArgs{
ApiKey: pulumi.String("string"),
BearerToken: pulumi.String("string"),
CaData: pulumi.String("string"),
CaFile: pulumi.String("string"),
CaFingerprint: pulumi.String("string"),
CertData: pulumi.String("string"),
CertFile: pulumi.String("string"),
Endpoints: pulumi.StringArray{
pulumi.String("string"),
},
EsClientAuthentication: pulumi.String("string"),
Headers: pulumi.StringMap{
"string": pulumi.String("string"),
},
Insecure: pulumi.Bool(false),
KeyData: pulumi.String("string"),
KeyFile: pulumi.String("string"),
Password: pulumi.String("string"),
Username: pulumi.String("string"),
},
},
Timeouts: &elasticstack.ElasticsearchIndexTemplateIlmAttachmentTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
resource "elasticstack_elasticsearch_index_template_ilm_attachment" "elasticsearchIndexTemplateIlmAttachmentResource" {
lifecycle {
create_before_destroy = true
}
index_template = "string"
lifecycle_name = "string"
elasticsearch_connections {
api_key = "string"
bearer_token = "string"
ca_data = "string"
ca_file = "string"
ca_fingerprint = "string"
cert_data = "string"
cert_file = "string"
endpoints = ["string"]
es_client_authentication = "string"
headers = {
"string" = "string"
}
insecure = false
key_data = "string"
key_file = "string"
password = "string"
username = "string"
}
timeouts = {
create = "string"
delete = "string"
read = "string"
update = "string"
}
}
var elasticsearchIndexTemplateIlmAttachmentResource = new ElasticsearchIndexTemplateIlmAttachment("elasticsearchIndexTemplateIlmAttachmentResource", ElasticsearchIndexTemplateIlmAttachmentArgs.builder()
.indexTemplate("string")
.lifecycleName("string")
.elasticsearchConnections(ElasticsearchIndexTemplateIlmAttachmentElasticsearchConnectionArgs.builder()
.apiKey("string")
.bearerToken("string")
.caData("string")
.caFile("string")
.caFingerprint("string")
.certData("string")
.certFile("string")
.endpoints("string")
.esClientAuthentication("string")
.headers(Map.of("string", "string"))
.insecure(false)
.keyData("string")
.keyFile("string")
.password("string")
.username("string")
.build())
.timeouts(ElasticsearchIndexTemplateIlmAttachmentTimeoutsArgs.builder()
.create("string")
.delete("string")
.read("string")
.update("string")
.build())
.build());
elasticsearch_index_template_ilm_attachment_resource = elasticstack.ElasticsearchIndexTemplateIlmAttachment("elasticsearchIndexTemplateIlmAttachmentResource",
index_template="string",
lifecycle_name="string",
elasticsearch_connections=[{
"api_key": "string",
"bearer_token": "string",
"ca_data": "string",
"ca_file": "string",
"ca_fingerprint": "string",
"cert_data": "string",
"cert_file": "string",
"endpoints": ["string"],
"es_client_authentication": "string",
"headers": {
"string": "string",
},
"insecure": False,
"key_data": "string",
"key_file": "string",
"password": "string",
"username": "string",
}],
timeouts={
"create": "string",
"delete": "string",
"read": "string",
"update": "string",
})
const elasticsearchIndexTemplateIlmAttachmentResource = new elasticstack.ElasticsearchIndexTemplateIlmAttachment("elasticsearchIndexTemplateIlmAttachmentResource", {
indexTemplate: "string",
lifecycleName: "string",
elasticsearchConnections: [{
apiKey: "string",
bearerToken: "string",
caData: "string",
caFile: "string",
caFingerprint: "string",
certData: "string",
certFile: "string",
endpoints: ["string"],
esClientAuthentication: "string",
headers: {
string: "string",
},
insecure: false,
keyData: "string",
keyFile: "string",
password: "string",
username: "string",
}],
timeouts: {
create: "string",
"delete": "string",
read: "string",
update: "string",
},
});
type: elasticstack:ElasticsearchIndexTemplateIlmAttachment
properties:
elasticsearchConnections:
- apiKey: string
bearerToken: string
caData: string
caFile: string
caFingerprint: string
certData: string
certFile: string
endpoints:
- string
esClientAuthentication: string
headers:
string: string
insecure: false
keyData: string
keyFile: string
password: string
username: string
indexTemplate: string
lifecycleName: string
timeouts:
create: string
delete: string
read: string
update: string
ElasticsearchIndexTemplateIlmAttachment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ElasticsearchIndexTemplateIlmAttachment resource accepts the following input properties:
- Index
Template string - Name of the index template to attach the ILM policy to. For Fleet-managed templates, this is typically the template name (e.g., 'logs-system.syslog').
- Lifecycle
Name string - Name of the ILM policy to attach to the index template.
- Elasticsearch
Connections List<ElasticsearchIndex Template Ilm Attachment Elasticsearch Connection> - Elasticsearch connection configuration block.
- Timeouts
Elasticsearch
Index Template Ilm Attachment Timeouts
- Index
Template string - Name of the index template to attach the ILM policy to. For Fleet-managed templates, this is typically the template name (e.g., 'logs-system.syslog').
- Lifecycle
Name string - Name of the ILM policy to attach to the index template.
- Elasticsearch
Connections []ElasticsearchIndex Template Ilm Attachment Elasticsearch Connection Args - Elasticsearch connection configuration block.
- Timeouts
Elasticsearch
Index Template Ilm Attachment Timeouts Args
- index_
template string - Name of the index template to attach the ILM policy to. For Fleet-managed templates, this is typically the template name (e.g., 'logs-system.syslog').
- lifecycle_
name string - Name of the ILM policy to attach to the index template.
- elasticsearch_
connections list(object) - Elasticsearch connection configuration block.
- timeouts object
- index
Template String - Name of the index template to attach the ILM policy to. For Fleet-managed templates, this is typically the template name (e.g., 'logs-system.syslog').
- lifecycle
Name String - Name of the ILM policy to attach to the index template.
- elasticsearch
Connections List<ElasticsearchIndex Template Ilm Attachment Elasticsearch Connection> - Elasticsearch connection configuration block.
- timeouts
Elasticsearch
Index Template Ilm Attachment Timeouts
- index
Template string - Name of the index template to attach the ILM policy to. For Fleet-managed templates, this is typically the template name (e.g., 'logs-system.syslog').
- lifecycle
Name string - Name of the ILM policy to attach to the index template.
- elasticsearch
Connections ElasticsearchIndex Template Ilm Attachment Elasticsearch Connection[] - Elasticsearch connection configuration block.
- timeouts
Elasticsearch
Index Template Ilm Attachment Timeouts
- index_
template str - Name of the index template to attach the ILM policy to. For Fleet-managed templates, this is typically the template name (e.g., 'logs-system.syslog').
- lifecycle_
name str - Name of the ILM policy to attach to the index template.
- elasticsearch_
connections Sequence[ElasticsearchIndex Template Ilm Attachment Elasticsearch Connection Args] - Elasticsearch connection configuration block.
- timeouts
Elasticsearch
Index Template Ilm Attachment Timeouts Args
- index
Template String - Name of the index template to attach the ILM policy to. For Fleet-managed templates, this is typically the template name (e.g., 'logs-system.syslog').
- lifecycle
Name String - Name of the ILM policy to attach to the index template.
- elasticsearch
Connections List<Property Map> - Elasticsearch connection configuration block.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the ElasticsearchIndexTemplateIlmAttachment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ElasticsearchIndexTemplateIlmAttachment Resource
Get an existing ElasticsearchIndexTemplateIlmAttachment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ElasticsearchIndexTemplateIlmAttachmentState, opts?: CustomResourceOptions): ElasticsearchIndexTemplateIlmAttachment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
elasticsearch_connections: Optional[Sequence[ElasticsearchIndexTemplateIlmAttachmentElasticsearchConnectionArgs]] = None,
index_template: Optional[str] = None,
lifecycle_name: Optional[str] = None,
timeouts: Optional[ElasticsearchIndexTemplateIlmAttachmentTimeoutsArgs] = None) -> ElasticsearchIndexTemplateIlmAttachmentfunc GetElasticsearchIndexTemplateIlmAttachment(ctx *Context, name string, id IDInput, state *ElasticsearchIndexTemplateIlmAttachmentState, opts ...ResourceOption) (*ElasticsearchIndexTemplateIlmAttachment, error)public static ElasticsearchIndexTemplateIlmAttachment Get(string name, Input<string> id, ElasticsearchIndexTemplateIlmAttachmentState? state, CustomResourceOptions? opts = null)public static ElasticsearchIndexTemplateIlmAttachment get(String name, Output<String> id, ElasticsearchIndexTemplateIlmAttachmentState state, CustomResourceOptions options)resources: _: type: elasticstack:ElasticsearchIndexTemplateIlmAttachment get: id: ${id}import {
to = elasticstack_elasticsearch_index_template_ilm_attachment.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Elasticsearch
Connections List<ElasticsearchIndex Template Ilm Attachment Elasticsearch Connection> - Elasticsearch connection configuration block.
- Index
Template string - Name of the index template to attach the ILM policy to. For Fleet-managed templates, this is typically the template name (e.g., 'logs-system.syslog').
- Lifecycle
Name string - Name of the ILM policy to attach to the index template.
- Timeouts
Elasticsearch
Index Template Ilm Attachment Timeouts
- Elasticsearch
Connections []ElasticsearchIndex Template Ilm Attachment Elasticsearch Connection Args - Elasticsearch connection configuration block.
- Index
Template string - Name of the index template to attach the ILM policy to. For Fleet-managed templates, this is typically the template name (e.g., 'logs-system.syslog').
- Lifecycle
Name string - Name of the ILM policy to attach to the index template.
- Timeouts
Elasticsearch
Index Template Ilm Attachment Timeouts Args
- elasticsearch_
connections list(object) - Elasticsearch connection configuration block.
- index_
template string - Name of the index template to attach the ILM policy to. For Fleet-managed templates, this is typically the template name (e.g., 'logs-system.syslog').
- lifecycle_
name string - Name of the ILM policy to attach to the index template.
- timeouts object
- elasticsearch
Connections List<ElasticsearchIndex Template Ilm Attachment Elasticsearch Connection> - Elasticsearch connection configuration block.
- index
Template String - Name of the index template to attach the ILM policy to. For Fleet-managed templates, this is typically the template name (e.g., 'logs-system.syslog').
- lifecycle
Name String - Name of the ILM policy to attach to the index template.
- timeouts
Elasticsearch
Index Template Ilm Attachment Timeouts
- elasticsearch
Connections ElasticsearchIndex Template Ilm Attachment Elasticsearch Connection[] - Elasticsearch connection configuration block.
- index
Template string - Name of the index template to attach the ILM policy to. For Fleet-managed templates, this is typically the template name (e.g., 'logs-system.syslog').
- lifecycle
Name string - Name of the ILM policy to attach to the index template.
- timeouts
Elasticsearch
Index Template Ilm Attachment Timeouts
- elasticsearch_
connections Sequence[ElasticsearchIndex Template Ilm Attachment Elasticsearch Connection Args] - Elasticsearch connection configuration block.
- index_
template str - Name of the index template to attach the ILM policy to. For Fleet-managed templates, this is typically the template name (e.g., 'logs-system.syslog').
- lifecycle_
name str - Name of the ILM policy to attach to the index template.
- timeouts
Elasticsearch
Index Template Ilm Attachment Timeouts Args
- elasticsearch
Connections List<Property Map> - Elasticsearch connection configuration block.
- index
Template String - Name of the index template to attach the ILM policy to. For Fleet-managed templates, this is typically the template name (e.g., 'logs-system.syslog').
- lifecycle
Name String - Name of the ILM policy to attach to the index template.
- timeouts Property Map
Supporting Types
ElasticsearchIndexTemplateIlmAttachmentElasticsearchConnection, ElasticsearchIndexTemplateIlmAttachmentElasticsearchConnectionArgs
- Api
Key string - API Key to use for authentication to Elasticsearch
- Bearer
Token string - Bearer Token to use for authentication to Elasticsearch
- Ca
Data string - PEM-encoded custom Certificate Authority certificate
- Ca
File string - Path to a custom Certificate Authority certificate
- Ca
Fingerprint string - SHA-256 hex fingerprint (64 hexadecimal characters, no colons or separators) of the server TLS certificate used to pin the connection instead of a full CA chain
- Cert
Data string - PEM encoded certificate for client auth
- Cert
File string - Path to a file containing the PEM encoded certificate for client auth
- Endpoints List<string>
- Es
Client stringAuthentication - ES Client Authentication field to be used with the JWT token
- Headers Dictionary<string, string>
- A list of headers to be sent with each request to Elasticsearch.
- Insecure bool
- Disable TLS certificate validation
- Key
Data string - PEM encoded private key for client auth
- Key
File string - Path to a file containing the PEM encoded private key for client auth
- Password string
- Password to use for API authentication to Elasticsearch.
- Username string
- Username to use for API authentication to Elasticsearch.
- Api
Key string - API Key to use for authentication to Elasticsearch
- Bearer
Token string - Bearer Token to use for authentication to Elasticsearch
- Ca
Data string - PEM-encoded custom Certificate Authority certificate
- Ca
File string - Path to a custom Certificate Authority certificate
- Ca
Fingerprint string - SHA-256 hex fingerprint (64 hexadecimal characters, no colons or separators) of the server TLS certificate used to pin the connection instead of a full CA chain
- Cert
Data string - PEM encoded certificate for client auth
- Cert
File string - Path to a file containing the PEM encoded certificate for client auth
- Endpoints []string
- Es
Client stringAuthentication - ES Client Authentication field to be used with the JWT token
- Headers map[string]string
- A list of headers to be sent with each request to Elasticsearch.
- Insecure bool
- Disable TLS certificate validation
- Key
Data string - PEM encoded private key for client auth
- Key
File string - Path to a file containing the PEM encoded private key for client auth
- Password string
- Password to use for API authentication to Elasticsearch.
- Username string
- Username to use for API authentication to Elasticsearch.
- api_
key string - API Key to use for authentication to Elasticsearch
- bearer_
token string - Bearer Token to use for authentication to Elasticsearch
- ca_
data string - PEM-encoded custom Certificate Authority certificate
- ca_
file string - Path to a custom Certificate Authority certificate
- ca_
fingerprint string - SHA-256 hex fingerprint (64 hexadecimal characters, no colons or separators) of the server TLS certificate used to pin the connection instead of a full CA chain
- cert_
data string - PEM encoded certificate for client auth
- cert_
file string - Path to a file containing the PEM encoded certificate for client auth
- endpoints list(string)
- es_
client_ stringauthentication - ES Client Authentication field to be used with the JWT token
- headers map(string)
- A list of headers to be sent with each request to Elasticsearch.
- insecure bool
- Disable TLS certificate validation
- key_
data string - PEM encoded private key for client auth
- key_
file string - Path to a file containing the PEM encoded private key for client auth
- password string
- Password to use for API authentication to Elasticsearch.
- username string
- Username to use for API authentication to Elasticsearch.
- api
Key String - API Key to use for authentication to Elasticsearch
- bearer
Token String - Bearer Token to use for authentication to Elasticsearch
- ca
Data String - PEM-encoded custom Certificate Authority certificate
- ca
File String - Path to a custom Certificate Authority certificate
- ca
Fingerprint String - SHA-256 hex fingerprint (64 hexadecimal characters, no colons or separators) of the server TLS certificate used to pin the connection instead of a full CA chain
- cert
Data String - PEM encoded certificate for client auth
- cert
File String - Path to a file containing the PEM encoded certificate for client auth
- endpoints List<String>
- es
Client StringAuthentication - ES Client Authentication field to be used with the JWT token
- headers Map<String,String>
- A list of headers to be sent with each request to Elasticsearch.
- insecure Boolean
- Disable TLS certificate validation
- key
Data String - PEM encoded private key for client auth
- key
File String - Path to a file containing the PEM encoded private key for client auth
- password String
- Password to use for API authentication to Elasticsearch.
- username String
- Username to use for API authentication to Elasticsearch.
- api
Key string - API Key to use for authentication to Elasticsearch
- bearer
Token string - Bearer Token to use for authentication to Elasticsearch
- ca
Data string - PEM-encoded custom Certificate Authority certificate
- ca
File string - Path to a custom Certificate Authority certificate
- ca
Fingerprint string - SHA-256 hex fingerprint (64 hexadecimal characters, no colons or separators) of the server TLS certificate used to pin the connection instead of a full CA chain
- cert
Data string - PEM encoded certificate for client auth
- cert
File string - Path to a file containing the PEM encoded certificate for client auth
- endpoints string[]
- es
Client stringAuthentication - ES Client Authentication field to be used with the JWT token
- headers {[key: string]: string}
- A list of headers to be sent with each request to Elasticsearch.
- insecure boolean
- Disable TLS certificate validation
- key
Data string - PEM encoded private key for client auth
- key
File string - Path to a file containing the PEM encoded private key for client auth
- password string
- Password to use for API authentication to Elasticsearch.
- username string
- Username to use for API authentication to Elasticsearch.
- api_
key str - API Key to use for authentication to Elasticsearch
- bearer_
token str - Bearer Token to use for authentication to Elasticsearch
- ca_
data str - PEM-encoded custom Certificate Authority certificate
- ca_
file str - Path to a custom Certificate Authority certificate
- ca_
fingerprint str - SHA-256 hex fingerprint (64 hexadecimal characters, no colons or separators) of the server TLS certificate used to pin the connection instead of a full CA chain
- cert_
data str - PEM encoded certificate for client auth
- cert_
file str - Path to a file containing the PEM encoded certificate for client auth
- endpoints Sequence[str]
- es_
client_ strauthentication - ES Client Authentication field to be used with the JWT token
- headers Mapping[str, str]
- A list of headers to be sent with each request to Elasticsearch.
- insecure bool
- Disable TLS certificate validation
- key_
data str - PEM encoded private key for client auth
- key_
file str - Path to a file containing the PEM encoded private key for client auth
- password str
- Password to use for API authentication to Elasticsearch.
- username str
- Username to use for API authentication to Elasticsearch.
- api
Key String - API Key to use for authentication to Elasticsearch
- bearer
Token String - Bearer Token to use for authentication to Elasticsearch
- ca
Data String - PEM-encoded custom Certificate Authority certificate
- ca
File String - Path to a custom Certificate Authority certificate
- ca
Fingerprint String - SHA-256 hex fingerprint (64 hexadecimal characters, no colons or separators) of the server TLS certificate used to pin the connection instead of a full CA chain
- cert
Data String - PEM encoded certificate for client auth
- cert
File String - Path to a file containing the PEM encoded certificate for client auth
- endpoints List<String>
- es
Client StringAuthentication - ES Client Authentication field to be used with the JWT token
- headers Map<String>
- A list of headers to be sent with each request to Elasticsearch.
- insecure Boolean
- Disable TLS certificate validation
- key
Data String - PEM encoded private key for client auth
- key
File String - Path to a file containing the PEM encoded private key for client auth
- password String
- Password to use for API authentication to Elasticsearch.
- username String
- Username to use for API authentication to Elasticsearch.
ElasticsearchIndexTemplateIlmAttachmentTimeouts, ElasticsearchIndexTemplateIlmAttachmentTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
The pulumi import command can be used, for example:
$ pulumi import elasticstack:index/elasticsearchIndexTemplateIlmAttachment:ElasticsearchIndexTemplateIlmAttachment logs_system <cluster_uuid>/logs-system.syslog@custom
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- elasticstack elastic/terraform-provider-elasticstack
- License
- Notes
- This Pulumi package is based on the
elasticstackTerraform Provider.
published on Sunday, Sep 13, 2026 by elastic