Hello again! Using the `@pulumi/awsx` package for ...
# general
g
Hello again! Using the
@pulumi/awsx
package for API Gateway, how are subroutes setup? Im trying to setup a route like this:
/test/{proxy+}
but get this error:
Copy code
Unable to create resource at path '/{proxy+}/{proxy+}': Cannot create a child of a resource with a greedy path variable: {proxy+}
I cant find an example of how to setup subroutes, this is how Ive seupt my routes:
Copy code
{
            path: '/test/{proxy+}',
            apiKeyRequired: false,
            method: 'ANY',
            eventHandler: functions.testFunction,
          },
          {
            path: '/{proxy+}',
            method: 'ANY',
            apiKeyRequired: true,
            target: apiServerTarget,
          },
p
you might want to x-post that to #aws channel
👍 1