-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding pagerduty_priority data source #219
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job! This LGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have left a comment regarding the implementation of data source priority in ruleset_rule resource.
value = "P5DTL0K" | ||
} | ||
priority { | ||
value = pagerduty_priority.p1.id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it should be data.pagerduty_priority.p1.id
instead of pagerduty_priority.p1.id
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stmcallister Any thoughts on this?
FTR, acceptance tests for priorities are failing with development accounts:
This test could be skipped if the |
This adds the
pagerduty_priority
data source and fixes some bugs in the documentation. Addresses issues #216Test results: