dgctl.json
The
dgctl.json
file is a high-level description of your cloud environment. It has 2 main components:- Top-level environment settings
{
"target": "diggerhq/[email protected]",
"id": "6d3aa570_2efa_4644_bc29_6b07b659321a",
"version": "0.0.4",
"aws_region": "us-west-1",
"blocks": [
{
"name": "default_network",
"type": "vpc"
},
{
"name": "myApp",
"type": "container"
}
]
}
You can configure blocks by editing
config.json
in the relevant sub-directoryThese are the options outside of the block list that apply to your entire stack
target
- the "master template". You can point it to your own repo that generates Terraform similarly to the default one provided by Diggeraws_region
id
- unique identifier of the environment
Last modified 1mo ago