alright, after banging my head for a while, the pr...
# azure
e
alright, after banging my head for a while, the problem was that I wasn't passing the configs in the right format. I compared the
pulumi import
result vs what I was sending and this is the right syntax for the Config:
Copy code
Config = new Dictionary<string, Dictionary<string, string>[]>
                {
                    {
                        "bindings", new[]
                        {
                            new Dictionary<string, string>
                            {
                                {"authLevel", "function"},
                                {"direction", "in"},
                                {"name", "req"},
                                {"type", "httpTrigger"},
                            },
                            new Dictionary<string, string>
                            {
                                {"direction", "out"},
                                {"name", "res"},
                                {"type", "http"}
                            }
                        }
                    },
                },