You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
skip_destroy - (Optional) Set to true if you do not wish the agent policy to be deleted at destroy time, and instead just remove the agent policy from the Terraform state.
This would be useful when your enrolled Fleet agents are not managed by Terraform. In this case Terraform does not know if it is safe to remove the policy because there may be enrolled agents that are still assigned to this policy. It is not possible, nor would be it safe, to delete an agent policy while an agent is using it.
A similar option is available for other providers' resources for similar reasons. See this query.
The text was updated successfully, but these errors were encountered:
Allow setting
skip_destroy
on the elasticstack_fleet_agent_policy resource.Proposed description:
This would be useful when your enrolled Fleet agents are not managed by Terraform. In this case Terraform does not know if it is safe to remove the policy because there may be enrolled agents that are still assigned to this policy. It is not possible, nor would be it safe, to delete an agent policy while an agent is using it.
A similar option is available for other providers' resources for similar reasons. See this query.
The text was updated successfully, but these errors were encountered: