Joshua Spence
fba54d47b5
Fix broken dependency
2021-09-26 09:56:59 -04:00
Joshua Spence
60fd797c67
Remove build from acctest workflow
2021-09-26 09:56:59 -04:00
Joshua Spence
80b2b9e023
Add golangci-lint
2021-09-26 09:56:59 -04:00
Joshua Spence
9f0e46c8a0
Increase the number of demo devices ( #193 )
...
This should allow us to execute more concurrent acceptance tests in parallel.
2021-09-24 07:22:12 +10:00
Joshua Spence
23ef5cf329
Run acceptance tests against controller version 6.4 ( #190 )
...
* Run acceptance tests against controller version 6.4
* Fix tags
* Bump `go-unifi`
2021-09-24 07:20:08 +10:00
dependabot[bot]
e3444f14a9
Bump github.com/paultyng/go-unifi from 1.21.1 to 1.22.0 ( #189 )
...
Bumps [github.com/paultyng/go-unifi](https://github.com/paultyng/go-unifi ) from 1.21.1 to 1.22.0.
- [Release notes](https://github.com/paultyng/go-unifi/releases )
- [Commits](https://github.com/paultyng/go-unifi/compare/v1.21.1...v1.22.0 )
---
updated-dependencies:
- dependency-name: github.com/paultyng/go-unifi
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>
2021-09-21 09:41:10 +10:00
Paul Tyng
28872f6fa5
Add PMF mode support to unifi_wlan
2021-09-16 09:19:48 -04:00
Paul Tyng
1ccbbc405a
Update test to use unifi_ap_group
2021-09-16 08:56:37 -04:00
Paul Tyng
b4bdfce0fa
Remove v5 support
2021-09-16 08:56:37 -04:00
Paul Tyng
b36a5faafd
Prettier formatting of YAML
2021-09-16 08:56:37 -04:00
Joshua Spence
a1849cacdc
Put controller into demo mode ( #185 )
2021-09-15 23:14:09 +10:00
Paul Tyng
f31c1055b0
Add locking for setting tests
2021-09-15 09:00:21 -04:00
Paul Tyng
f6e1e10cce
Add unifi_setting_usg
...
Fixes #183
2021-09-15 09:00:21 -04:00
Paul Tyng
d7f21c88ea
Minor formatting fixes
2021-09-15 09:00:21 -04:00
Joshua Spence
a2ce5a12fb
Use docker-compose instead of a shell script ( #155 )
2021-09-15 09:51:58 +10:00
Paul Tyng
f38166b55c
Add guide to docs for managing firewall rules across multiple sites
2021-09-13 08:56:51 -04:00
Paul Tyng
b3480bf51e
Merge branch 'main' of https://github.com/paultyng/terraform-provider-unifi
2021-09-13 08:46:29 -04:00
Paul Tyng
5ed5e82b08
Add support for DHCP relay
...
Fixes #148
2021-09-13 08:22:01 -04:00
Paul Tyng
3c91d8697c
Move version code to separate files
2021-09-11 13:38:27 -04:00
Kurt McAlpine
a0b5f773d5
Add minimum_data_rate_2g and minimum_data_rate_5g fields to unifi_wlan ( #159 )
...
* Add minimum_data_rate_2g and minimum_data_rate_5g fields to unifi_wlan
* Update implementation to match api/sdk types
* Fix disabled state
Co-authored-by: Paul Tyng <paul@paultyng.net >
2021-09-10 22:16:21 -04:00
Paul Tyng
ede214c5c5
Add WPA3 support to unifi_wlan
...
Fixes #154
2021-09-10 15:29:03 -04:00
Paul Tyng
d34b25bc10
Bump tf version for tests
2021-09-10 09:00:32 -04:00
Paul Tyng
da1e41a61b
Re-run go generate
2021-09-09 08:33:47 -04:00
dependabot[bot]
d09624e106
Bump github.com/hashicorp/terraform-plugin-docs from 0.4.0 to 0.5.0
...
Bumps [github.com/hashicorp/terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-docs/releases )
- [Changelog](https://github.com/hashicorp/terraform-plugin-docs/blob/main/.goreleaser.yml )
- [Commits](https://github.com/hashicorp/terraform-plugin-docs/compare/v0.4.0...v0.5.0 )
---
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 >
2021-09-09 08:29:30 -04:00
Tommi2Day
cfc0f57622
allow using id or name for unifi_network data source
...
Add sample and update docs along
implements #174
2021-09-07 18:25:42 -04:00
Tommi2Day
2acde28a53
add more fields to network data source
2021-09-07 18:25:42 -04:00
Tommi2Day
0c3a36b215
add data source unifi_user
...
implements #174
2021-09-07 18:25:42 -04:00
dependabot[bot]
f5680fdd94
Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.7.0 to 2.7.1 ( #172 )
...
Bumps [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk ) from 2.7.0 to 2.7.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.7.0...v2.7.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 >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-01 12:07:30 +10:00
Paul Tyng
7805f69f3f
Fix docs/comments for unifi_network data source
2021-08-31 09:16:04 -04:00
Paul Tyng
361d52e5bd
Add support for unifi_network datasource
...
#168
2021-08-31 08:40:37 -04:00
dependabot[bot]
6258533310
Bump actions/setup-go from 2.1.3 to 2.1.4 ( #167 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2.1.3...v2.1.4 )
---
updated-dependencies:
- dependency-name: actions/setup-go
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>
2021-08-28 08:03:19 +10:00
Paul Tyng
0f667bb3d8
Read dev_id_override back to state
2021-08-27 09:59:30 -04:00
Paul Tyng
5e428a4605
Fix some linting issues
2021-08-27 09:59:30 -04:00
Joshua Spence
166600cac3
Add dev_id_override to unifi_user
...
Reimplementation of #147
2021-08-27 09:59:30 -04:00
Paul Tyng
3a122dcdd7
Relax version pinning for controller tests
2021-08-24 10:35:31 -04:00
Paul Tyng
ea4f536760
Fix tags
2021-08-19 20:36:37 -04:00
Paul Tyng
2edabc96ad
Test 6.1 and 6.2 of the controller
2021-08-19 20:36:37 -04:00
dependabot[bot]
14cddf3e3a
Bump github.com/paultyng/go-unifi from 1.21.0 to 1.21.1 ( #164 )
...
Bumps [github.com/paultyng/go-unifi](https://github.com/paultyng/go-unifi ) from 1.21.0 to 1.21.1.
- [Release notes](https://github.com/paultyng/go-unifi/releases )
- [Commits](https://github.com/paultyng/go-unifi/compare/v1.21.0...v1.21.1 )
---
updated-dependencies:
- dependency-name: github.com/paultyng/go-unifi
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>
2021-08-19 11:36:12 +10:00
dependabot[bot]
142267a552
Bump github.com/paultyng/go-unifi from 1.20.0 to 1.21.0 ( #162 )
...
Bumps [github.com/paultyng/go-unifi](https://github.com/paultyng/go-unifi ) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/paultyng/go-unifi/releases )
- [Commits](https://github.com/paultyng/go-unifi/compare/v1.20.0...v1.21.0 )
---
updated-dependencies:
- dependency-name: github.com/paultyng/go-unifi
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>
2021-08-17 14:59:21 +10:00
Paul Tyng
44f6c30363
Bump tested TF versions
2021-08-10 10:32:17 -04:00
Paul Tyng
4121dedadb
Update internal/provider/resource_wlan_test.go
2021-08-10 10:31:05 -04:00
Paul Tyng
fc6eb2bc52
Update internal/provider/resource_wlan_test.go
2021-08-10 10:31:05 -04:00
Kurt McAlpine
49efd78a4c
Add uapsd field to unifi_wlan
2021-08-10 10:31:05 -04:00
Paul Tyng
ef03fd62be
Fix %w usage in diags
2021-08-10 10:30:26 -04:00
Paul Tyng
a3094fb13c
Apply suggestions from code review
2021-08-10 10:30:26 -04:00
Michael Wiesenbauer
4c36a8af1b
move from deprecated CRUD functions to context aware CRUD
2021-08-10 10:30:26 -04:00
dependabot[bot]
0dc4ce824b
Bump goreleaser/goreleaser-action from 2.6.1 to 2.7.0 ( #160 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 2.6.1 to 2.7.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2.6.1...v2.7.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>
2021-08-01 15:57:41 +10:00
Joshua Spence
9cdde141b5
Fix tests
...
The acceptance tests for `unifi_network` and `unifi_user` sporadically fail locally for me. For example:
```
=== CONT TestAccNetwork_importByName
resource_network_test.go:236: Step 2/5 error running import: exit status 1
Error: Found multiple networks with name 'tfacc'
```
Randomize resource identifiers to better allow tests to run concurrently.
2021-07-22 09:44:36 -04:00
Kurt McAlpine
7cc962011a
Add l2_isolation field to unifi_wlan
2021-07-22 09:43:18 -04:00
Kurt McAlpine
96b039a727
Add ssh keys to unifi_setting_mgmt
2021-07-06 11:10:05 -04:00