jonra1993 / fastapi-alembic-sqlmodel-async

This is a project template which uses FastAPI, Pydantic 2.0, Alembic and async SQLModel as ORM. It shows a complete async CRUD using authentication and role base access control.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Include locals and all defaults for vars in terraform

bazylhorsey opened this issue · comments

This snippet fails due to no locals, its hard to infer what these are. A local in variables.tf seems appropriate @jonra1993 .

  env_vars = {
    for obj in concat(local.fastapi, local.database, local.traefik, local.redis, local.minio, local.external_apis) : "${obj.name}" => " ${obj.value}"
  }

This one is not as big a deal but variables need to set by the user by putting defaults or setting it up on terraform cloud. It'd be really cool if this was all taken from .env

Hello @bazylhorsey I ma going to check it