Skip to content

Releases: ubicloud/terraform-provider-ubicloud

v0.1.3

18 Mar 14:26
Compare
Choose a tag to compare
Update broken link to our API documentation

v0.1.2

03 Dec 10:05
Compare
Choose a tag to compare
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

21 Nov 15:41
Compare
Choose a tag to compare
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

11 Jul 12:04
Compare
Choose a tag to compare
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.