Hello Pulumi Team, I am trying to use Azure classi...
# general
n
Hello Pulumi Team, I am trying to use Azure classic cosmosDb API to create an account but getting the following error back:
The input authorization token can't serve the request. The wrong key is being used or the expected payload is not built as per the protocol.
This is my API definition:
Copy code
cosmosdb.Account(resource_name=resource_name,
                      location=location,
                      resource_group_name=resource_group_name,
                      offer_type=Standard,
                      kind=GlobalDocumentDB,
                      name=resource_name,
                      enable_automatic_failover=True,
                      consistency_policy=cosmosdb.AccountConsistencyPolicyArgs(
                        consistency_level="Strong"),
                      geo_locations=[
                        cosmosdb.AccountGeoLocationArgs(
                          location=location,
                          failover_priority=0),
                        cosmosdb.AccountGeoLocationArgs(
                          location="East US 2",
                          failover_priority=1)
                      ])
What could be wrong here? Am I missing some required configuration?