Skip to content

Commit

Permalink
This commit is an extension of the following issue:
Browse files Browse the repository at this point in the history
PagerDuty#307

It adds the required extra schema definition to fully enable the
ruleset data source to return routing_keys.
  • Loading branch information
Polski Walker committed Mar 4, 2021
1 parent d29b163 commit 8938907
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pagerduty/data_source_pagerduty_ruleset.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ func dataSourcePagerDutyRuleset() *schema.Resource {
Type: schema.TypeString,
Required: true,
},
"routing_keys": {
Type: schema.TypeList,
Computed: true,
Elem: &schema.Schema{
Type: schema.TypeString,
},
},
},
}
}
Expand Down

0 comments on commit 8938907

Please sign in to comment.