cloudflare / cf-terraforming

A command line utility to facilitate terraforming your existing Cloudflare resources.
Mozilla Public License 2.0
989 stars 139 forks source link

cloudflare_waf_override reported as not being supported for generation #710

Open mig5 opened 6 months ago

mig5 commented 6 months ago

Confirmation

cf-terraforming version

cf-terraforming v0.20.0

Expected outcome

I expected generated code for cloudflare_waf_override to occur, because your table in your README says it is supported for both generation and importing.

Actual outcome

user@example$ cf-terraforming generate --resource-type "cloudflare_waf_override" --zone $CLOUDFLARE_ZONE_ID "cloudflare_waf_override" is not yet supported for automatic generation

Steps to reproduce

Run the command cf-terraforming generate --resource-type "cloudflare_waf_override" --zone $CLOUDFLARE_ZONE_ID

References

No response

sabajamalian commented 1 week ago

Facing the same issue - seems like "cloudflarewaf*" resources a[re not part of supported types]. Therefore doc needs to be updated to reflect that. (https://github.com/cloudflare/cf-terraforming/blob/master/internal/app/cf-terraforming/cmd/generate.go#L1415)