Sha256: d234f2f0d26a2bb0ca3ee1a6c45e1eb1141b18ccddcb15f8f41a640c88f6caa3
Contents?: true
Size: 1.34 KB
Versions: 2
Compression:
Stored size: 1.34 KB
Contents
--- title: Naming Conventions nav_order: 9 --- The codebuild tool follows a few naming conventions. ## Project Name It will set the codebuild project name by inferring the name of the parent folder. For example, if the parent folder is `demo`. cd demo cb deploy The CodeBuild project is named `demo`. You can override this easily by providing a project name. cd deploy my-project # explicitly use my-project as CodeBuild project name The CodeBuild project is named `my-project` ## Type Option If the `--type` option is used, then it is appended to the CodeBuild project name. For example: cb deploy my-project --type unit The CodeBuild project is named `my-project-unit`. ## CB_ENV_EXTRA The `CB_ENV_EXTRA` also affects the name of the CodeBuild project. It gets appened after the type option. CB_ENV_EXTRA=2 cb deploy my-project --type unit The CodeBuild project is named `my-project-unit-2`. ## Settings append_env option If the append_env is configured in the [Settings]({% link _docs/settings.md %}). ## Stack Name The CloudFormation stack name which creates the CodeBuild related resources is named the same as the project name with `-cb` appended to the stack name. Examples: CodeBuild Project Name | Stack Name --- | --- demo | demo-cb demo-unit | demo-unit-cb demo-web-unit | demo-web-unit-cb {% include prev_next.md %}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
codebuild-0.6.1 | docs/_docs/conventions.md |
codebuild-0.6.0 | docs/_docs/conventions.md |