Comments (6)
All good @browningluke thanks for your extremely fast response! :) :)
The provider is ssooooo good so thanks for all the hard work you've put into it to date!
from terraform-provider-opnsense.
Beautiful, that fixed it!
Thanks again :) :)
from terraform-provider-opnsense.
Hey @chrisreeves-, thanks for opening this issue!
Unfortunately this is an oversight of how this resource was implemented. Even though the docs say that this is possible, because the destination.port is expecting an integer, it fails.
I'll get working on a fix, should be out in a few days. However it may result in you having to remove & import the existing rules you've created, since the schema will change slightly. Sorry about that!
from terraform-provider-opnsense.
Hey there @chrisreeves- , this should be fixed in v0.9.0. I'll close this issue now, but feel free to re-open it if you still run into issues!
Just for clarity's sake, this is how you define port ranges now:
destination = {
net = "192.168.0.1"
port = "80-443"
}
from terraform-provider-opnsense.
Hey @browningluke it still seems to be an issue in 0.9.0
I've tried to remove all resources and do a fresh config
from terraform-provider-opnsense.
Hey @chrisreeves-, that error actually looks like it's from a quirk of how the os-firewall plugin API works. It considers the protocol attribute case sensitive.
In that code example you showed, try set protocol = "TCP"
.
from terraform-provider-opnsense.
Related Issues (13)
- Unable to read host override, got error: unable to find resource. it may have been deleted upstream HOT 2
- Interested on Wireguard API HOT 4
- Problems with os-firewall HOT 5
- Support for the HAProxy plugin HOT 1
- Support for interfaces HOT 5
- Support for configuring provider via environment variables HOT 3
- Support for resource imports HOT 3
- opnsense_firewall_filter not accepting destination port range as alias HOT 2
- Implement DHCP settings and static mappings HOT 2
- Wireguard reconfigure call always fails with no status HOT 4
- VLAN import status code non-200; status code 400 HOT 2
- DNS Query Forward not appearing in UI HOT 1
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-opnsense.