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
We've been experiencing an error consistently Error calling GetTagWithContext while trying to run terraform plan to provision some PagerDuty resources and apply TAGS to them.
I suspect this might be related to a change in the PagerDuty API:
curl -s -H 'Content-Type: application/json' -H "Authorization: Token token=${API_TOKEN}" -X GET "https://api.pagerduty.com/tags/PJMK666" | jq .
"Object not found"
And how the provider tries to unmarshal that into a pagerduty.Tag struct instance.
│ Error: Error calling GetTagWithContext
│
│ Could not decode JSON response: json: cannot unmarshal number into Go value
│ of type pagerduty.Tag
Expected Behavior
The GetTagWithContext response was supposed to be unmarshaled successful and the tag was supposed to be used by a pagerduty_tag_assignment resource without problems.
Actual Behavior
I think the provider is failing while trying to determine if the tag already exists so it can update it.
But it just throws this error: Error calling GetTagWithContext.
Steps to Reproduce
terraform plan
The text was updated successfully, but these errors were encountered:
Hi,
We've been experiencing an error consistently
Error calling GetTagWithContext
while trying to run terraform plan to provision some PagerDuty resources and apply TAGS to them.I suspect this might be related to a change in the PagerDuty API:
And how the provider tries to unmarshal that into a
pagerduty.Tag
struct instance.Terraform Version
Terraform v1.6.2
Affected Resource(s)
Terraform Configuration Files
Debug Output
Expected Behavior
The
GetTagWithContext
response was supposed to be unmarshaled successful and the tag was supposed to be used by apagerduty_tag_assignment
resource without problems.Actual Behavior
I think the provider is failing while trying to determine if the tag already exists so it can update it.
But it just throws this error:
Error calling GetTagWithContext
.Steps to Reproduce
terraform plan
The text was updated successfully, but these errors were encountered: