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
Then a terraform plan shows "all" as acceptable value, and doesn't try to change it. However, when running apply, I get a vague 500 error:
Error: 500/https://****.prismacloud.io/policy/*******-94ca-f3b7e6e88e3d Error(msg:internal_error severity:error subject:)
on ../modules/policy/main.tf line 15, in resource "prismacloud_policy" "default":
15: resource "prismacloud_policy" "default" {
Expected behavior
Something with the cloud_type parameter with an IAM type policy, cloud_type "Any" is breaking here. Unfortunately, TRACE debugging isn't giving any additional details that are helpful. The expectation here is that I can import this IAM policy into TF.
This was all run with the latest version, 1.2.0, TF version 0.13.2
The text was updated successfully, but these errors were encountered:
Describe the bug
I created a new IAM policy in the console which reflected the cloud type of "Any"
![image](https://user-images.githubusercontent.com/82523061/151471440-2a608ad6-112a-43e2-b2c3-165895bbef3e.png)
However, when I list the same policy ID via the API, the cloud_type reflects "AWS":
So I attempt to import this policy w/terraform import, which happens successfully, but then the state shows that the cloud type is "all":
Then a
terraform plan
shows "all" as acceptable value, and doesn't try to change it. However, when running apply, I get a vague 500 error:Expected behavior
Something with the
cloud_type
parameter with an IAM type policy, cloud_type "Any" is breaking here. Unfortunately, TRACE debugging isn't giving any additional details that are helpful. The expectation here is that I can import this IAM policy into TF.This was all run with the latest version, 1.2.0, TF version 0.13.2
The text was updated successfully, but these errors were encountered: