github.com/hazelops/ize@v1.1.12-0.20230915191306-97d7c0e48f11/examples/multistack-monorepo/ize.toml (about)

     1  aws_region = "us-east-1"                # (required) AWS Region of this environment should be specified here. Can be overriden by AWS_PROFILE env var or --aws-region flag.
     2  namespace = "testnut"                   # (required) Namespace of the project can be specified here. It is used as a base for all naming. It can be overridden by NAMESPACE env var or --namespace flag.
     3  terraform_version = "1.2.6"             # (optional) Terraform version can be set here. 1.1.3 by default
     4  # prefer_runtime = ""                 	# (optional) Prefer a specific runtime. (native or docker) (default 'native')
     5  # tag = ""                            	# (optional) Tag can be set statically. Normally it is being constructed automatically based on the git revision.
     6  # plain_text = false                  	# (optional) Plain text output can be enabled here. Default is false. Can be overridden by IZE_PLAIN_TEXT env var or --plain-text-output flag.
     7  # env = "dev"                         	# (optional) Environment name can be specified here. Normally it should be passed via `ENV` variable or --env flag.
     8  # env_dir = ""                        	# (optional) Environment directory can be specified here. Normally it's calculated automatically based on the directory structure convention.
     9  # docker_registry = ""                	# (optional) Docker registry can be set here. By default it uses ECR repo with the name of the service.
    10  # tf_log_path = ""                    	# (optional) TF_LOG_PATH can be set here.
    11  # custom_prompt = false               	# (optional) Custom prompt can be enabled here for all console connections. Default: false.
    12  # aws_profile = ""                    	# (optional) AWS Profile can be specified here (but normally it's specified via AWS_PROFILE env var)
    13  # log_level = ""                      	# (optional) Log level can be specified here. Possible levels: info, debug, trace, panic, warn, error, fatal(default). Can be overridden via IZE_LOG_LEVEL env var or via --log-level flag.
    14  # ize_dir = ""                        	# (optional) Ize directory can be specified here. Normally it's assumed to be .infra or .ize in the current repo.
    15  # apps_path = ""                      	# (optional) Path to apps directory can be set. By default apps are searched in 'apps' and 'projects' directories. This is needed in case your repo structure is not purely ize-structured (let's say you have 'src' repo in your dotnet app, as an example)
    16  # root_dir = ""                       	# (optional) Project directory can be set here. By default it's the current directory, but in case you prefer to run ize from the outside of repo it may be useful (uncommon).
    17  # tf_log = ""                         	# (optional) Terraform TF_LOG can be set here.  Can be TRACE, DEBUG, INFO, WARN or ERROR.
    18  # config_file = ""                    	# (optional) Path to ize.toml config file can be specified, but normally it's read from the environment's directory automatically.
    19  # home = ""                           	# (optional) User home directory can be specified here. Normally $HOME is used.
    20  
    21  [terraform.infra]
    22  aws_region = "us-east-1"                # (optional) Terraform-specific AWS Region of this environment should be specified here. Normally global AWS_REGION is used.
    23  # aws_profile = ""                    	# (optional) Terraform-specific AWS profile (optional) can be specified here (but normally it should be inherited from a global AWS_PROFILE).
    24  # version = ""                        	# (optional) Terraform version can be set here. 1.1.3 by default.
    25  # state_bucket_region = ""            	# (optional) Terraform state bucket region can be specified here. Normally AWS_REGION is used here. Can be overriden via env vars or flags.
    26  # state_bucket_name = ""              	# (optional) Terraform state bucket name can be specified here. Normally it's generated and defaults to <NAMESPACE>-tf-state
    27  # root_domain_name = ""               	# (optional) Root domain name can be set here. This is the main domain that will be passed to the terraform. Generally if your app lives at 'api.dev.nutcorp.net' the root domain is `nutcorp.net`
    28  
    29  [terraform.vpc]
    30  # aws_profile = ""                    	# (optional) Terraform-specific AWS profile (optional) can be specified here (but normally it should be inherited from a global AWS_PROFILE).
    31  # version = ""                        	# (optional) Terraform version can be set here. 1.1.3 by default.
    32  # state_bucket_region = ""            	# (optional) Terraform state bucket region can be specified here. Normally AWS_REGION is used here. Can be overriden via env vars or flags.
    33  # state_bucket_name = ""              	# (optional) Terraform state bucket name can be specified here. Normally it's generated and defaults to <NAMESPACE>-tf-state
    34  # root_domain_name = ""               	# (optional) Root domain name can be set here. This is the main domain that will be passed to the terraform. Generally if your app lives at 'api.dev.nutcorp.net' the root domain is `nutcorp.net`
    35  depends_on = ["infra"]
    36  
    37  [terraform.s3]
    38  # aws_profile = ""                    	# (optional) Terraform-specific AWS profile (optional) can be specified here (but normally it should be inherited from a global AWS_PROFILE).
    39  # version = ""                        	# (optional) Terraform version can be set here. 1.1.3 by default.
    40  # state_bucket_region = ""            	# (optional) Terraform state bucket region can be specified here. Normally AWS_REGION is used here. Can be overriden via env vars or flags.
    41  # state_bucket_name = ""              	# (optional) Terraform state bucket name can be specified here. Normally it's generated and defaults to <NAMESPACE>-tf-state
    42  # root_domain_name = ""               	# (optional) Root domain name can be set here. This is the main domain that will be passed to the terraform. Generally if your app lives at 'api.dev.nutcorp.net' the root domain is `nutcorp.net`
    43  depends_on = ["infra"]
    44  
    45  # [ecs.<app>]
    46  # timeout = ""                        	# (optional) ECS deployment timeout can be specified here.
    47  # docker_registry = ""                	# (optional) Docker registry can be set here. By default it uses ECR repo with the name of the service.
    48  # skip_deploy = false                 	# skip deploy app
    49  # path = ""                           	# (optional) Path to ecs app folder can be specified here. By default it's derived from apps path and app name.
    50  # unsafe = false                      	# (optional) Enables unsafe mode that increases deploy time on a cost of shorter healtchecks.
    51  # image = ""                          	# (optional) Docker image can be specified here. By default it's derived from the app name.
    52  # cluster = ""                        	# (optional) ECS cluster can be specified here. By default it's derived from env & namespace
    53  # task_definition_revision = ""       	# (optional) Task definition revision can be specified here. By default latest revision is used to perform a deployment. Normally this parameter can be used via cli during specific deployment needs.
    54  
    55  # [serverless.<name>]
    56  # node_version = "16"                   # (optional) Node version that will be used by nvm can be specified here that. Default is v14.
    57  # path = ""                           	# (optional) Path to the serverless app directory can be specified here. Normally it's derived from app directory and app name.
    58  # sls_node_modules_cache_mount = ""   	# (optional) SLS node_modules cache mount path can be specified here. It's used to store cache during CI/CD process.
    59  # file = ""                           	# (optional) Path to serverless file can be specified here. Normally it's serverless.yml in the app directory.
    60  # create_domain = false               	# (optional) Create domain for the serverless domain manager during the deployment.