Open reginsco opened 1 year ago
Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform v1.3.8 on linux_amd64
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.
resource "opsgenie_integration_action" "integration_action" { integration_id = var.integration_id ignore { name = "Ignore" filter { type = "match-all-conditions" conditions { field = "issueType" operation = "matches-regex" expected_value = ".*(Epic|Task|Sub).*" } } } create { name = "Create Alert" tags = ["{{labels}}", "${each.value} Ticket", "issueType:{{issueType}}"] user = "Jira" alias = "{{key}}" message = "{{summary}}" description = "{{description}}" append_attachments = true filter { type = "match-all-conditions" conditions { field = "eventType" operation = "contains" expected_value = "issue_updated" } conditions { field = "status" operation = "contains" expected_value = "Open" } } } close { name = "Close Alert" filter { type = "match-all-conditions" conditions { field = "status" operation = "matches-regex" expected_value = "Done|Closed|Cancelled|Canceled|Resolved" } conditions { field = "eventType" operation = "equals" expected_value = "issue_updated" } } } acknowledge { name = "Acknowledge Alert" filter { type = "match-all-conditions" conditions { field = "status" operation = "equals" expected_value = "Work In Progress" } conditions { field = "eventType" operation = "equals" expected_value = "issue_updated" } } note = "{{commentBody}}" user = "Jira" } acknowledge { name = "Acknowledge Alert" filter { type = "match-all-conditions" conditions { field = "status" operation = "equals" expected_value = "Pending" } conditions { field = "eventType" operation = "equals" expected_value = "issue_updated" } } note = "{{commentBody}}" user = "Jira" } add_note { name = "Add Note to Alert" note = "{{commentBody}}" user = "{{commentAuthor}}" filter { type = "match-all-conditions" conditions { field = "eventType" operation = "equals" expected_value = "issue_commented" } } } }
Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.
the opsgenie_integration_action to be deployed
Gets an error message: Error: Error occurred with Status code: 422, Message: Property[appendAttachments] is undefined!,
Please list the steps required to reproduce the issue, for example:
terraform apply
Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform Version
Terraform v1.3.8 on linux_amd64
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
Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.
Expected Behavior
the opsgenie_integration_action to be deployed
Actual Behavior
Gets an error message: Error: Error occurred with Status code: 422, Message: Property[appendAttachments] is undefined!,
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply