-
Notifications
You must be signed in to change notification settings - Fork 123
Description
**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:
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.