Comments (1)
Thanks for raising this! We actually have a test for this case here:
aws-pdk/packages/type-safe-api/test/construct/type-safe-rest-api.test.ts
Lines 164 to 189 in 7afa3b7
I suppose the difference here is that the logical ID of the TypeSafeRestApi
instances are different, which means the WebACLs have a different name - the names look a bit like: <stack>--<api>-Acl-WebAcl
.
I imagine you're encountering this issue when you have different APIs with the same logical ID, just nested under different constructs? As a workaround you should be able to change the logical IDs and they won't conflict.
To address this properly we should do something similar to what we do for the lambda names:
aws-pdk/packages/type-safe-api/src/construct/type-safe-rest-api.ts
Lines 129 to 132 in 7afa3b7
Or even better we can use the newer CDK Names utility :)
from aws-pdk.
Related Issues (20)
- [DOCS] run pdk from the root hitting error HOT 1
- [BUG] Setting WebAclId in StaticWebsite results in no WebAcl deployed
- [BUG] Cannot find module '[...]/node_modules\node_modules\projen\bin\projen' if outdir without a subfolder in path HOT 3
- [BUG] (cdk-graph-plugin-threat-composer) Generated architecture image too large for threat composer HOT 2
- [FEATURE] Change release workflow to be scheduled fortnightly
- [FEATURE] Create/Publish a Docker Image containing all required PDK dependencies
- [BUG] Static Website deployments fail due to throttling when WebACL configuration is included
- [BUG] Projects which set licensed to false emitting Apache 2.0
- [FEATURE] (type-safe-api) WebSocket API support for Java
- [FEATURE] (type-safe-api) WebSocket API support for Python
- [FEATURE] (type-safe-api) WebSocket API Documentation Generation HOT 1
- [BUG] Support for python project version ranges HOT 2
- [BUG] npm ci fails after installing @aws/pdk HOT 7
- [FEATURE] (type-safe-api) Support service-less TypeSafeApiModelProject HOT 2
- [BUG] pnpm 9 sets link-workspace-packages to false by default
- [FEATURE] replace deprecated @aws-sdk packages HOT 2
- [BUG] licensed: false setting does not work as expected. HOT 1
- [BUG] (type-safe-api) PrepareSpecCustomResource fail with error 413 in large API with many integrations HOT 3
- [BUG] type-safe-api: intermittent ENOTEMPTY in CodeBuild HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-pdk.