sparse-intern-71089
04/21/2023, 3:10 AMbrave-planet-10645
04/21/2023, 9:18 AMorange-airport-64592
04/23/2023, 2:57 AMbillowy-army-68599
get_resource ? it returns the same properties as the creation of the resourcerhythmic-secretary-1287
04/23/2023, 11:54 PMinitialize a database described here https://www.pulumi.com/blog/deploying-mysql-schemas-using-dynamic-providers/orange-airport-64592
04/24/2023, 9:05 AMapigateway API using an openapi file, as shown in my previous code. so I cannot access api.resource from the returned API object because it was not created using the method aws.apigateway.resource().
Next, I need to create an integration for a specific resource, like this:
aws.apigateway.integration(
rest_api=rest_api, resource=HERE_I_NEED_A_RESOURCE_OBJECT,
xxx,
)orange-airport-64592
04/24/2023, 9:07 AMorange-airport-64592
04/25/2023, 5:37 AMapigateway.get_resource_output instead of apigateway.get_resource, but this docs don’t make this clear.
rest_api = aws.apigateway.RestApi(
resource_name="login",
name="login",
body=ApiFile("login.yaml").body,
)
resource = aws.apigateway.get_resource_output(
rest_api_id=rest_api.id,
path="/login",
)