diff --git a/builtin/providers/fastly/resource_fastly_service_v1.go b/builtin/providers/fastly/resource_fastly_service_v1.go index 565839b6a..e36fc946f 100644 --- a/builtin/providers/fastly/resource_fastly_service_v1.go +++ b/builtin/providers/fastly/resource_fastly_service_v1.go @@ -109,7 +109,7 @@ func resourceServiceV1() *schema.Resource { "backend": { Type: schema.TypeSet, - Required: true, + Optional: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ // required fields diff --git a/builtin/providers/fastly/resource_fastly_service_v1_vcl_test.go b/builtin/providers/fastly/resource_fastly_service_v1_vcl_test.go index 0d0c47543..c95a0f2d0 100644 --- a/builtin/providers/fastly/resource_fastly_service_v1_vcl_test.go +++ b/builtin/providers/fastly/resource_fastly_service_v1_vcl_test.go @@ -82,11 +82,6 @@ resource "fastly_service_v1" "foo" { comment = "tf-testing-domain" } - backend { - address = "aws.amazon.com" - name = "amazon docs" - } - vcl { name = "my_custom_main_vcl" content = <