PaloAltoNetworks / terraform-provider-prismacloud

Terraform PrismaCloud provider
https://www.terraform.io/docs/providers/prismacloud/
Mozilla Public License 2.0
54 stars 65 forks source link

can we create both Run and Build policy using `prismacloud_policy` resource #255

Closed EkhatorOwen closed 1 year ago

EkhatorOwen commented 1 year ago

Is your feature request related to a problem?

In the PrismaCloud UI, we can create both Run and Build policies as seen in the screenshot attached. is there a way to do so using the prismacloud_policy resource. Using that resource, i noticed that it only allows for one rule block which leads me to believe you cannon have both "Run" and "Build" policy in one resource.

Describe the solution you'd like

it would be nice if we could create both build and run policy subtype using the prismacloud_policy resource.

Describe alternatives you've considered

Additional context

Screenshot 2023-09-05 at 11 58 30 AM

Screenshot showing the ability to check (and create) both Build and Run policy subtype in one policy.

welcome-to-palo-alto-networks[bot] commented 1 year ago

:tada: Thanks for opening your first issue here! Welcome to the community!

AnushreeHS commented 1 year ago

@EkhatorOwen Thanks for opening the issue, this is released with terraform version = "1.4.9"