tenantConfig attribute in Tenant item DynamoDB: ¿Additional Values? #124
-
Hi everyone, im using saas-reference-architecture-ecs, I have a question about records inserted into DynamoDB when provisioning a tenant. In the tenant item attributes, there is one called tenantConfig that contains something like this: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @omarstapia , To answer your questions:
You add them to the
SBT takes care of that for you. All you need to do is indicate which env var you'd like to "export" out from your provisioning job and SBT will take that and funnel that back and store it in a dynamodb table for you. For the ECS reference architecture, here's where we tell SBT that we want the At a high level, there is a step function that manages the provisioning job. It's responsible for extracting the env vars you indicate and including them in the outgoing event payload (i.e., Hope that helps! |
Beta Was this translation helpful? Give feedback.
Hi @omarstapia ,
To answer your questions:
You add them to the
tenantConfig
env var in your provisioning script. For example, for the ECS reference architecture, here's where thetenantConfig
variable is defined.https://github.com/aws-samples/saas-reference-architecture-ecs/blob/ad79aa13c0df85ab421284bfebb1b5a17870cc74/scripts/provision-tenant.sh#L93