https://pulumi.com logo
#azure
Title
# azure
a

abundant-lock-75924

11/12/2023, 9:16 PM
Hi, does anyone have a working container provisioning example on azure for cosmosdb ?
c

colossal-room-15708

11/12/2023, 9:25 PM
like this?
Copy code
const cosmosDbContainerSettings = new cosmosdb.SqlContainer("settings", {
    ...defaultArgs,
    name: "settings",
    accountName: cosmosDbAccount.name,
    databaseName: cosmosDbDatabase.name,
    partitionKeyPath: "/id",
    defaultTtl: -1,
    throughput: 400,
  });
actually, that's not using
azure-native
a

abundant-lock-75924

11/12/2023, 9:39 PM
ok thx! let me test, from the documentation it seems saying azure-native is the right pkg replacing pulumi-azure, right?
c

colossal-room-15708

11/12/2023, 9:40 PM
correct. It is, we just haven't migrated over yet for existing infra
b

brave-planet-10645

11/12/2023, 9:41 PM
a

abundant-lock-75924

11/12/2023, 11:23 PM