title: When I create containers in Cosmos DB with the Pulumi I received this error "'resource.partitionKey.paths' should be of type 'array' but got a string"
body: <p>I tried to create some containers on my Cosmos Db with the Pulumi from this <a href="https://www.pulumi.com/registry/packages/azure-native/api-docs/documentdb/sqlresourcesqlcontainer/" rel="nofollow noreferrer">reference</a>.</p>
  <p>Regrading the above reference the Partition ID Input should be <code>String</code>.</p>
  <p><a href="https://i.stack.imgur.com/emUNb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/emUNb.png" alt="enter image description here" /></a></p>
  <p>My code is:</p>
  <pre><code>from pulumi_azure_native import documentdb
  
  containers_name = {
      'mytest1': '/test1',
      'mytest2': '/test2',
      'mytest3': '/test3',
  }
  
      # Create Containers
      for container in containers_name.keys():
          sql_api_resource_container = documentdb.SqlResourceSqlContainer('sql_api_resource_container',
                                                                          args=documentdb.SqlResourceSqlContainerArgs(
                                                                              account_name=cosmos_db.name,
                                                                              database_name=sql_api_resource_database.name,
                                                                              resource=documentdb.SqlContainerResourceArgs(
                                                                                  id=container,
                                                                                  partition_key=documentdb.ContainerPartitionKeyArgs(
                                                                                      kind='HASH',
                                                                                      paths=containers_name[container],
                                                                                  ),
                                                                              ),
                                                                              resource_group_name=resource_group_name,
                                                                              container_name=container,
                                                                              location=location_name,
                                                                              tags=tags_group,
                                                                          ),
                                                                          )
  </code></pre>
  <p>But I received the below error:</p>
  <pre><code> error: azure-native:documentdb:SqlResourceSqlContainer resource 'sql_api_resource_container' has a problem: 'resource.partitionKey.paths' should be of type 'array' but got a string
  </code></pre>