Skip to content

Commit b8af5df

Browse files
committed
chore: basic documentation & add release github action
1 parent a0cb197 commit b8af5df

File tree

8 files changed

+81
-13
lines changed

8 files changed

+81
-13
lines changed

.github/dependabot.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,14 @@ updates:
99
- package-ecosystem: "github-actions"
1010
directory: "/.github/workflows"
1111
schedule:
12-
interval: daily
12+
interval: 'weekly'
13+
day: 'saturday'
14+
time: '07:00'
15+
timezone: 'Pacific/Auckland'
16+
- package-ecosystem: 'terraform'
17+
directory: '/' # Location of package manifests
18+
schedule:
19+
interval: 'weekly'
20+
day: 'saturday'
21+
time: '07:00'
22+
timezone: 'Pacific/Auckland'

.github/workflows/create-release.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: create-release
3+
4+
on:
5+
workflow_dispatch:
6+
push:
7+
tags:
8+
- '*'
9+
10+
jobs:
11+
Release:
12+
name: Release
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: ncipollo/release-action@v1
19+
with:
20+
generateReleaseNotes: true
21+
name: '${{ github.ref_name }}'
22+
token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,17 @@ override.tf.json
2626
# Include override files you do wish to add to version control using negated pattern
2727
# !example_override.tf
2828

29+
# Ignore Terraform lock file
30+
.terraform.lock.hcl
31+
2932
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
3033
# example: *tfplan*
3134

3235
# Ignore CLI configuration files
3336
.terraformrc
3437
terraform.rc
35-
36-
# lock files
37-
**/.terraform.lock.hcl
38+
*tfplan*
39+
README-generated.md
40+
avm.tflint.hcl
41+
avm.tflint_example.hcl
42+
avmmakefile

.terraform-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
formatter: "markdown document" # this is required
66

7-
version: "0.16.0"
7+
version: "0.17.0"
88

99
header-from: "_header.md"
1010
footer-from: "_footer.md"

.vscode/extensions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"editorconfig.editorconfig",
55
"azapi-vscode.azapi",
66
"ms-vscode-remote.remote-wsl",
7-
"ms-vscode-remote.remote-containers"
7+
"ms-vscode-remote.remote-containers",
8+
"davidanson.vscode-markdownlint"
89
]
910
}

README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,26 @@
11
<!-- BEGIN_TF_DOCS -->
2-
# terraform-azurerm-avm-res-container-apps
2+
# terraform-azapi-res-container-apps
33

4-
This is a repo for Container Apps in the style of Azure Verified Modules (AVM), it is an 'unofficial' example that has been used for learning AVM.
4+
This is a repo for Container Apps ***in the style of*** Azure Verified Modules (AVM), for official AVM modules, please see <https://aka.ms/AVM>.
5+
6+
Whilst this uses the AzApi provider, a key design pattern is to standardarise the variable definition so it is as close to the existing AzureRM resource as possible (augmenting as needed to support parameters that are currently not supported by the AzureRM provider).
7+
8+
Currently implemented parameters cover;
9+
10+
- dapr
11+
- container
12+
- ingress
13+
- probes (liveness, readiness & startup)
14+
- secrets
15+
- registries
516

617
Note this uses the AZAPI provider because of support missing within the AzureRM provider for [workload profiles](https://github.com/hashicorp/terraform-provider-azurerm/issues/21747).
718

8-
Once required functionality is available within AzureRM, [azapi2azurerm](https://github.com/Azure/azapi2azurerm) can be used to convert this code.
19+
## Background
20+
21+
This project was originally written because the AzAPI provider was missing within the AzureRM provider for [workload profiles](https://github.com/hashicorp/terraform-provider-azurerm/issues/21747).
22+
23+
This can be converted using [azapi2azurerm](https://github.com/Azure/azapi2azurerm) once Container Apps support stablises in the Azure RM provider.
924

1025
This project includes [examples](./examples/) showing default settings and an example from Microsoft Learn illustrating Dapr.
1126

_header.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
1-
# terraform-azurerm-avm-res-container-apps
1+
# terraform-azapi-res-container-apps
22

3-
This is a repo for Container Apps in the style of Azure Verified Modules (AVM), it is an 'unofficial' example that has been used for learning AVM.
3+
This is a repo for Container Apps ***in the style of*** Azure Verified Modules (AVM), for official AVM modules, please see <https://aka.ms/AVM>.
4+
5+
Whilst this uses the AzApi provider, a key design pattern is to standardarise the variable definition so it is as close to the existing AzureRM resource as possible (augmenting as needed to support parameters that are currently not supported by the AzureRM provider).
6+
7+
Currently implemented parameters cover;
8+
9+
- dapr
10+
- container
11+
- ingress
12+
- probes (liveness, readiness & startup)
13+
- secrets
14+
- registries
415

516
Note this uses the AZAPI provider because of support missing within the AzureRM provider for [workload profiles](https://github.com/hashicorp/terraform-provider-azurerm/issues/21747).
617

7-
Once required functionality is available within AzureRM, [azapi2azurerm](https://github.com/Azure/azapi2azurerm) can be used to convert this code.
18+
## Background
19+
20+
This project was originally written because the AzAPI provider was missing within the AzureRM provider for [workload profiles](https://github.com/hashicorp/terraform-provider-azurerm/issues/21747).
21+
22+
This can be converted using [azapi2azurerm](https://github.com/Azure/azapi2azurerm) once Container Apps support stablises in the Azure RM provider.
823

924
This project includes [examples](./examples/) showing default settings and an example from Microsoft Learn illustrating Dapr.
1025

examples/.terraform-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
formatter: "markdown document" # this is required
66

7-
version: "0.16.0"
7+
version: "0.17.0"
88

99
header-from: "_header.md"
1010
footer-from: "_footer.md"

0 commit comments

Comments
 (0)