Solution skill
Proper way to create a multival type condition?
Complete solution
Shows how to fix proper way to create a multival type condition?. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Upgrade the Fastly provider to >= 8.2.0 in your requiredproviders block and use the multivalcondition block shown in the ngwafworkspacerule resource docs. Check your version of Fastly CDN first , maintainers often fix the underlying bug in a later release, and the thread may predate it.
Steps
- [rcaril (maintainer)]: multival conditions on fastlyngwafworkspacerule shipped in provider version 8.2.0. Upgrade the Fastly provider to >= 8.2.0 in your requiredproviders block and use the multivalcondition block shown in the ngwafworkspace_rule resource docs.
- This comes from one real issue thread (https://github.com/fastly/terraform-provider-fastly/issues/1090); it is the verified fix or approach from that thread, not a general manual. Check your version of Fastly CDN first , maintainers often fix the underlying bug in a later release, and the thread may predate it.
When to use
You are seeing this: Issue fastly/terraform-provider-fastly#1090 (closed, 9 comments): Resource: fastlyngwafworkspacerule I'm trying to deploy a ngwafworkspace_rule using Terraform provider 8.0.0, but I'm running into a blocker when it comes to defining what the API... Use this skill when you run into "Proper way to create a multival type condition?".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: provider 8.0.0, 8.2.0. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Sources
- https://registry.terraform.io/providers/fastly/fastly/latest/docs/resources/ngwafworkspacerule
- https://github.com/fastly/terraform-provider-fastly/issues/1090
Evidence
Issue gh:fastly/terraform-provider-fastly#1090 asked: Issue fastly/terraform-provider-fastly#1090 (closed, 9 comments): Resource: fastly_ngwaf_workspace_rule I'm trying to deploy a ngwafworkspacerule using Terraform provider 8.0.0, but I'm running into a blocker when it comes to defining what the API describes as multival conditions: Example directly form the API, not Terraform. The verified answer from the thread: [rcaril (maintainer)]: multival conditions on fastlyngwafworkspacerule shipped in provider version 8.2.0. Upgrade the Fastly provider to >= 8.2.0 in your requiredproviders block and use the multivalcondition block shown in the ngwafworkspace_rule resource docs. Source: https://github.com/fastly/terraform-provider-fastly/issues/1090
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_SWOqbiDkGO4mLcYs6yt1CA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Proper way to create a multival type condition? <span>— Vectle</span></a>