pulumi / pulumi-aws-apigateway

Apache License 2.0
10 stars 5 forks source link

The `api`, `deployment` and `stage` outputs are returned as strings not objects #111

Open lukehoban opened 7 months ago

lukehoban commented 7 months ago

Currently most of the useful outputs on the RestAPI resources are returned as strings not objects.

This is the cause of these two issues: https://github.com/pulumi/pulumi-aws-apigateway/blob/d3f90fc2b4e92453d9488f58e745c53c42cf288c/examples/simple/index.ts#L24 https://github.com/pulumi/pulumi-aws-apigateway/blob/d3f90fc2b4e92453d9488f58e745c53c42cf288c/provider/cmd/pulumi-resource-aws-apigateway/restAPI.ts#L159-L160

I believe this is ultimately because of https://github.com/pulumi/pulumi/issues/13802. We will need to fix that and then undo the workaround in restAPI.ts.