From 20f26b896be28ee62a9973c54741a32c3537884c Mon Sep 17 00:00:00 2001 From: Matteo Maponi Date: Mon, 23 Aug 2021 15:14:14 +0200 Subject: [PATCH] fix --- internal/services/cosmos/cosmosdb_cassandra_table_resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/services/cosmos/cosmosdb_cassandra_table_resource.go b/internal/services/cosmos/cosmosdb_cassandra_table_resource.go index cc8482126efe..35c0d95eed96 100644 --- a/internal/services/cosmos/cosmosdb_cassandra_table_resource.go +++ b/internal/services/cosmos/cosmosdb_cassandra_table_resource.go @@ -179,7 +179,7 @@ func resourceCosmosDbCassandraTableUpdate(d *pluginsdk.ResourceData, meta interf table.CassandraTableCreateUpdateProperties.Resource.DefaultTTL = utils.Int32(int32(defaultTTL.(int))) } - future, err := client.CreateUpdateCassandraTable(ctx, id.ResourceGroup, id.DatabaseAccountName, id.DatabaseAccountName, id.TableName, table) + future, err := client.CreateUpdateCassandraTable(ctx, id.ResourceGroup, id.DatabaseAccountName, id.CassandraKeyspaceName, id.TableName, table) if err != nil { return fmt.Errorf("updating %s: %+v", *id, err) }