sparse-intern-71089
05/25/2021, 9:46 PMtall-librarian-49374
05/25/2021, 9:50 PMpulumi up --skip-preview --yes -v=9 --debug --logflow --logtostderr
), find the HTTP request that we are sending and make sure it looks valid?glamorous-helmet-50600
05/25/2021, 9:51 PMglamorous-helmet-50600
05/25/2021, 10:13 PM{
"location": "uksouth",
"properties": {
"options": {},
"resource": {
"conflictResolutionPolicy": {
"conflictResolutionPath": "/_ts",
"mode": "LastWriterWins"
},
"id": "test-conta",
"indexingPolicy": {
"automatic": true,
"includedPaths": [
{
"indexes": [
{
"dataType": "String",
"kind": "Range",
"precision": -1
},
{
"dataType": "Number",
"kind": "Range",
"precision": -1
},
{
"dataType": "Point",
"kind": "Spatial"
}
],
"path": "/*"
}
],
"indexingMode": "consistent"
},
"partitionKey": {
"kind": "Hash",
"paths": [
"/pid"
]
}
}
}
}
glamorous-helmet-50600
05/25/2021, 10:53 PMglamorous-helmet-50600
05/26/2021, 8:11 AMtall-librarian-49374
05/26/2021, 9:19 AMpulumi refresh
if you changed the existing resource and/or export the ARM template and see if it’s different?glamorous-helmet-50600
05/26/2021, 10:27 AMglamorous-helmet-50600
05/26/2021, 10:29 AMglamorous-helmet-50600
05/26/2021, 10:29 AMglamorous-helmet-50600
05/26/2021, 10:36 AMglamorous-helmet-50600
05/26/2021, 10:36 AMAzureNative.DocumentDB.Inputs.IncludedPathArgs
tall-librarian-49374
05/26/2021, 10:59 AMglamorous-helmet-50600
05/26/2021, 11:06 AMglamorous-helmet-50600
05/26/2021, 11:07 AMtall-librarian-49374
05/26/2021, 11:19 AMglamorous-helmet-50600
05/26/2021, 1:14 PMglamorous-helmet-50600
05/26/2021, 1:31 PMglamorous-helmet-50600
05/26/2021, 7:54 PM{
"indexingMode": "consistent",
"automatic": true,
"includedPaths": [
{
"path": "/*",
"indexes": [
{
"kind": "Range",
"dataType": "Number",
"precision": -1
},
{
"kind": "Range",
"dataType": "String",
"precision": -1
},
{
"kind": "Spatial",
"dataType": "Point"
}
]
}
],
"excludedPaths": [
{
"path": "/\"_etag\"/?"
}
]
}
it saves without errors but if I change tab and go back to the IndexingPolicy tab I get this:
{
"indexingMode": "consistent",
"automatic": true,
"includedPaths": [
{
"path": "/*"
}
],
"excludedPaths": [
{
"path": "/\"_etag\"/?"
}
],
"spatialIndexes": [
{
"path": "/*",
"types": [
"Point",
"LineString",
"Polygon",
"MultiPolygon"
]
}
]
}
Definitely nothing wrong with what Pulumi is trying to do, it's just Azure being a bit shitty I'd say. Perhaps both versions are equivalent.tall-librarian-49374
05/26/2021, 7:57 PM