adding resource to existing apigw in different stack does not redeploy original apigw, hence not able to access resource #33586
Unanswered
wagisha-tiwari
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have one stack where i create a apigw and add resource and deploy. on my second stack i recreate existing apigw using restApiId and rootResourceId
const restApi = apigtw.RestApi.fromRestApiAttributes(this, "development-api", {
restApiId: devlopmentapigatewayId,
rootResourceId: apigwIdResourceId,
});
I attach new resource to it and deploy the second stack.
In original apigw I can see new resource attached but cannot access it unless I redeploy.
How could i redeploy the original apigw when deploying the second stack.
Beta Was this translation helpful? Give feedback.
All reactions