Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.envzero.com/llms.txt

Use this file to discover all available pages before exploring further.

State Access Control

Terraform allows accessing states stored on remote backends using its built in terraform_remote_state data resource, env zero allows specifying which environments would be allowed to access an environment’s state on env zero triggered deployments.

Setting Your Environment State Access

To set your environment’s state access, go to the Environment -> Settings tab and select which projects are allowed to access the environment’s state. You can choose to allow access to all environments in your organization or limit access to specific projects or their subprojects. Environment Settings page with state access controls listing project options for allowed access After saving these settings only environments in the selected projects or their subprojects will be allowed to fetch that environment’s state.
Note:These settings will only affect deployments that are running inside env zero, for local runs or state access that is from outside env zero the logged-in API key / User personal key permissions will determine if they can access the state or not.

Next steps