You must be logged in to view saved presets
Configures an AWS OpenSearch Domain with SAML authentication options, including identity provider settings.
resource "aws_opensearch_domain" "example" {
cluster_config {
instance_type = "r4.large.search"
}
domain_name = "example"
engine_version = "OpenSearch_1.1"
snapshot_options {
automated_snapshot_start_hour = 23
}
tags = {
Domain = "TestDomain"
}
}
resource "aws_opensearch_domain_saml_options" "example" {
domain_name = aws_opensearch_domain.example.domain_name
saml_options {
enabled = true
idp {
entity_id = "https://example.com"
metadata_content = file("./saml-metadata.xml")
}
}
}