Skip to content

Commit

Permalink
fix(policy): if capture is disabled manually it should also be reflec…
Browse files Browse the repository at this point in the history
…ted as drift in terraform (#275)

* fix(policy): if capture is disabled manually it should also be reflected as drift in terraform
  • Loading branch information
filiptubic authored Mar 23, 2023
1 parent 4724c0b commit 3bfd921
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sysdig/resource_sysdig_secure_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ func policyToResourceData(policy *secure.Policy, d *schema.ResourceData) {
_ = d.Set("type", "falco")

}
_ = d.Set("actions", policy.Actions)

actions := []map[string]interface{}{{}}
for _, action := range policy.Actions {
Expand Down

0 comments on commit 3bfd921

Please sign in to comment.