From 93e750433f733ef91f04d7405f1857db60ffc4e0 Mon Sep 17 00:00:00 2001 From: Alexander Pochill Date: Thu, 19 Dec 2024 08:47:26 +0100 Subject: [PATCH] block_fastly_service_package: unnecessary source_code_hash conflict This removes the configuration that `source_code_hash` conflicts with `content`. Regardless of how bytes are provided for the package, it stands to reason it should be possible to also provide the files hash (as computed by `fastly compute hash-files`) so the provider can correctly detect drift. --- fastly/block_fastly_service_package.go | 1 - 1 file changed, 1 deletion(-) diff --git a/fastly/block_fastly_service_package.go b/fastly/block_fastly_service_package.go index 69d38480a..ff3baca51 100644 --- a/fastly/block_fastly_service_package.go +++ b/fastly/block_fastly_service_package.go @@ -51,7 +51,6 @@ func (h *PackageServiceAttributeHandler) Register(s *schema.Resource) error { Optional: true, Computed: true, Description: "Used to trigger updates. Must be set to a SHA512 hash of all files (in sorted order) within the package. The usual way to set this is using the fastly_package_hash data source.", - ConflictsWith: []string{"package.0.content"}, }, }, },