You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating the rules for scm_anti_spyware_profile the attribute threat_name can not be set to "any" or "null".
There is a validation in place for string length > 4 charachters.
Terraform error: Error: Provider produced inconsistent result after apply │ │ When applying changes to scm_anti_spyware_profile.bt_default_spyware, provider "provider[\"registry.terraform.io/paloaltonetworks/scm\"]" produced an unexpected new value: .rules[0].threat_name: was │ null, but now cty.StringVal("any"). │ │ This is a bug in the provider, which should be reported in the provider's own issue tracker. ╵
Error: Provider produced inconsistent result after apply
│
│ When applying changes to scm_anti_spyware_profile.xxxx, provider "provider[\"registry.terraform.io/paloaltonetworks/scm\"]" produced an unexpected new value: .rules[1].threat_name:
│ was null, but now cty.StringVal("any").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
Environment
Terraform v1.9.8
on darwin_arm64
- Using previously-installed paloaltonetworks/scm v0.9.2
Describe the bug
When creating the rules for scm_anti_spyware_profile the attribute threat_name can not be set to "any" or "null".
There is a validation in place for string length > 4 charachters.
Expected behavior
Should allow following rule:
Current behavior
Terraform error:
Error: Provider produced inconsistent result after apply │ │ When applying changes to scm_anti_spyware_profile.bt_default_spyware, provider "provider[\"registry.terraform.io/paloaltonetworks/scm\"]" produced an unexpected new value: .rules[0].threat_name: was │ null, but now cty.StringVal("any"). │ │ This is a bug in the provider, which should be reported in the provider's own issue tracker. ╵
Possible solution
Allow threat_name to be set to "any"
Steps to reproduce
Context
I am creating scm_anti_spyware_profile by looking up "best-practice" and replicating the rules.
Your Environment
Terraform v1.7.4
on linux_amd64
The text was updated successfully, but these errors were encountered: