IMPROVEMENTS:
- resource/storagezone: support AZ, BR, SE, SYD, SE, UK regions
- resource/storagezone: fail in planning phase if same primary and replication regions are specified
- provider: upgrade terraform-plugin-sdk to version 2.24.0
- provider: upgrade github.com/hashicorp/terraform-plugin-docs to version 0.13.0
- provider: upgrade github.com/google/go-cmp to version 0.5.9
IMPROVEMENTS:
- resource/{edgerule, hostname, pullzone, storagezone}: support importing
- resource/storagezone: improve origin_url documentation
- provider: upgrade github.com/hashicorp/terraform-plugin-docs to version 0.12.0
IMPROVEMENTS:
- resource/storagezone: add the ability to manage storagezone resources
- provider: upgrade github.com/hashicorp/terraform-plugin-docs to version 0.10.1
- provider: upgrade github.com/simplesurance/bunny-go to version 3d98cb9a17da
BUG FIXES:
- docs: provider-name in resource page was
terraform-provider-bunnycdn
instead ofbunny
BUG FIXES:
- resource/edgerule: after edge rule creation the plan was not empty, change the
default value of
watermark_enabled
to false, this adapts it to the changed default of the bunny endpoint
IMPROVEMENTS:
- resource/edgerule: allow specifying only
origin_url
orstorage_zone_id
- provider: upgrade terraform-plugin-sdk to version 2.17.0
- provider: upgrade github.com/hashicorp/terraform-plugin-docs to version 0.9.0
- provider: upgrade Golang to version 1.18
BREAKING CHANGES:
- resource/edgerule: renamed action type
ignore_quiery_string
toignore_query_string
IMPROVEMENTS:
- resource/edgerule: support action types
set_status_code
andbypass_perma_cache
- resource/edgerule: support trigger types
status_code
andrequest_method
IMPROVEMENTS:
- resource/hostname: new block
certificate
, for providing custom SSL certificates
BUG FIXES:
- resource/edgerule: changing the
pull_zone_id
of an edgerule resulted in API errors
IMPROVEMENTS:
- resource/hostname: the
force_ssl
attribute is not a computed field anymore and can be set
BUG FIXES:
- resource/hostname: fix: plan was not empty after hostname creation
BREAKING CHANGES:
- resource/pullzone: All header related attributes were moved to a new block
called
headers
. - resource/pullzone: all limits related attributes were moved to the block
limits
. - resource/pullzone: all optimizer related attributes were moved to the block
optimizer
. - resource/pullzone: The type of
access_control_origin_header_extensions
changed from string set to a comma-separated string.
IMPROVEMENTS:
- resource/pullzone: new block
safehop
- resource/pullzone:
access_control_origin_header_extensions
is not a computed field anymore and can be set. - provider: upgrade terraform-plugin-sdk from version 2.8.0 to 2.9.0
BUG FIXES:
- resource/pullzone: removed raw, unused format string specifiers from some error messages
FEATURES:
- New Resource
hostname
IMPROVEMENTS:
- errors: added additional context to error messages of pullzones and edgerules
- resource/pullzone: new attribute:
cache_error_responses
BUG FIXES:
- resource/edgerule: the chance that create/update edgerule operations are lost because of concurrency is minimized. The issue is not fixed entirely (#20).
FEATURES:
- New Resource
edgerule
IMPROVEMENTS:
- logging: HTTP-Responses received from the bunny.net API are logged with debug log level
BUG FIXES:
- when an unsuccessful HTTP API response with an empty body was received, the error message stated wrongly that a JSON parsing error occurred while processing the body
FEATURES:
- New Resource
pullzone