-
Notifications
You must be signed in to change notification settings - Fork 216
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
failed to create pagerduty escalation policy, #227
Comments
Hi @AaronMuriel ! I'm unable to reproduce this. Can you share some more context? Possibly the call to the API in the logs? |
I ran into this same problem and it turned out to be that it was because I was setting a schedule target but I did not specify |
@stmcallister to expand on the reproduction, I've ran into this (and took me way to long to debug). To repro, use:
Besides the PD api returning a 404 that doesn't really point to the issue, the plan actually works fine! |
I hit this issue (I think) today too. I imported the pagerduty_escalation_policy but I found I had to use the actual ID of the schedule vs say using
Error:
^^ Working |
Error: POST API call to https://api.pagerduty.com/escalation_policies failed 404 Not Found. Code: 2100, Errors: , Message: Not Found
provider version = 1.7.1
Terraform Version
Run
terraform -v
to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.terraform enterprise v0.12.23
Affected Resource(s)
Please list the resources as a list, for example:
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
Debug Output
Error: POST API call to https://api.pagerduty.com/escalation_policies failed 404 Not Found. Code: 2100, Errors: , Message: Not Found
Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the
crash.log
.Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
The text was updated successfully, but these errors were encountered: