Releases: ubicloud/terraform-provider-ubicloud
Releases · ubicloud/terraform-provider-ubicloud
v0.1.3
v0.1.2
Use StringPointerValue instead of StringValue As `StringPointerValue` properly handles nil values. For NICs retrieved via API it's possible that the `vm_name` field is null, see https://github.com/ubicloud/ubicloud/blob/2c7862fcbc5010d4efff4aebcb96200fd123cf1e/serializers/nic.rb#L10. In internal/provider/private_subnet_datasource.go we do the following assignment without properly checking for nil values. ``` "vm_name": types.StringValue(*n.VmName), ``` In this PR, we switch from `StringValue` to `StringPointerValue` for this and related fields as it properly handles nil values. Even though these other fields should never be null it's safer to still perform this check, e.g. in case the Ubicloud API goes through changes. Acceptance tests have passed: https://github.com/ubicloud/terraform-provider-ubicloud/actions/runs/12128430149
v0.1.1
Make firewall and firewall resources location based Making firewall and firewall rule resources location based Location based resources can be managed by either their id or name, with this PR adding the name support.
v0.1.0
Add .gitignore to create directories for generated output On a fresh checkout, `make` does not build, as Git cannot represent fully empty directories. So we need some kind of file in there, one common approach is a .gitignore that ignores everything in the directory, except itself.