Skip to content

[Feature] Elastic APM integration configuration #1438

@juretratnjek

Description

@juretratnjek

**Is your feature request related to a problem? **
The Elastic Terraform provider doesn't support managing the Elastic APM integration policy at this time.

Describe the resource you would like to have implemented.
The same as for Elastic Defend integration, it seems that /api/fleet/package_policies/[integration ID] endpoint is the correct one.
We need https://github.com/elastic/terraform-provider-elasticstack/blob/main/internal/fleet/integration_policy_resource.go to support customization for Elastic APM integration.

Describe the solution you'd like
I'd like to be able to customize the Elastic APM integration with the elasticstack_fleet_integration_policy resource, the same way the UI offers:

Image Image Image

Describe alternatives you've considered
There is currently no workaround with Terraform, as the API endpoint are simply not instrumented in the provider.

One alternative would be to create an APM Integration via the API and then intercept the request via Browser Dev Tools. There is no preview API request button while creating this integration through UI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions