Joshua Spence
8b28a7d42e
Allow device timeouts to be customized
2023-02-28 16:47:22 +11:00
Joshua Spence
c52cc13660
Wait for updates to propagate to devices
2023-02-28 16:47:22 +11:00
Joshua Spence
a83f9b3dbd
Ensure the same MAC address isn't reused
2023-02-28 16:47:22 +11:00
Joshua Spence
8f0cd30efc
Consider "unknown" and "upgrading" to be valid pending states
2023-02-28 16:47:22 +11:00
Joshua Spence
c3be14dc13
Allow five minutes for device adoption
2023-02-28 16:47:22 +11:00
Michon van Dooren
05df488c3b
Add test clearing device portoverrides ( #313 )
...
* Add test clearing device portoverrides
* Update `go-unifi`
---------
Co-authored-by: Joshua Spence <josh@spence.com.au >
2023-02-28 11:54:15 +11:00
Joshua Spence
aa9f778363
Ensure subsystem logger has been created ( #314 )
2023-02-28 11:38:54 +11:00
Christian Winther
7296c9d730
unifi_port_forward enabled should default to true ( #258 )
...
Fixes https://github.com/paultyng/terraform-provider-unifi/issues/255
2023-02-28 08:29:54 +11:00
Joshua Spence
b3662a627f
Fix network mDNS acceptance tests ( #311 )
...
* Make compatible with `getTestVLAN`
* Run `go generate`
2023-02-25 10:18:49 +11:00
Xabier Larrakoetxea Gallego
dc95eceb2e
Add support for mDNS on network resource ( #292 )
...
* Add support for mDNS on network resource
Signed-off-by: Xabier Larrakoetxea <me@slok.dev >
* Add mDSN network tests
Signed-off-by: Xabier Larrakoetxea <me@slok.dev >
---------
Signed-off-by: Xabier Larrakoetxea <me@slok.dev >
2023-02-25 10:05:48 +11:00
Joshua Spence
81c357b3a5
Improve test stability ( #310 )
...
* Improve stability of network/wlan tests
* Improve stability of user tests
* Don't test with different Terraform versions
2023-02-24 18:04:56 +11:00
dependabot[bot]
8e3b620881
bump golang.org/x/net from 0.6.0 to 0.7.0 ( #308 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-24 16:51:19 +11:00
Joshua Spence
066163a22c
Allow device adoption ( #188 )
...
* Allow device adoption
* Handling disappearing device
* Allocate test devices dynamically
* Increase `NotFoundChecks`
* Demo devices don't seem to have sequential MACs
* Change default for `forget_on_destroy`
* Minor
2023-02-24 10:42:06 +11:00
Michon van Dooren
7eadb9ba08
Expose source port of firewall rules ( #305 )
...
* Expose source port of firewall rules
* Add tests
---------
Co-authored-by: Joshua Spence <josh@spence.com.au >
2023-02-23 15:55:08 +11:00
Joshua Spence
cecb61809d
Update versions ( #309 )
2023-02-23 15:10:37 +11:00
Michon van Dooren
b5e936c724
Set default wlan band to 'both' ( #304 )
2023-02-23 14:50:29 +11:00
dependabot[bot]
ecbf8743b8
Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.24.1 to 2.25.0 ( #307 )
...
Bumps [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk ) from 2.24.1 to 2.25.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-sdk/releases )
- [Changelog](https://github.com/hashicorp/terraform-plugin-sdk/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/terraform-plugin-sdk/compare/v2.24.1...v2.25.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-sdk/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-16 12:28:20 +11:00
dependabot[bot]
13bb3e9fd2
Bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 ( #300 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.3.1...v3.4.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-11 15:03:53 +11:00
dependabot[bot]
503f49112b
Bump goreleaser/goreleaser-action from 4.1.0 to 4.2.0 ( #302 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v4.1.0...v4.2.0 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-11 14:50:31 +11:00
dependabot[bot]
00dafa1977
Bump goreleaser/goreleaser-action from 3.2.0 to 4.1.0 ( #298 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 3.2.0 to 4.1.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v3.2.0...v4.1.0 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 08:26:20 +11:00
Bill (William) O'Neill
1a9bac4a09
Add support for local_dns_record ( #293 )
2022-11-16 10:06:35 -05:00
dependabot[bot]
a351398f9e
Bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 ( #294 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.3.0...v3.3.1 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-15 10:11:16 -05:00
dependabot[bot]
449282fe8b
Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.24.0 to 2.24.1 ( #295 )
...
Bumps [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk ) from 2.24.0 to 2.24.1.
- [Release notes](https://github.com/hashicorp/terraform-plugin-sdk/releases )
- [Changelog](https://github.com/hashicorp/terraform-plugin-sdk/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/terraform-plugin-sdk/compare/v2.24.0...v2.24.1 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-sdk/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-15 10:10:34 -05:00
Paul Tyng
47225007c8
Bump go-unifi
2022-10-31 15:55:31 -04:00
dependabot[bot]
8151454e10
Bump golangci/golangci-lint-action from 3.2.0 to 3.3.0 ( #288 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.2.0...v3.3.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 11:19:50 -04:00
Paul Tyng
c65954205a
Fix priority validation
...
Fixes #289
2022-10-24 13:13:17 -04:00
Oskar
0cf907be5f
feat: create users in the build-in radius server ( #286 )
...
* feat: account resource with data source
* Adjust docs and validation
* add import test steps
* adjust radius capitalization in docs
Co-authored-by: Paul Tyng <paul@paultyng.net >
2022-10-23 10:12:10 -04:00
Paul Tyng
6f4f1058e4
Change release to use go version from mod file
2022-10-23 09:32:51 -04:00
Paul Tyng
962b6c19a4
Cleanup workflows, cache go
2022-10-23 09:31:44 -04:00
Paul Tyng
3bdb843a13
Add test step removing qos ( #285 )
...
* Add test step removing qos
* Bump go-unifi
2022-10-23 09:30:09 -04:00
Paul Tyng
f653ca03d9
Update schedule support for typed API field ( #284 )
...
* Test removing schedule
* Use new schedule API field
* fix attribute name
* Bump go-unifi
2022-10-23 09:00:07 -04:00
Paul Tyng
b100440c75
Update acctest.yml
2022-10-22 13:15:25 -04:00
Paul Tyng
a6e3c3f7e3
Update ci.yaml
2022-10-22 13:15:11 -04:00
Paul Tyng
6e1a5dca35
Update release.yml
2022-10-22 13:14:55 -04:00
Andreas Harter
0604e1deaf
Add missing IPv6 properties ( #261 )
...
* Add missing WAN IPv6 properties to network resource
* Rename 'ipv6_static_subnet' to 'ipv6_subnet'
According to the go-unifi lib, the name was incorrect
* Improve description and validation of IPv6 properties
* Add missing IPv6 props to network
* Add IPv6 support to firewall rules
* Adjust naming
* ensure unique vlan
* Add vlan ID validation
* fix assertion
* Update docs
* rename attribute
* cleanup imports
* test protocol_v6
* test dhcp_v6_lease
* spelling
* switch protocol back
Co-authored-by: Paul Tyng <paul@paultyng.net >
2022-10-22 12:56:56 -04:00
dependabot[bot]
7238aa36e5
Bump goreleaser/goreleaser-action from 3.0.0 to 3.2.0 ( #281 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 3.0.0 to 3.2.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v3.0.0...v3.2.0 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-21 20:04:02 -04:00
Paul Tyng
3df6f4a4a4
Reorder keys
2022-10-21 15:53:26 -04:00
Oskar
db21ecd760
Adding radius profile resource ( #215 )
...
* Adding radius profile resource
* Fix radius profile resource documentation and naming
* Updated doc generation
Co-authored-by: Paul Tyng <paul@paultyng.net >
2022-10-21 15:52:25 -04:00
Oskar
c48063bb19
Enable USG/UDM radius server ( #214 )
...
* Enable built-in radius server settings
* Adding documentation
* Update docs with new generator
Co-authored-by: Paul Tyng <paul@paultyng.net >
2022-10-21 15:42:39 -04:00
Paul Tyng
4465152b20
Fix deprecation
2022-10-20 11:56:29 -04:00
Paul Tyng
0d4dc04428
unifi_network - default network access bools to true
...
* Expose InternetAccessEnabled and IntraNetworkAccessEnabled
* Generate docs
* bump go-unifi to v1.27.0
* ammend tf and unifi versions
* fix minrate preference setting in 7.2
* fix
* try some additional tf 1.3 versions to see why they are failing
* Bump sdk version to fix import test bug
Co-authored-by: Dillon Newell <dillon@newell-labs.ca >
2022-10-20 11:54:03 -04:00
dependabot[bot]
61b703e319
Bump actions/cache from 3.0.8 to 3.0.11 ( #277 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.0.8 to 3.0.11.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3.0.8...v3.0.11 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-15 09:03:36 +11:00
dependabot[bot]
4b15b5a291
Bump actions/cache from 3.0.7 to 3.0.8 ( #269 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3.0.7...v3.0.8 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 23:20:42 +10:00
dependabot[bot]
f16f93ecba
Bump actions/cache from 3.0.6 to 3.0.7 ( #267 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.0.6 to 3.0.7.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3.0.6...v3.0.7 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 10:46:38 +10:00
dependabot[bot]
4b15de407f
Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.17.0 to 2.21.0 ( #268 )
...
Bumps [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk ) from 2.17.0 to 2.21.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-sdk/releases )
- [Changelog](https://github.com/hashicorp/terraform-plugin-sdk/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/terraform-plugin-sdk/compare/v2.17.0...v2.21.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-sdk/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 10:38:46 +10:00
dependabot[bot]
d3834279bc
Bump actions/cache from 3.0.4 to 3.0.6 ( #265 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.0.4 to 3.0.6.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3.0.4...v3.0.6 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-10 11:39:20 +10:00
Paul Tyng
d02c97bd55
Updates for controller v7.1 and dependency updates
2022-07-02 22:02:22 -04:00
dependabot[bot]
8728d6b5e8
Bump github.com/hashicorp/terraform-plugin-docs from 0.8.1 to 0.10.1 ( #250 )
...
Bumps [github.com/hashicorp/terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs ) from 0.8.1 to 0.10.1.
- [Release notes](https://github.com/hashicorp/terraform-plugin-docs/releases )
- [Changelog](https://github.com/hashicorp/terraform-plugin-docs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/terraform-plugin-docs/compare/v0.8.1...v0.10.1 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-docs
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-25 14:08:49 +10:00
dependabot[bot]
0ee4baca73
Bump actions/cache from 3.0.2 to 3.0.4 ( #248 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.0.2 to 3.0.4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3.0.2...v3.0.4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 17:09:46 +10:00
dependabot[bot]
2ff74f6335
Bump goreleaser/goreleaser-action from 2.9.1 to 3.0.0 ( #243 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 2.9.1 to 3.0.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2.9.1...v3.0.0 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-25 17:18:08 +10:00