You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
baznikin
changed the title
yandex_cdn_resource, absent custom_host_header field do not reset this field in CDR resource
yandex_cdn_resource, absent custom_host_header field do not reset this field in CDN resource
Aug 16, 2023
This is because of common provider (mis)behavior I mentioned in #465 - if there is no value at all in configuration it completly ignore it and do not try to sync
If you omit custom_host_header in resource definition any changes made with web console do not affect
terraform apply
- provider simply ignores it.Steps to reproduce:
terraform apply
show nothing changed from provider point of view:terraform apply
plan this change:This issue also persist with
terraform import
of resource with custom host header:custom_host_header
added to stateterraform apply
do not plan to remove it if there is no custom_host_header option in resourceThe text was updated successfully, but these errors were encountered: