Remove pulumi/coconut#141 workaround
This commit is contained in:
parent
4e5140251b
commit
7f634b4cf2
1 changed files with 9 additions and 11 deletions
|
@ -79,17 +79,15 @@ export class API {
|
|||
version: "1.0",
|
||||
},
|
||||
paths: {
|
||||
},
|
||||
};
|
||||
// BUGBUG[pulumi/coconut#141]: this property assignment should become part of the above object literal when
|
||||
// we support computed properties.
|
||||
body.paths[this.path] = {
|
||||
"x-amazon-apigateway-any-method": {
|
||||
responses: {},
|
||||
"x-amazon-apigateway-integration": {
|
||||
httpMethod: "POST",
|
||||
type: "aws_proxy",
|
||||
uri: runtime.aws.getLambdaAPIInvokeURI(lambdaFunc),
|
||||
[this.path]: {
|
||||
"x-amazon-apigateway-any-method": {
|
||||
responses: {},
|
||||
"x-amazon-apigateway-integration": {
|
||||
httpMethod: "POST",
|
||||
type: "aws_proxy",
|
||||
uri: runtime.aws.getLambdaAPIInvokeURI(lambdaFunc),
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue