From 5dde47b004854c4645a2324b5583877d6ad7ac7f Mon Sep 17 00:00:00 2001 From: Kit Ewbank Date: Tue, 19 Mar 2024 09:31:34 -0400 Subject: [PATCH] r/aws_datasync_location_hdfs: Mark `qop_configuration` as Computed. --- .changelog/36072.txt | 4 ++++ internal/service/datasync/location_hdfs.go | 3 +++ 2 files changed, 7 insertions(+) diff --git a/.changelog/36072.txt b/.changelog/36072.txt index 6e48ac5c3f26..514301656df4 100644 --- a/.changelog/36072.txt +++ b/.changelog/36072.txt @@ -20,4 +20,8 @@ resource/aws_datasync_location_smb: Fix missing `server_hostname` attribute valu ```release-note:enhancement resource/aws_datasync_location_hdfs: Add `kerberos_keytab_base64` and `kerberos_krb5_conf_base64` arguments +``` + +```release-note:bug +resource/aws_datasync_location_hdfs: Mark `qop_configuration` as Computed ``` \ No newline at end of file diff --git a/internal/service/datasync/location_hdfs.go b/internal/service/datasync/location_hdfs.go index ed3bc63aea2b..8fcd72d8b7e0 100644 --- a/internal/service/datasync/location_hdfs.go +++ b/internal/service/datasync/location_hdfs.go @@ -119,17 +119,20 @@ func resourceLocationHDFS() *schema.Resource { "qop_configuration": { Type: schema.TypeList, Optional: true, + Computed: true, MaxItems: 1, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "data_transfer_protection": { Type: schema.TypeString, Optional: true, + Computed: true, ValidateFunc: validation.StringInSlice(datasync.HdfsDataTransferProtection_Values(), false), }, "rpc_protection": { Type: schema.TypeString, Optional: true, + Computed: true, ValidateFunc: validation.StringInSlice(datasync.HdfsRpcProtection_Values(), false), }, },