Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
FusionAuth Instance Stack
This pulumi stack contains everything you need to be able to setup a "macro compliant" fusionauth instance.
Supports easy setup for local development.
The local FusionAuth container runs with init: true to reap orphaned health-check
processes. Recreate existing FusionAuth containers to apply this setting; restarting
them does not update their configuration. Keep their database and config volumes.
Prerequisites
The following are required tools you need to have setup ahead of time:
docker and docker-compose
pulumi
aws-cli
just
Usage
Important do not use macro-inc/ prefix when you make your fusionauth-instance local stack. This is meant to be stored on your pulumi account only (local to you) not on the organization.
Deploy Local Fusionauth Instance
Make sure you've already created your main .env file in the root of the repo via just get_environment.
Run just setup to setup the local fusionauth instance and get everything ready to be run.
Important Keys:
username: [email protected]
password: macroIsGreat!
api-key: bf69486b-4733-4954-a44e-2e1b5f2c8a91
Sign-in validation error message
update-theme-message.ts sets [IdentityProviderValidationException] to
conditional sign-in recovery guidance. It replaces or adds this one single-line
entry, preserving the rest of defaultMessages. The PATCH sends no templates
or other theme settings. Authentication and reconciliation are unchanged.
The updater and Pulumi configuration share the theme IDs in theme-ids.ts.
Before applying, save any existing value of this entry for rollback.
# From this directory; uses the stack's existing Pulumi host and API key.
bun update-theme-message.ts dev # read-only preview (or use prod)
bun update-theme-message.ts dev --apply # only after authorization
Merging or deploying this stack does not apply the copy. Run the updater
separately for the authorized environment. A JSON Patch test prevents a stale
read from overwriting another message edit; preview again after a conflict.
For rollback, restore the prior value of this property in the theme editor,
or remove it if it was previously inherited.
Use Biome from nix develop to match infrastructure CI.
TODO
- configure idps
- sync prod with pulumi stack