Skip to content

Commit

Permalink
r/aws_datasync_location_hdfs: Mark qop_configuration as Computed.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Mar 19, 2024
1 parent d044075 commit 5dde47b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .changelog/36072.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
3 changes: 3 additions & 0 deletions internal/service/datasync/location_hdfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
},
Expand Down

0 comments on commit 5dde47b

Please sign in to comment.