Skip to content

Add capability to manage "Libraries" to the provider #66

@dscanlan-sg

Description

@dscanlan-sg

Is your feature request related to a problem? Please describe.

We are currently setting up Segment in Terraform and would like to be able to utilise "Libraries" but currently can only use LIVE tracking plans not PROPERTY_LIBRARY or RULE_LIBRARY which is supported by the Public API. This means we will end up with repeated groups of events or attributes which will have to be maintained within the code.

Describe the solution you'd like

Ability to manage the resource type segment_tracking_plan with types PROPERTY_LIBRARY or RULE_LIBRARY which can then be linked to the LIVE tracking plan's.

Describe alternatives you've considered

  • Repeating blocks of events and/or attributes in each tracking plan
  • Reproduce this functionality using a common/shared file within TF
  • Use the Public API (but ideally want everything in TF)

Additional context

The PROPERTY_LIBRARY is probably more of a priority at this stage and the RULE_LIBRARY likely something we would want in the future.

Public API reference to types noted above: https://docs.segmentapis.com/tag/Tracking-Plans#operation/createTrackingPlan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions