You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For test/dev deployments, I would like to just use API Gateway generated uri.
API Gateway Deployment cannot be created without the swagger, but swagger needs to know API Gateway invoke url to generate proper custom scope.. Is there any way to solve this issue?
The text was updated successfully, but these errors were encountered:
Is terraform complaining about circular dependencies? I haven't tried to set this up myself, but can you use a terraform variable for a scope value? e.g scopes=["${aws_api_gateway_deployment.rest_api.invoke_url}/foobar.read"]
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
Yes, it does complain about circular dependency.
The problem is that {aws_api_gateway_deployment.rest_api.invoke_url} is known when api_gateway is created, but it has a dependency on Chalice generated swagger. However, swagger includes all scopes, so that's where circular dep comes from
Hello,
I'm trying to create a Chalice app that supports custom scope from Cognito via Terraform.
I was looking at this example: https://aws.github.io/chalice/topics/authorizers.html
It is great, but it assumes that scope name is known before the deployment.
For test/dev deployments, I would like to just use API Gateway generated uri.
API Gateway Deployment cannot be created without the swagger, but swagger needs to know API Gateway invoke url to generate proper custom scope.. Is there any way to solve this issue?
The text was updated successfully, but these errors were encountered: