Legacy Dev Forum Posts

 View Only

Sign Up

Include_filter_resources and genesyscloud_flow

  • 1.  Include_filter_resources and genesyscloud_flow

    Posted 06-05-2025 18:33

    cbhenderson | 2025-03-06 20:15:49 UTC | #1

    I have the following resource definition in a .tf file to export flows:

    resource "genesyscloudtfexport" "export" { directory = "./genesyscloud" logpermissionerrors = true includefilterresources = [ "genesyscloudflow::^POC.*$" ] exportashcl = true includestate_file = true }

    "terraform plan" succeeds, but when i run "terraform apply" I get the following error:

    genesyscloudtfexport.export: Creating...Error: resources cannot be empty │ │ with genesyscloudtfexport.export, │ on flowExportRegExTest.tf line 14, in resource "genesyscloudtfexport" "export": │ 14: resource "genesyscloudtfexport" "export" {

    Is it not possible to use the "RegEx" strings after :: to select flows? If not, is there a way to limit the flows that are selected?

    Thank you in advance.


    cbhenderson | 2025-03-06 20:18:24 UTC | #2

    Also, and identical export resource definition except getting the genesyscloudarchitectdatatable object works perfectly.


    system | 2025-04-05 20:18:48 UTC | #3

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 32078