Open
Description
When trying to update an integration that includes a change to the installation_id
, the provider gives this error.
╷
│ Error: failed to update integration
│
│ with port_integration.my_integration,
│ on .terraform/main.tf line 8, in resource "port_integration" "my_integration":
│ 8: resource "port_integration" "my_integration" {
│
│ failed to update integration, got:
│ {"ok":false,"error":"not_found","message":"Integration with installationId
│ \"tf-my-ocean-integration\" was not
│ found","details":{"resource":"Integration","byField":"installationId","withValue":"tf-my-ocean-integration"}}
╵
example main.tf
resource "port_integration" "my_integration" {
installation_id = "tf-my-ocean-integration"
installation_app_type = "my-ocean"
version = "1.0"
title = "My Ocean Integration"
config = jsonencode(yamldecode(file("${path.module}/mapping.yml")))
}
initial main.tf
resource "port_integration" "my_integration" {
installation_id = "my-ocean-integration"
installation_app_type = "my-ocean"
version = "1.0"
title = "My Ocean Integration"
config = jsonencode(yamldecode(file("${path.module}/mapping.yml")))
}
Metadata
Metadata
Assignees
Labels
No labels