Comments (5)
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.
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.
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.
I believe this issue is fixed with changes in docs cd07772
and can be closed.
from terraform-provider-digitalocean.
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)
- Does not use environment when creating spaces bucket HOT 1
- Disabling ipv6 on a droplet does not actually disable it HOT 3
- Change Redis timeout settings not working if setting to zero HOT 1
- digitalocean_app missing GHCR HOT 1
- When enabling IPv6 there are extra steps required HOT 1
- Assign a digitalocean_app to a digitalocean_project HOT 2
- Bug: "produced an unexpected new value: Root resource was present, but now absent." + Question: Adding an "App Platform" into a "Project" HOT 1
- Unable to import digitalocean_uptime_alert by id (import id is wrong) HOT 2
- digitalocean_database_cluster kafka missing attributes HOT 3
- digitalocean_database_firewall to support multiple droplet ids HOT 2
- Release v2.35.0 HOT 1
- Add droplet monitor alert for cloud-init completion
- digitalocean_spaces_bucket_cors_configuration: Updating allowed origins has no effect HOT 4
- Add optional "signature" field for `digitalocean_custom_image` resources
- Missing registry_credentials in digitalocean_app.service.image for registry_type = "GHCR" HOT 4
- feature: resource for firewall rule
- digitalocean_cdn custom domain certificate fails "invalid certificate issued by Cloudflare origin CA" HOT 1
- Add Postgres database attributes HOT 2
- digitalocean_spaces_bucket_cors_configuration: Does not allow to order CORS rules
- `digitalocean_project` created on failure, absent from TF state HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-digitalocean.