I have the following resource definition in a .tf file to export flows:
resource "genesyscloud_tf_export" "export" {
directory = "./genesyscloud"
log_permission_errors = true
include_filter_resources = [
"genesyscloud_flow::^POC.*$"
]
export_as_hcl = true
include_state_file = true
}
"terraform plan" succeeds, but when i run "terraform apply" I get the following error:
genesyscloud_tf_export.export: Creating...
│ Error: resources cannot be empty
│
│ with genesyscloud_tf_export.export,
│ on flowExportRegExTest.tf line 14, in resource "genesyscloud_tf_export" "export":
│ 14: resource "genesyscloud_tf_export" "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.