Skip to content

Commit 61dd36f

Browse files
committed
2 parents b8af5df + b2bed99 commit 61dd36f

19 files changed

+1142
-867
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ crash.log
1010
crash.*.log
1111

1212
# Exclude all .tfvars files, which are likely to contain sensitive data, such as
13-
# password, private keys, and other secrets. These should not be part of version
14-
# control as they are data points which are potentially sensitive and subject
13+
# password, private keys, and other secrets. These should not be part of version
14+
# control as they are data points which are potentially sensitive and subject
1515
# to change depending on the environment.
1616
*.tfvars
1717
*.tfvars.json

CODE_OF_CONDUCT.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

LICENSE

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
MIT License
1+
# MIT License
22

3-
Copyright (c) Microsoft Corporation.
3+
Copyright (c) kewalaka.
44

5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
1111

12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
1414

15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE

Makefile

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
1-
.PHONY: docs
2-
docs:
3-
@echo "==> Generating module documentation..."
4-
terraform-docs -c .terraform-docs.yml .
5-
@echo "==> Generating examples documentation..."
6-
cd examples && for d in $$(ls -d */); do terraform-docs $$d; done
1+
SHELL := /bin/bash
72

8-
.PHONY: fmt
9-
fmt:
10-
@echo "==> Fixing Terraform code with terraform fmt..."
11-
terraform fmt -recursive
12-
@echo "==> Fixing embedded Terraform with terrafmt..."
13-
find . | egrep ".md|.tf" | grep -v README.md | sort | while read f; do terrafmt fmt $$f; done
14-
15-
.PHONY: tools
16-
tools:
17-
go install github.com/katbyte/terrafmt@latest
18-
go install github.com/terraform-docs/terraform-docs@latest
3+
$(shell curl -H 'Cache-Control: no-cache, no-store' -sSL "https://raw.githubusercontent.com/Azure/tfmod-scaffold/main/avmmakefile" -o avmmakefile)
4+
-include avmmakefile

README.md

Lines changed: 373 additions & 225 deletions
Large diffs are not rendered by default.

SECURITY.md

Lines changed: 0 additions & 41 deletions
This file was deleted.

SUPPORT.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

_header.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Currently implemented parameters cover;
1313
- secrets
1414
- registries
1515

16-
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).
16+
> [!WARNING]
17+
> Major version Zero (0.y.z) is for initial development. Anything MAY change at any time. A module SHOULD NOT be considered stable till at least it is major version one (1.0.0) or greater. Changes will always be via new versions being published and no changes will be made to existing published versions. For more details please go to <https://semver.org/>
1718
1819
## Background
1920

@@ -22,15 +23,3 @@ This project was originally written because the AzAPI provider was missing withi
2223
This can be converted using [azapi2azurerm](https://github.com/Azure/azapi2azurerm) once Container Apps support stablises in the Azure RM provider.
2324

2425
This project includes [examples](./examples/) showing default settings and an example from Microsoft Learn illustrating Dapr.
25-
26-
Things to do:
27-
28-
1. Set up a GitHub repo environment called `test`.
29-
1. Configure environment protection rule to ensure that approval is required before deploying to this environment.
30-
1. Create a user-assigned managed identity in your test subscription.
31-
1. Create a role assignment for the managed identity on your test subscription, use the minimum required role.
32-
1. Configure federated identity credentials on the user assigned managed identity. Use the GitHub environment.
33-
1. Create the following environment secrets on the `test` environment:
34-
1. AZURE_CLIENT_ID
35-
1. AZURE_TENANT_ID
36-
1. AZURE_SUBSCRIPTION_ID

0 commit comments

Comments
 (0)