Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs Improvement: Include example for enabling built-in plugins #851

Open
VimCommando opened this issue Aug 29, 2024 · 1 comment
Open

Comments

@VimCommando
Copy link

The docs page for ec_deployment_provider does not give an example for how to enable built-in plugins:

https://registry.terraform.io/providers/elastic/ec/latest/docs/resources/deployment_extension#schema

The two examples both use a download_url, which a built-in plugin does not use.

In the Elastic Cloud deployment API defines the DeploymentUpdateRequest here:

https://www.elastic.co/guide/en/cloud/current/definitions.html#DeploymentUpdateRequest

In this body the sub-section treats user-defined and built-in plugins differently. For example:

{
  // Rest of body omitted
            "elasticsearch": {
              "user_plugins": [],
              "user_bundles": [],
              "version": "8.14.3",
              "enabled_built_in_plugins": [
                "analysis-icu"  // <-- this here
              ]
            }
}

It would be great to have an example of how Terraform handles defining this.

@VimCommando
Copy link
Author

Related to #230

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant