Skip to content

Migration for alert_grouping_parameters depends on an import from a data resource #988

@mpistrang

Description

@mpistrang

I am prepping to migrate from alert_grouping_parameters to the pagerduty_alert_grouping_setting resource to take advantage of content_based_intelligent grouping. I am referencing the instructions here.

The migration instructions include setting up a data resource to link to the already existing alert grouping objects that I assume PD has migrated behind the scenes, and then uses an import block to link that to the new resource.

My understanding of terraform is that a data resource cannot be used as the source of an import block, and this approach fails with Unsuitable value: value must be known.

Are there additional steps or assumptions I am missing here to make this migration path work?

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