Giter VIP home page Giter VIP logo

Comments (5)

daenney avatar daenney commented on July 26, 2024 1

This fixes it indeed. Once I updated the ICMP rules with 1-65535 plan and apply did some changes, but any invocation of plan after that suggests there's nothing to do.

I still find it very strange that I have to specify the port range on the digitalocean_firewall resources in the case of protocol being ICMP though.

from terraform-provider-digitalocean.

arr-dev avatar arr-dev commented on July 26, 2024

This seems to affect ability to update a firewall since order changes,
rendering it impossible to update, so taint is required to make changes to firewall.

Only seems to happen when port_range = "all" is used.

from terraform-provider-digitalocean.

daenney avatar daenney commented on July 26, 2024

I have this same issue, it's caused by the icmp rule. Even though port_range is optional, and doesn't make any sense in the ICMP context, it has to be set for things to not continuously reorder/reapply. It seems to work reliably once you set port_range = "0" for the icmp rules.

However, if you set port_range = "0" on an ICMP rule before it has been created it'll fail, since port_range is supposed to be between 1-65565. So it's all rather inconsistent. If you then add a rule and want the firewall to apply you'll need to temporarily uncomment a port_range = "0" too.

from terraform-provider-digitalocean.

arr-dev avatar arr-dev commented on July 26, 2024

I believe this issue is fixed with changes in docs cd07772
and can be closed.

from terraform-provider-digitalocean.

andrewsomething avatar andrewsomething commented on July 26, 2024

As the original report consider this issue to be fixed by the doc changes in hashicorp@cd07772, I'm going to go ahead and close this issue. There is more discussion of the ICMP situation in https://github.com/terraform-providers/terraform-provider-digitalocean/issues/30, so we can continue it there.

from terraform-provider-digitalocean.

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.