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
Allow customization of the outputSpecLocation in type-safe-rest-api, so the PrepareApiSpecCustomResource writes to the provided bucket instead of the assets bucket.
Use Case
I am trying to deploy a type-safe-api using an environment that has read-only access to the assets s3 bucket. This deployment fails because type-safe-api tries to write the prepared specification to the assets bucket, and there's currently no good way to work around it.
Proposed Solution
Expose the outputSpecLocation as a customizable property for consumers of type-safe-rest-api. Otherwise, expose a boolean that handles the creation of a dedicated output bucket on the consumer's behalf.
Other Information
No response
Acknowledgements
I may be able to implement this feature request
This feature might incur a breaking change
PDK version used
0.23.30
What languages will this feature affect?
Typescript
Environment details (OS name and version, etc.)
MacOS
The text was updated successfully, but these errors were encountered:
Describe the feature
Allow customization of the outputSpecLocation in type-safe-rest-api, so the PrepareApiSpecCustomResource writes to the provided bucket instead of the assets bucket.
Use Case
I am trying to deploy a type-safe-api using an environment that has read-only access to the assets s3 bucket. This deployment fails because type-safe-api tries to write the prepared specification to the assets bucket, and there's currently no good way to work around it.
Proposed Solution
Expose the outputSpecLocation as a customizable property for consumers of type-safe-rest-api. Otherwise, expose a boolean that handles the creation of a dedicated output bucket on the consumer's behalf.
Other Information
No response
Acknowledgements
PDK version used
0.23.30
What languages will this feature affect?
Typescript
Environment details (OS name and version, etc.)
MacOS
The text was updated successfully, but these errors were encountered: