-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b7de191
commit 46bad03
Showing
1 changed file
with
27 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,41 @@ | ||
# terraform-azurerm-altinn-modules | ||
Terraform modules created by Altinn | ||
Terraform modules created by Altinn. | ||
|
||
This repository holds a set of modules defined as submodules maintained by team-platform. The maintenance is besteffort and some submodules might be deprecated and removed in later releases | ||
This repository holds a set of modules defined as submodules maintained by the platform team. | ||
|
||
Please read the releasenotes for more information on changes from one version to another | ||
The maintenance is best-effort and some submodules might be deprecated and removed in later releases. | ||
|
||
Please read the release notes for more information on changes from one version to another. | ||
|
||
## Submodules | ||
|
||
### container_apps_job_github_runner | ||
|
||
(Documentation)[modules/github_runner_container_apps_job] | ||
|
||
Module for deploying a container apps environment with a container app jobs that acts as self hosted github runners. | ||
|
||
These self hosted runners should only be used if strictly necessary as the might pose a security risk. | ||
These self hosted runners should only be used if strictly necessary as they might pose a security risk. | ||
|
||
[Documentation](modules/github_runner_container_apps_job) | ||
|
||
## Contributing | ||
### Add new submodule | ||
Run the make script `add-new.sh` example `./add-new.sh --name new-example-submodule` | ||
### Add a new submodule | ||
Run the shell script `add-new.sh` | ||
|
||
For example: `./add-new.sh --name new-example-submodule` | ||
|
||
### Generate updated docs | ||
To update the docs: | ||
1. Install (terraform-docs)[https://terraform-docs.io/] | ||
2a. Update docs for all submodules run the script `generate-docs.sh` with the flag `--all`. Example: `./generate-docs.sh --all` | ||
2b. Update docs for one submodule run the script `generate-docs.sh` with the flag `--module <submodulename>`. Example: `./gnerate-docs.sh --module github_runner_container_apps_job` or change dir to the submodule and run `make generate-docs` | ||
|
||
Or | ||
1. Install (terraform-docs)[https://terraform-docs.io/] | ||
2. Change directory to the submodule you want to update the docs for `cd modules/<name-of-submodule>` | ||
3. Run `make generate-docs` | ||
Firstly, Install [terraform-docs](https://terraform-docs.io/). | ||
|
||
#### To update the docs for all submodules | ||
run the script `generate-docs.sh` with the flag `--all`. | ||
|
||
`./generate-docs.sh --all` | ||
|
||
#### To update the the docs for one submodule | ||
run the script `generate-docs.sh` with the flag `--module <submodulename>` | ||
|
||
For example: `./generate-docs.sh --module github_runner_container_apps_job` | ||
|
||
Or you can also change directory to the submodule you want to update the docs for e.g. `cd modules/<name-of-submodule>` and run | ||
|
||
`make generate-docs`. |