- Fix error for vlans where custom field not defined
- Added missing GET request fix.
- added posibility to create Vlan with the same number id different l2_domains
- added posibility to create Subnet with the same CIDR in different Sections
- fixed read subnet data resource with section_id, subnet_address and subnet_mask parameters
- created terraform resource and data packages for l2domains controller
- fixed modules dependencies that will allow to run make testacc command
- fixed custom field read for data sources (subnet, address, vlan)
- fixed clean up custom field during resource update
- refactored Unit tests
- Applied fix for issue #66
- Applied fix for issue #67
- Updated vendor repos
- Merged updated phpipam sdk from pull request #63
- Merged feature from pull request #65
- Merged feature from pull request #61
- Updated vendor repos
- Build with Go 1.20
- Merged feature from pull request #51
- Merged feature from pull request #56
- Updated vendor repos
- Applied fix for issue #43
- Applied fix for issue #37
- Merged feature from pull request #41
- Merged feature from pull request #44
- Merged feature from pull request #45
- Merged feature from pull request #46
- Merged feature from pull request #44
- Build with golang 1.18 (latest)
- Updated all vendor repositories to latest versions
- Updated go release workflow
New stuff:
- Added support for terraform multiple resource deployments (count) [Thanks to new repository contributor @pavel-z1]
- In the process @pavel-z1 forked original phpipam-sdk-go repo and commited some changes. All links leading to the original repo were changed to lead to the updated one.
- In the process @pavel-z1 found a bug in phpipam itself and reported it. The bug was fixed and backported for version 1.3 and 1.4, BUT keep in mind, that if you want to use the module with "count", you must apply this fix: https://github.com/phpipam/phpipam/commit/b634cb9e4e7df655f219d57e50b813733fd45afc otherwise you will have to run terraform apply always with "parallelism=1" or phpipam prior to version 1.5 will not be able to handle the request. More info can be found in the bug report here: phpipam/phpipam#2960
- Build around latest Terraform version 0.12.23 (still API version 5)
- Build with latest golang v 1.14
New stuff:
- Fixed paths across the whole code
- Build around Terraform version 0.12.16 (latest release, but still API version 5)
- Build with golang v 1.12.13
New version supporting new Terraform API version 5
- The whole provider was re-build around teeraform source code for version 0.12.x+ which add support (and makes possible to run the provider) on Terraform 0.12.x+
New version with some breaking changes regarding custom fields:
- Custom field searches are not done via the
custom_field_filter
attribute in both thephpipam_address
andphpipam_subnet
data sources. This parameter is a map that takes custom field names, and regular expressions to search for against. A field does not match if any of the search criteria keys are missing or do not match.
Also have added two new data sources:
phpipam_address
will search addresses for adescription
orhostname
exact match or acustom_field_filter
match, much like the singular-formphpipam_address
data source. A list of IP address IDs are returned, which can then be used to look up addresses with thephpipam_address
data source. This will work better in Terraform v0.9.x, or higher, which has support for a computedcount
in data sources now.phpipam_subnets
has been added in the same way. This one can search ondescription
,description_match
, andcustom_field_filter
, in the same way the singular-formphpipam_address
data source can.
Added custom field support - this plugin now supports custom fields in addresses, subnets, and VLANs, as long as those fields are optional. Data source searching supports addresses and subnets only, due to limitations in VLAN searching capabilities.
Bumping release so that I have a consistent snapshot, and also so that I can correct some tests on the compat branch.
First release!