Issue reproducible every time. When updating a compliance report that had been created using terraform provider, I get a plan output that terraform will update a report which I have not updated
Expected behavior
The plan should only show that its updating the desired report and not all the reports
Current behavior
I get a plan output that terraform will update reports which I have not updated
Possible solution
Plan should only show that updates that are being made
In my case, show a destroy and no updates
Create a multiple scheduled compliance report that scheduled to run on the first day of every month
Use a json config to create multiple reports - in my case two AWS - ISO 27001:2013
Run terraform plan and apply and see reports created successfully
Modify the json config to remove one of the reports
Run terraform plan and observe that the plan output displays - 1 to change and 1 to destroy when it should ideally just show 1 to destroy and 0 to change
Screenshots
Context
Customer has raises a CS support case, I have reproduced the issue internally and confirmed issue
Your Environment
PCS Prisma Cloud Lab
IDE: VSC
Version used:
prismacloud = {
source = "PaloAltoNetworks/prismacloud"
version = "1.4.6"
Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3): N/A
Operating System and version (desktop or mobile): Windows 11
Describe the bug
Issue reproducible every time. When updating a compliance report that had been created using terraform provider, I get a plan output that terraform will update a report which I have not updated
Expected behavior
The plan should only show that its updating the desired report and not all the reports
Current behavior
I get a plan output that terraform will update reports which I have not updated
Possible solution
Plan should only show that updates that are being made In my case, show a destroy and no updates
Steps to reproduce
Use the following link to create a compliance report : https://registry.terraform.io/providers/PaloAltoNetworks/prismacloud/latest/docs/resources/report
Screenshots
Context
Customer has raises a CS support case, I have reproduced the issue internally and confirmed issue
Your Environment
PCS Prisma Cloud Lab IDE: VSC
Version used: prismacloud = { source = "PaloAltoNetworks/prismacloud" version = "1.4.6"
Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3): N/A
Operating System and version (desktop or mobile): Windows 11
Link to your project: