hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.78k stars 9.14k forks source link

[Enhancement]: Add AIMLOptions.NaturalLanguageQueryGenerationOptions to aws_opensearch_domain #39722

Open adammichalik opened 3 hours ago

adammichalik commented 3 hours ago

Description

AWS OpenSearch domain has since recently a new configuration option to enable or disable AI/ML features. This option should be exposed to Terraform configuration.

Affected Resource(s) and/or Data Source(s)

aws_opensearch_domain

Potential Terraform Configuration

resource "aws_opensearch_domain" "example" {
  ai_ml_options {
    natural_language_query_generation_options {
      desired_state = ENABLED # The desired state of the natural language query generation feature. Valid values are ENABLED and DISABLED.
    }
  }
}

References

https://docs.aws.amazon.com/opensearch-service/latest/APIReference/API_CreateDomain.html#opensearchservice-CreateDomain-request-AIMLOptions

Would you like to implement a fix?

No

github-actions[bot] commented 3 hours ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue