You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to define a TeamRoutingRule with timeRestrictions, but there seems to be an issue with TeamRoutingRule.TimeRestrictions[0].Restriction[0].EndDay and TeamRoutingRule.TimeRestrictions[0].Restriction[0].StartDay.
$ pulumi preview
Previewing update (opsgenie.test):
Type Name Plan Info
pulumi:pulumi:Stack opsgenie.test 6 messages
└─ opsgenie:index:TeamRoutingRule Test routing rule 2 errors
Diagnostics:
opsgenie:index:TeamRoutingRule (Test routing rule):
error: opsgenie:index/teamRoutingRule:TeamRoutingRule resource 'Test routing rule' has a problem: Invalid or unknown key. Examine values at 'TeamRoutingRule.TimeRestrictions[0].Restriction[0].EndDay'.
error: opsgenie:index/teamRoutingRule:TeamRoutingRule resource 'Test routing rule' has a problem: Invalid or unknown key. Examine values at 'TeamRoutingRule.TimeRestrictions[0].Restriction[0].StartDay'.
Expected Behavior
Routing Rule is created successfully with a time restriction set.
Actual Behavior
Routing Rule isn't created at all (see Steps to reproduce)
Versions used
CLI
Version 3.28.0
Go Version go1.18.1
Go Compiler gc
Plugins
NAME VERSION
nodejs unknown
opsgenie 1.1.5
Additional context
When not using timeRestrictions the routing rule is created successfully, so all other parameters seem to be fine.
Seems to be a similar issue as in #17
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered:
I'll need to verify, but I do believe you are correct that this is a repeat of #17, just on a different resource, where the auto-generated plural version assumes to have the same fields as the singular, which is not the case here.
What happened?
I am trying to define a TeamRoutingRule with timeRestrictions, but there seems to be an issue with
TeamRoutingRule.TimeRestrictions[0].Restriction[0].EndDay
andTeamRoutingRule.TimeRestrictions[0].Restriction[0].StartDay
.Steps to reproduce
Expected Behavior
Routing Rule is created successfully with a time restriction set.
Actual Behavior
Routing Rule isn't created at all (see Steps to reproduce)
Versions used
CLI
Version 3.28.0
Go Version go1.18.1
Go Compiler gc
Plugins
NAME VERSION
nodejs unknown
opsgenie 1.1.5
Additional context
When not using timeRestrictions the routing rule is created successfully, so all other parameters seem to be fine.
Seems to be a similar issue as in #17
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: