From 461e67af1ff53db68c2eaf2a43997755655fcd75 Mon Sep 17 00:00:00 2001 From: Shawn Smith Date: Thu, 11 May 2023 10:33:40 +0900 Subject: [PATCH] add back fastly_service_vcl_active_version (#169) --- docs/resources/edge_deployment_service_backend.md | 1 + provider/resource_edge_deployment_service_update_backend.go | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/docs/resources/edge_deployment_service_backend.md b/docs/resources/edge_deployment_service_backend.md index cbf450b..3171c79 100644 --- a/docs/resources/edge_deployment_service_backend.md +++ b/docs/resources/edge_deployment_service_backend.md @@ -17,6 +17,7 @@ description: |- ### Required +- `fastly_service_vcl_active_version` (Number) Currently active version of the VCL service. Required to run to sync the VCL services origins to the NGWAF service - `fastly_sid` (String) Fastly service ID - `site_short_name` (String) Site short name diff --git a/provider/resource_edge_deployment_service_update_backend.go b/provider/resource_edge_deployment_service_update_backend.go index 92272ac..4effc1f 100644 --- a/provider/resource_edge_deployment_service_update_backend.go +++ b/provider/resource_edge_deployment_service_update_backend.go @@ -23,6 +23,11 @@ func resourceEdgeDeploymentServiceBackend() *schema.Resource { Description: "Fastly service ID", Required: true, }, + "fastly_service_vcl_active_version": { + Type: schema.TypeInt, + Description: "Currently active version of the VCL service. Required to run to sync the VCL services origins to the NGWAF service", + Required: true, + }, }, } }