diff --git a/.changes/unreleased/Fixed-20241204-103555.yaml b/.changes/unreleased/Fixed-20241204-103555.yaml new file mode 100644 index 00000000..76409e62 --- /dev/null +++ b/.changes/unreleased/Fixed-20241204-103555.yaml @@ -0,0 +1,3 @@ +kind: Fixed +body: Fixed default shipping_method active field +time: 2024-12-04T10:35:55.737560094+01:00 diff --git a/commercetools/resource_shipping_method.go b/commercetools/resource_shipping_method.go index 16baff29..9391c98e 100644 --- a/commercetools/resource_shipping_method.go +++ b/commercetools/resource_shipping_method.go @@ -51,9 +51,10 @@ func resourceShippingMethod() *schema.Resource { Optional: true, }, "active": { - Description: "Activate or deactivate a shippinh method. Default is active.", + Description: "Activate or deactivate a shipping method. Default is active.", Type: schema.TypeBool, Optional: true, + Default: true, }, "is_default": { Description: "One shipping method in a project can be default",