Skip to main content
By default, deployment logs are stored in env zero. You can store the logs in your own AWS account instead. Go to Organization Settings > Agents and click Edit on the agent pool to change the logs configuration.

AWS - Hosting Deployment Logs in DynamoDB

1

Deploy the log table

Deploy the env zero log table terraform module on your AWS account. This module creates the DynamoDB table and the IAM role that env zero assumes when reading and writing logs.For the module variables, use the Agent ID and External ID shown in the Edit Agent modal.
Edit Agent modal showing AWS log configuration fields
2

Configure the agent pool

In the logs configuration section, enter:
  • AWS Account ID - The account where you deployed the log table.
  • Region - The AWS region of the DynamoDB table.
3

Verify

Run a deployment and confirm that logs appear in your DynamoDB table.
Changes to log configuration may take up to 60 minutes to take effect. During this period, logs may still be written to the previous location.