Code Monkey home page Code Monkey logo

Comments (5)

github-actions avatar github-actions commented on September 26, 2024

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

from terraform-provider-cloudflare.

jacobbednarz avatar jacobbednarz commented on September 26, 2024

the issue you've raised here is not a provider issue but the way the rulesets engine is designed and has entitlement restrictions. you should reach out to your account team to have them address this.

from terraform-provider-cloudflare.

tchellomello avatar tchellomello commented on September 26, 2024

the issue you've raised here is not a provider issue but the way the rulesets engine is designed and has entitlement restrictions. you should reach out to your account team to have them address this.

@jacobbednarz Thanks for your comment. IMHO if that was something related on my account or due to entitlement restrictions, I would not be able to create/activate the ruleset via webUI, which I can. I understand that the error is coming from the API, but the fact that I can activate it via webUI seems to point to the code.

I'll be happy to raise a ticket with the support team, but the fact that I can create and enable the ruleset via webUI does change anything on your statement?

Thanks!

from terraform-provider-cloudflare.

jacobbednarz avatar jacobbednarz commented on September 26, 2024

depending on what you are doing the UI will consolidate it into a single root ruleset for the phase. you can do the same thing in terraform but you'll need to fix your configuration to match that behaviour instead of what you are doing now (trying to create multiples through your module). it still isn't a bug and a restriction of ERE. full docs are available at https://developers.cloudflare.com/ruleset-engine/

there are mentions of this and debugging steps in #2004 as well.

from terraform-provider-cloudflare.

tchellomello avatar tchellomello commented on September 26, 2024

@jacobbednarz just to provide closure, we were able to get this addressed. The problem was not on our Terraform code/logic but on a bad API data which we believe was a bad leftover during the attempts reported at #2970.

As mentioned on the #2004, the data was not being displayed an the UI which was causing a trigger a generic API exception.

Basically we manually forced a DELETE and then the same Terraform code worked as expected.

❯ curl --request DELETE https://api.cloudflare.com/client/v4/accounts/XXXXXX/rulesets/5xxxxxx \
[....]

Thanks for your help!

from terraform-provider-cloudflare.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.