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
+487 -4
View File
@@ -384,6 +384,7 @@ pre,
/* The 14px chrome size is too small once the icon is the only thing naming a
service. CSS overrides lucide's width/height attributes. */
[data-sidebar="collapsed"] .sidebar:not(:has(.nav:focus-within)) .nav-link .service-icon-glyph,
[data-sidebar="collapsed"] .sidebar:not(:has(.nav:focus-within)) .nav-link svg {
width: 18px;
height: 18px;
@@ -442,6 +443,16 @@ pre,
color: var(--accent);
}
.service-icon-glyph {
display: block;
flex: 0 0 auto;
object-fit: contain;
}
.aws-service-icon {
border-radius: 3px;
}
.brand p {
margin: 0;
font-size: 11px;
@@ -929,6 +940,7 @@ pre,
.workflow-palette-cards strong { font-size: 12px; }
.workflow-palette-cards small { color: var(--text-3); font-size: 9px; }
.workflow-palette-icon { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 3px; background: var(--accent-tint); color: var(--accent); }
.workflow-palette-icon:has(.aws-service-icon) { background: transparent; }
.workflow-palette-service-group { display: grid; gap: 6px; margin: 0 0 12px; }
.workflow-palette-service-group h4 { margin: 0; color: var(--text-2); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.workflow-palette-lambda { background: rgba(255, 153, 0, .15); color: #d97706; }
@@ -975,6 +987,57 @@ pre,
.workflow-retry-marker { margin-top: 7px; color: #854d0e; font-size: 10px; font-weight: 700; }
.workflow-state-name { display: block; margin-top: 4px; color: var(--workflow-node-muted); font-size: 10px; }
.workflow-unattached-marker { display: inline-block; margin-top: 7px; padding: 2px 5px; border: 1px solid #a85f13; border-radius: 2px; color: #7a3f00; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.workflow-execution-detail { margin-top: 16px; }
.workflow-execution-list { margin-top: 16px; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.workflow-execution-list-heading { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface); }
.workflow-execution-list-heading h4 { margin: 0; color: var(--text); font-size: 13px; }
.workflow-execution-list-heading span { color: var(--text-3); font-size: 11px; }
.workflow-execution-list-table { overflow-x: auto; }
.workflow-execution-list.compact .workflow-execution-list-table { max-height: 264px; overflow-y: auto; }
.workflow-execution-list.compact thead { position: sticky; top: 0; z-index: 1; }
.workflow-execution-list .table { margin: 0; }
.workflow-execution-status { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; color: var(--text-2); font-size: 11px; font-weight: 700; vertical-align: middle; }
.workflow-execution-status.running { color: #0369a1; }
.workflow-execution-status.succeeded { color: #16743e; }
.workflow-execution-status.failed { color: #b42318; }
.workflow-execution-status.caught { color: #a15c00; }
.workflow-execution-workspace { display: grid; grid-template-columns: minmax(340px, 1.1fr) minmax(320px, .9fr); min-height: 510px; border: 1px solid var(--border); }
.workflow-execution-graph, .workflow-execution-inspector { min-width: 0; background: var(--surface); }
.workflow-execution-graph { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; border-right: 1px solid var(--border); }
.workflow-execution-pane-heading, .workflow-execution-history-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--border); }
.workflow-execution-pane-heading h4, .workflow-execution-history-heading h4 { margin: 0; color: var(--text); font-size: 15px; }
.workflow-execution-pane-heading p { margin: 3px 0 0; color: var(--text-3); font-size: 11px; }
.workflow-execution-pane-heading > span { color: var(--text-3); font-size: 11px; }
.workflow-execution-canvas { display: grid; justify-items: center; align-content: start; min-height: 410px; max-height: 620px; overflow: auto; padding: 26px 22px; background: radial-gradient(circle at 1px 1px, var(--workflow-canvas-dot) 1px, transparent 0) 0 0 / 20px 20px, var(--workflow-canvas-bg); }
.workflow-execution-start, .workflow-execution-end { display: grid; width: 58px; height: 58px; place-items: center; border: 2px solid #a76f12; border-radius: 50%; background: #fff1be; color: #60430b; font-size: 12px; font-weight: 800; }
.workflow-execution-end { width: 48px; height: 30px; border-color: #b42318; border-radius: 999px; background: #fff1f0; color: #9f1c13; }
.workflow-execution-graph-row { display: grid; justify-items: center; }
.workflow-execution-connector { width: 1px; height: 25px; background: #758195; }
.workflow-execution-node { display: grid; grid-template-columns: auto 1fr; width: min(280px, 100%); gap: 2px 8px; align-items: center; padding: 11px 13px; border: 2px solid #94a1b5; border-radius: 5px; background: var(--elevated); color: #172033; text-align: left; box-shadow: 0 2px 5px rgba(31, 41, 55, .12); }
.workflow-execution-node strong { min-width: 0; overflow: hidden; color: #172033; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.workflow-execution-node small { grid-column: 2; color: #566273; font-size: 10px; }
.workflow-execution-node .workflow-execution-status { margin: 0; }
.workflow-execution-node .workflow-execution-status svg { grid-row: span 2; }
.workflow-execution-node.pending { border-style: dashed; }
.workflow-execution-node.running { border-color: #0284c7; background: #e0f2fe; }
.workflow-execution-node.succeeded { border-color: #268847; background: #e7f8ea; }
.workflow-execution-node.failed { border-color: #c9362d; background: #fff0ef; }
.workflow-execution-node.caught { border-color: #d48a17; background: #fff8e3; }
.workflow-execution-node.selected { outline: 3px solid var(--accent); outline-offset: 2px; }
.workflow-execution-legend { display: flex; flex-wrap: wrap; gap: 10px 16px; padding: 11px 16px; border-top: 1px solid var(--border); color: var(--text-2); font-size: 10px; }
.workflow-execution-legend span { display: inline-flex; align-items: center; gap: 5px; }
.workflow-execution-legend i { width: 11px; height: 11px; border: 1px solid #94a1b5; border-radius: 2px; background: var(--surface); }
.workflow-execution-legend i.running { border-color: #0284c7; background: #e0f2fe; }.workflow-execution-legend i.failed { border-color: #c9362d; background: #fff0ef; }.workflow-execution-legend i.caught { border-color: #d48a17; background: #fff8e3; }.workflow-execution-legend i.succeeded { border-color: #268847; background: #e7f8ea; }
.workflow-execution-inspector { display: grid; grid-template-rows: auto auto minmax(0, 1fr); }
.workflow-execution-tabs { display: flex; overflow-x: auto; border-bottom: 1px solid var(--border); }
.workflow-execution-tabs button { flex: 1 0 auto; padding: 11px 9px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--text-3); font-size: 11px; font-weight: 700; text-transform: capitalize; }
.workflow-execution-tabs button.active { border-bottom-color: var(--accent); color: var(--accent); }
.workflow-execution-tab-content { min-width: 0; padding: 17px; overflow: auto; }
.workflow-execution-tab-content h4 { margin: 0 0 9px; color: var(--text-2); font-size: 12px; }
.workflow-execution-tab-content pre { max-height: 365px; margin: 0; overflow: auto; padding: 14px; border: 1px solid var(--border); background: var(--raised); color: var(--text); font-size: 11px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.workflow-state-events { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }.workflow-state-events li { display: flex; justify-content: space-between; gap: 8px; padding: 8px; border: 1px solid var(--border-faint); font-size: 11px; }.workflow-state-events time { color: var(--text-3); }
.workflow-execution-history { margin-top: 16px; border: 1px solid var(--border); background: var(--surface); }.workflow-execution-history-heading { border: 0; }.workflow-execution-history-heading h4 span { color: var(--text-3); font-weight: 400; }.workflow-execution-history-heading p { margin: 4px 0 0; }.workflow-live-indicator { display: inline-flex; align-items: center; gap: 5px; color: #0369a1; font-size: 11px; font-weight: 700; }.workflow-execution-history > ol { max-height: 330px; margin: 0; overflow: auto; padding: 0; border-top: 1px solid var(--border); list-style: none; }.workflow-execution-history li + li { border-top: 1px solid var(--border-faint); }.workflow-execution-history li button { display: grid; width: 100%; grid-template-columns: minmax(170px, .8fr) minmax(170px, 1fr) minmax(120px, 1fr); gap: 10px; padding: 10px 16px; border: 0; border-radius: 0; background: transparent; color: var(--text); text-align: left; }.workflow-execution-history li button:not(:disabled):hover { background: var(--hover); }.workflow-execution-history li button:disabled { color: var(--text-2); cursor: default; }.workflow-execution-history time { color: var(--text-3); font-size: 11px; }.workflow-execution-history strong { font-size: 11px; }.workflow-execution-history span { color: var(--accent); font-size: 11px; }
@media (max-width: 900px) { .workflow-execution-workspace { grid-template-columns: 1fr; }.workflow-execution-graph { border-right: 0; border-bottom: 1px solid var(--border); }.workflow-execution-canvas { min-height: 320px; max-height: 440px; }.workflow-execution-history li button { grid-template-columns: 1fr; gap: 3px; } }
.workflow-state-task { border-left-color: var(--workflow-task); }
.workflow-node-lambda { border-left-color: #d97706; }
.workflow-node-sns { border-left-color: #c4387b; }
@@ -1136,6 +1199,10 @@ pre,
border-radius: 6px;
}
.service-icon:has(.aws-service-icon) {
background: transparent;
}
.service-card h3 {
margin: 0;
color: var(--text);
@@ -2077,6 +2144,73 @@ pre,
background: var(--raised);
}
.logs-mode-toggle,
.logs-filter-toolbar,
.workflow-execution-heading-actions {
display: flex;
align-items: center;
gap: 8px;
}
.logs-mode-toggle {
margin-right: auto;
}
.logs-mode-toggle .active {
border-color: var(--link);
color: var(--link);
background: var(--link-tint);
}
.logs-filter-toolbar {
flex: 1;
justify-content: flex-end;
}
.logs-filter-toolbar label {
flex: 1;
max-width: 520px;
}
.logs-filter-pattern {
width: 100%;
}
.logs-live-status {
display: flex;
align-items: center;
gap: 6px;
padding: 8px 12px;
color: var(--status-success);
border-bottom: 1px solid var(--border);
font-size: 12px;
}
.logs-events-table td:first-child,
.logs-event-stream {
white-space: nowrap;
}
.workflow-execution-heading-actions {
justify-content: flex-end;
}
@media (max-width: 760px) {
.cosmos-toolbar,
.logs-filter-toolbar {
align-items: stretch;
flex-direction: column;
}
.logs-mode-toggle {
margin-right: 0;
}
.logs-filter-toolbar label {
max-width: none;
}
}
.cosmos-items-table {
min-height: 0;
overflow: auto;
@@ -2526,6 +2660,57 @@ pre,
grid-column: 1 / -1;
}
.dynamodb-query {
display: flex;
flex-wrap: wrap;
align-items: end;
gap: 8px;
padding: 10px 12px;
border-bottom: 1px solid var(--border);
background: color-mix(in srgb, var(--raised) 55%, transparent);
}
.dynamodb-query label {
display: grid;
gap: 4px;
color: var(--muted);
font-size: 10px;
font-weight: 600;
letter-spacing: .03em;
}
.dynamodb-query input,
.dynamodb-query select {
min-width: 120px;
height: 30px;
padding: 4px 7px;
border: 1px solid var(--border);
border-radius: 4px;
background: var(--surface);
color: var(--text);
font: inherit;
font-size: 12px;
}
.dynamodb-mode {
display: flex;
align-self: end;
}
.dynamodb-mode button {
height: 30px;
padding: 0 10px;
border: 1px solid var(--border);
background: var(--surface);
color: var(--muted);
cursor: pointer;
}
.dynamodb-mode button:first-child { border-radius: 4px 0 0 4px; }
.dynamodb-mode button:last-child { margin-left: -1px; border-radius: 0 4px 4px 0; }
.dynamodb-mode button.active { position: relative; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent); }
.dynamodb-load-more { align-self: center; margin: 10px; }
.dynamodb-document {
max-height: 420px;
overflow: auto;
@@ -2537,6 +2722,93 @@ pre,
white-space: pre-wrap;
}
.dynamodb-selection {
width: 36px;
text-align: center;
}
.dynamodb-actions {
position: relative;
}
.dynamodb-actions > summary {
cursor: pointer;
padding: 6px 10px;
border: 1px solid var(--border);
border-radius: 4px;
color: var(--text);
font-size: 12px;
list-style: none;
}
.dynamodb-actions > summary::-webkit-details-marker {
display: none;
}
.dynamodb-actions-menu {
position: absolute;
z-index: 2;
right: 0;
top: calc(100% + 4px);
display: grid;
min-width: 150px;
padding: 4px;
border: 1px solid var(--border);
border-radius: 4px;
background: var(--surface);
box-shadow: 0 6px 18px rgb(0 0 0 / 18%);
}
.dynamodb-actions-menu button {
display: flex;
align-items: center;
gap: 6px;
padding: 7px 8px;
border: 0;
background: transparent;
color: var(--text);
font: inherit;
text-align: left;
cursor: pointer;
}
.dynamodb-actions-menu button:hover:not(:disabled) {
background: var(--raised);
}
.dynamodb-actions-menu .dynamodb-action-edit:hover:not(:disabled) {
background: rgb(57 73 171 / 16%);
color: #5c6bc0;
}
.dynamodb-actions-menu .dynamodb-action-delete:hover:not(:disabled) {
background: rgba(239, 68, 68, 0.15);
color: var(--status-error);
}
.dynamodb-actions-menu .dynamodb-action-download:hover:not(:disabled) {
background: rgb(14 116 144 / 16%);
color: #0891b2;
}
.dynamodb-delete-dialog {
display: grid;
width: min(440px, calc(100vw - 32px));
gap: 16px;
padding: 22px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
box-shadow: 0 20px 60px rgb(0 0 0 / 45%);
}
.dynamodb-delete-dialog-heading { display: flex; gap: 12px; }
.dynamodb-delete-dialog-heading > span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: rgb(239 68 68 / 14%); color: var(--status-error); }
.dynamodb-delete-dialog-heading h3 { margin: 0; color: var(--text); font-size: 17px; }
.dynamodb-delete-dialog-heading p { margin: 6px 0 0; color: var(--text-2); font-size: 13px; line-height: 1.5; }
.dynamodb-delete-warning { padding: 10px 12px; border-left: 3px solid var(--status-error); background: rgb(239 68 68 / 9%); color: var(--text-2); font-size: 12px; }
.dynamodb-delete-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }
.launch-form {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
@@ -3133,13 +3405,42 @@ pre,
padding-top: 16px;
}
.apigateway-route-list {
display: flex;
flex-wrap: wrap;
gap: 8px;
.apigateway-resource-tree {
display: grid;
gap: 6px;
margin-top: 10px;
}
.apigateway-resource-node {
border-left: 1px solid var(--border);
display: grid;
gap: 5px;
margin-left: calc(var(--tree-depth) * 18px);
padding-left: 8px;
}
.apigateway-resource-heading {
align-items: center;
display: flex;
gap: 8px;
}
.apigateway-resource-select {
align-items: baseline;
background: transparent;
border: 0;
color: var(--text);
cursor: pointer;
display: flex;
gap: 8px;
padding: 4px 0;
text-align: left;
}
.apigateway-resource-select small {
color: var(--text-muted);
}
.apigateway-route-item {
align-items: center;
background: var(--surface-subtle);
@@ -3150,6 +3451,13 @@ pre,
gap: 8px;
padding: 7px 9px;
text-align: left;
width: fit-content;
}
.apigateway-cors-confirm {
align-items: stretch;
flex-direction: column;
max-width: 560px;
}
.apigateway-route-select {
@@ -4818,6 +5126,181 @@ button.console-service-card {
resize: vertical;
}
.dynamodb-editor-tabs {
display: flex;
gap: 4px;
border-bottom: 1px solid var(--border-faint);
}
.dynamodb-editor-tabs button {
border: 0;
border-bottom: 2px solid transparent;
background: none;
color: var(--text-2);
cursor: pointer;
padding: 8px 10px;
}
.dynamodb-editor-tabs button.active {
border-color: var(--accent);
color: var(--text-bright);
}
.dynamodb-attribute-rows,
.dynamodb-nested-rows {
display: grid;
gap: 8px;
}
.dynamodb-item-editor-page {
width: min(1240px, calc(100% - 40px));
margin: 0 auto;
padding: 24px 0 48px;
}
.dynamodb-item-editor-back {
margin-bottom: 20px;
}
.dynamodb-item-editor-form {
display: grid;
gap: 22px;
}
.dynamodb-item-editor-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 24px;
}
.dynamodb-item-editor-header h1,
.dynamodb-item-editor-header p {
margin: 0;
}
.dynamodb-item-editor-header h1 {
color: var(--text-bright);
font-size: 24px;
font-weight: 600;
}
.dynamodb-item-editor-header p {
max-width: 680px;
margin-top: 7px;
color: var(--text-2);
font-size: 12px;
line-height: 1.5;
}
.dynamodb-attributes-section {
display: grid;
gap: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface);
}
.dynamodb-attribute-table-heading {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 14px 16px;
border-bottom: 1px solid var(--border);
color: var(--text);
}
.dynamodb-attribute-table-heading h2 {
margin: 0;
color: var(--text-bright);
font-size: 16px;
font-weight: 600;
}
.dynamodb-attribute-table-heading .select {
min-width: 175px;
}
.dynamodb-attribute-row {
display: grid;
grid-template-columns: minmax(150px, 1fr) minmax(200px, 2fr) 130px auto;
align-items: start;
gap: 8px;
}
.dynamodb-attribute-column-headings,
.dynamodb-attribute-row {
padding: 10px 16px;
}
.dynamodb-attribute-column-headings {
display: grid;
grid-template-columns: minmax(150px, 1fr) minmax(200px, 2fr) 130px auto;
gap: 8px;
border-bottom: 1px solid var(--border-faint);
color: var(--text-2);
font-size: 11px;
font-weight: 700;
letter-spacing: .04em;
text-transform: uppercase;
}
.dynamodb-attribute-row + .dynamodb-attribute-row {
border-top: 1px solid var(--border-faint);
}
.dynamodb-attribute-row.key {
background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}
.dynamodb-nested-rows {
grid-column: 2;
}
.dynamodb-attribute-row.nested {
grid-template-columns: minmax(100px, 1fr) minmax(120px, 2fr) 120px auto;
}
.dynamodb-key-badge {
color: var(--accent);
font-weight: 700;
white-space: nowrap;
align-self: center;
}
.dynamodb-item-editor-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
padding-top: 2px;
}
@media (max-width: 640px) {
.dynamodb-attribute-row,
.dynamodb-attribute-row.nested,
.dynamodb-attribute-column-headings {
grid-template-columns: 1fr auto;
}
.dynamodb-attribute-row > .select,
.dynamodb-attribute-row > .textarea,
.dynamodb-attribute-row > .dynamodb-nested-rows {
grid-column: 1;
}
.dynamodb-item-editor-page {
width: min(100% - 24px, 1240px);
padding-top: 16px;
}
.dynamodb-item-editor-header {
align-items: stretch;
flex-direction: column;
}
}
/* ─── Shared drawer tabs ─────────────────────────────────────────────────── */
.sns-tabs {
display: flex;