Skip to content

Commit 3bfd921

Browse files
authored
fix(policy): if capture is disabled manually it should also be reflected as drift in terraform (#275)
* fix(policy): if capture is disabled manually it should also be reflected as drift in terraform
1 parent 4724c0b commit 3bfd921

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sysdig/resource_sysdig_secure_policy.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ func policyToResourceData(policy *secure.Policy, d *schema.ResourceData) {
161161
_ = d.Set("type", "falco")
162162

163163
}
164+
_ = d.Set("actions", policy.Actions)
164165

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

0 commit comments

Comments
 (0)