-
Notifications
You must be signed in to change notification settings - Fork 213
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
Cannot import a ruleset rule #197
Comments
Thanks for fixing the issue... |
Thanks for pointing this out! Completely slipped my mind to build out the tests for importing, and that lead me to the fact that I didn't fully build out importing. Version 1.6.1 was just released. So, you should now be able to import rulesets and rules. To import a rule you'll use syntax similar to importing Service Integrations. The ID will be combination of the
|
It seems working :) |
@stmcallister Sorry for annoying you again, but it seems not working for
|
doh! Okay. Sorry about that. I should be able to push out a fix early next week. |
Not sure if this is exactly what @jhon287 was referring to; but there's no documented way to create a catch_all rule with the provider. The upstream API appears to support it, but catch_all is not a valid variable:
|
When you create a ruleset it automatically creates a |
Hello,
I have an issue when I'm trying to import a ruleset rule:
Terraform Version
Affected Resource(s)
Please list the resources as a list, for example:
Expected Behavior
Rule is imported on Terraform state
Actual Behavior
Rule not found because of wrong API URL.
URL needs to be:
https://api.pagerduty.com/rulesets/<ruleset_id>/rules/<ruleset_rule_id>
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform import pagerduty_ruleset_rule.main <ruleset_rule_id>
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
The text was updated successfully, but these errors were encountered: