feat: Cloudformation + RDS

This commit is contained in:
Zakaria
2026-09-30 17:43:42 -04:00
parent 548a15d7ec
commit 7764ea0dc1
411 changed files with 10182 additions and 1063 deletions
@@ -614,10 +614,12 @@ describe('WorkflowStudio', () => {
expect(screen.getByRole('heading', {name: 'SNS Publish Task'})).toBeInTheDocument()
expect(listCloudResources).toHaveBeenCalledWith('aws', 'notifications', undefined, expect.any(AbortSignal))
await user.selectOptions(screen.getByRole('combobox', {name: 'SNS topic'}), 'arn:aws:sns:us-east-1:000000000000:orders')
await user.clear(screen.getByRole('textbox', {name: 'SNS message'}))
await user.type(screen.getByRole('textbox', {name: 'SNS message'}), 'Order succeeded')
await user.click(screen.getByRole('button', {name: 'Save definition'}))
await waitFor(() => expect(updateCloudResource).toHaveBeenCalledTimes(1))
const saved = JSON.parse(updateCloudResource.mock.calls[0][3].definition) as {States: Record<string, {Parameters: Record<string, unknown>}>}
expect(saved.States.PublishNotice.Parameters).toEqual({TopicArn: 'arn:aws:sns:us-east-1:000000000000:orders', Message: 'keep'})
expect(saved.States.PublishNotice.Parameters).toEqual({TopicArn: 'arn:aws:sns:us-east-1:000000000000:orders', Message: 'Order succeeded'})
})
test('edits SQS parameters from queue inventory and keeps shared task policy controls', async () => {