turbot / flowpipe

Flowpipe is a cloud scripting engine. Automation and workflow to connect your clouds to the people, systems and data that matters.
https://flowpipe.io
GNU Affero General Public License v3.0
361 stars 13 forks source link

Getting error: Unsupported attribute: 'category' for samples mod #466

Closed Priyanka-Chatterjee-2000 closed 9 months ago

Priyanka-Chatterjee-2000 commented 9 months ago

mod.fp:

mod "link_jira_issues" {
  title       = "Link Issues Across Jira"
  description = "Search for related Jira issues using Jira Query Language (JQL) query. If there are any issues found, update their descriptions with the related issue numbers, but if none are found, create a new issue with the query details."
  category = ["productivity"]
  require {
    mod "github.com/turbot/flowpipe-mod-jira" {
      version = "0.0.1-rc.6"
    }
  }
}

Error:

Error: mod load failed:
Unsupported attribute: 'category' not expected here.
(/Users/priyankachatterjee/workspace/turbot/flowpipe-samples/link_jira_issues/mod.fp:4,3-30)
Priyanka-Chatterjee-2000 commented 9 months ago

Sorry, it was my mistake the supported keyword is categories and not category. I am closing this issue.