PaloAltoNetworks / terraform-provider-sase

Terraform provider for SASE API
Apache License 2.0
1 stars 2 forks source link

sase_objects_address_groups CRUD Operations Broken #10

Open ancoleman opened 1 year ago

ancoleman commented 1 year ago

Describe the bug

When performing an update or destroy of the sase_objects_address_groups resource it fails with:

╷
│ Error: Error reading config
│ 
│   with module.security_policy_with_yaml.sase_objects_address_groups.this["compromised_machines"],
│   on ../../modules/policy/objects.tf line 47, in resource "sase_objects_address_groups" "this":
│   47: resource "sase_objects_address_groups" "this" {
│ 
│ [HTTP 400] API_I00035 Invalid Request Payload  - ["folder" is required]
╵

Expected behavior

When updating or destroying we should not experience an error of with a missing parameter

Current behavior

See initial bug description

Possible solution

Same fix as other resources that have been patched to accommodate this error.

Steps to reproduce

1. 2. 3. 4.

Screenshots

Context

Your Environment