I have a pre-existing custom rule (fooBarRule) in the console. Unable to import using either the prisma internal id (_id) or the name field.
Expected behavior
Import custom rule with ID to state
Current behavior
No matter the value used for resource ID, the response is always "Error: error reading custom rule: custom rule '0' not found" with the value always a 0
Steps to reproduce
Define below resource in plan
resource "prismacloudcompute_custom_rule" "foo_bar_rule" {
name = "fooBarRule"
type = "filesystem"
description = "for testing"
message = "%proc.name wrote to file %file.path"
script = "file.path startswith \"/foo\""
}
Attempt to import using one of below import commands (with appropriate ID)
Describe the bug
I have a pre-existing custom rule (fooBarRule) in the console. Unable to import using either the prisma internal id (_id) or the name field.
Expected behavior
Import custom rule with ID to state
Current behavior
No matter the value used for resource ID, the response is always "Error: error reading custom rule: custom rule '0' not found" with the value always a 0
Steps to reproduce
2022-02-15T17:18:04.530-0500 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"