Releases: dsaidgovsg/terraform-provider-smallutil
Upgrade terraform version to support protocol version 5
Support for Darwin ARM64
Add a zip release for Darwin ARM 64
Fix float64 formatting
When the float64 value doesn't contain decimal places, it should format to look like integer, which is good because some inputs only accept integer looking numbers.
Allow number and bool to be parsed as string for http_req
Fix building of various binaries
Previous releases are not built correctly because the GOOS
and GOARCH
were mistakenly not set. This patch version fixes it with the same features in the minor version.
Fix building of various binaries
Previous releases are not built correctly because the GOOS
and GOARCH
were mistakenly not set. This patch version fixes it with the same features in the minor version.
Fix building of various binaries
Previous releases are not built correctly because the GOOS
and GOARCH
were mistakenly not set. This patch version fixes it with the same features in the minor version.
Add source field to smallutil_http_req
To indicate as output where the derived value actually come from. The values can only be:
[request
, default
, override
]
Default value to be used for any HTTP request error
Considered as somewhat a breaking change, because the expectation has been changed from:
- Only invalid endpoints error will use default value (not a common use case) -> As long as it's an HTTP request error, e.g. site doesn't exist, endpoint is invalid, the default value will be used. Unable to parse JSON correct from content type of
application/json
doesn't count because that would be considered a part of HTTP response error / mismatch of response expectation.
Fix static linking on Linux AMD64
No code change, just fix static linking so that it works for DNS resolution on Linux AMD64.