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
When you pass a partial object to the transform field, the objects are not merged. For example, if you try to add an inline policy to a role, it does not get merged with the inline policies ion is adding. This is because the args and the transform object are spread and not merged. This line should do a deep merge and concat.
Example
sst.config.ts:
consttable=newsst.aws.Table("Table");// The inline policies array is overwritten so the policies that were added for the table are not therenewsst.aws.Function("Function",{link: [table],transform: {function: {tracingConfig: {mode: "Active",},},role: {inlinePolicies: [{name: "XRayPolicy",policy: $util.jsonStringify({Version: "2012-10-17",Statement: [{Effect: "Allow",Action: ["xray:PutTraceSegments","xray:PutTelemetryRecords",],Resource: "*",},],}),},],},},});
The text was updated successfully, but these errors were encountered:
When you pass a partial object to the transform field, the objects are not merged. For example, if you try to add an inline policy to a role, it does not get merged with the inline policies ion is adding. This is because the args and the transform object are spread and not merged. This line should do a deep merge and concat.
Example
sst.config.ts
:The text was updated successfully, but these errors were encountered: