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.83k stars 9.18k forks source link

[Enhancement]: Creating a CloudSearch Analysis Scheme #31347

Open MorrisJobke opened 1 year ago

MorrisJobke commented 1 year ago

Description

AWS CloudSearch allows to configure a custom Analysis Scheme. As of now it is not possible to also configure this within Terraform. The provided example is a shortened one and does not cover all cases that the Analysis Scheme provides, but it gives an idea how this might look like.

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

Potential Terraform Configuration

resource "aws_cloudsearch_domain_analysis_scheme" "websites" {
  domain_name = aws_cloudsearch_domain.websites.id
  name = "email_address_grouping"
  language = "mul"

  synonyms = <<GROUP
{
  "groups": [
    [
      "gmail.com",
      "googlemail.com"
    ]
  ]
}
GROUP
}

References

Would you like to implement a fix?

None

github-actions[bot] commented 1 year ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue