Skip to content

Commit 6d5e71a

Browse files
authored
Merge pull request #33 from MicrosoftCloudEssentials-LearningHub/update-visitor-badge
badge adjusted
2 parents b0a4ff7 + 0517004 commit 6d5e71a

51 files changed

Lines changed: 591 additions & 538 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/.markdownlint.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"default": true,
3+
"MD005": false,
4+
"MD009": false,
5+
"MD013": false,
6+
"MD028": false,
7+
"MD029": false,
8+
"MD033": false,
9+
"MD048": false,
10+
"MD040": false,
11+
"MD041": false
12+
}

.github/workflows/update-md-date.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,18 @@ on:
77

88
permissions:
99
contents: write
10+
pull-requests: write
1011

1112
jobs:
1213
update-date:
1314
runs-on: ubuntu-latest
1415

1516
steps:
16-
- name: Checkout repository
17+
- name: Checkout PR branch
1718
uses: actions/checkout@v4
1819
with:
1920
fetch-depth: 0
21+
ref: ${{ github.event.pull_request.head.ref }}
2022

2123
- name: Set up Python
2224
uses: actions/setup-python@v4
@@ -34,8 +36,13 @@ jobs:
3436
- name: Update last modified date in Markdown files
3537
run: python .github/workflows/update_date.py
3638

37-
- name: Commit changes
39+
- name: Pull (merge) remote changes, commit, and push if needed
40+
env:
41+
TOKEN: ${{ secrets.GITHUB_TOKEN }}
3842
run: |
43+
BRANCH="${{ github.event.pull_request.head.ref }}"
44+
git pull origin "$BRANCH" || echo "No merge needed"
3945
git add -A
4046
git commit -m "Update last modified date in Markdown files" || echo "No changes to commit"
41-
git push origin HEAD:${{ github.event.pull_request.head.ref }}
47+
git remote set-url origin https://x-access-token:${TOKEN}@github.com/${{ github.repository }}
48+
git push origin HEAD:"$BRANCH"

.github/workflows/validate_and_fix_markdown.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
fetch-depth: 0
2121

2222
- name: Set up Node.js
23-
uses: actions/setup-node@v3
23+
uses: actions/setup-node@v4
2424
with:
25-
node-version: '16'
25+
node-version: '20'
2626

2727
- name: Install Markdown Linter
2828
run: npm install -g markdownlint-cli

0_core-infrastructure/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Last updated: 2025-03-24
2424

2525
<!-- START BADGE -->
2626
<div align="center">
27-
<img src="https://img.shields.io/badge/Total%20views-1459-limegreen" alt="Total views">
28-
<p>Refresh Date: 2025-10-15</p>
27+
<img src="https://img.shields.io/badge/Total%20views-1283-limegreen" alt="Total views">
28+
<p>Refresh Date: 2026-02-03</p>
2929
</div>
3030
<!-- END BADGE -->

0_core-infrastructure/azure-bastion/README.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Costa Rica
55
[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/)
66
[brown9804](https://github.com/brown9804)
77

8-
Last updated: 2025-03-12
8+
Last updated: 2026-02-03
99

1010
------------------------------------------
1111

@@ -30,23 +30,22 @@ Last updated: 2025-03-12
3030

3131
Below is a list of variables used in this template, their expected values, types, and examples:
3232

33-
| Variable Name | Description | Type | Example Value |
34-
|-----------------------|--------------------------------------------------|--------|-----------------------|
33+
| Variable Name | Description | Type | Example Value |
34+
| --- | --- | --- | --- |
3535
| `resource_group_name` | The name of the Azure Resource Group to associate the Bastion Host with. | string | `"my-resource-group"` |
36-
| `location` | The Azure region where the Resource Group will be created. | string | `"East US"` |
37-
| `vnet_name` | The name of the Virtual Network. | string | `"my-vnet"` |
38-
| `vnet_address_space` | The address space for the Virtual Network. | list(string) | `["10.0.0.0/16"]` |
39-
| `subnet_name` | The name of the Subnet. | string | `"my-subnet"` |
40-
| `subnet_address_prefixes` | The address prefixes for the Subnet. | list(string) | `["10.0.1.0/24"]` |
41-
| `public_ip_name` | The name of the Public IP. | string | `"my-public-ip"` |
42-
| `bastion_name` | The name of the Bastion Host. | string | `"my-bastion"` |
43-
| `bastion_dns_name` | The DNS name for the Bastion Host. | string | `"my-bastion-dns"` |
44-
| `tags` | A map of tags to assign to the resources. | map | `{ "env": "dev" }` |
36+
| `location` | The Azure region where the Resource Group will be created. | string | `"East US"` |
37+
| `vnet_name` | The name of the Virtual Network. | string | `"my-vnet"` |
38+
| `vnet_address_space` | The address space for the Virtual Network. | list(string) | `["10.0.0.0/16"]` |
39+
| `subnet_name` | The name of the Subnet. | string | `"my-subnet"` |
40+
| `subnet_address_prefixes` | The address prefixes for the Subnet. | list(string) | `["10.0.1.0/24"]` |
41+
| `public_ip_name` | The name of the Public IP. | string | `"my-public-ip"` |
42+
| `bastion_name` | The name of the Bastion Host. | string | `"my-bastion"` |
43+
| `bastion_dns_name` | The DNS name for the Bastion Host. | string | `"my-bastion-dns"` |
44+
| `tags` | A map of tags to assign to the resources. | map | `{ "env": "dev" }` |
4545

4646
<!-- START BADGE -->
4747
<div align="center">
48-
<img src="https://img.shields.io/badge/Total%20views-1459-limegreen" alt="Total views">
49-
<p>Refresh Date: 2025-10-15</p>
48+
<img src="https://img.shields.io/badge/Total%20views-1283-limegreen" alt="Total views">
49+
<p>Refresh Date: 2026-02-03</p>
5050
</div>
5151
<!-- END BADGE -->
52-

0_core-infrastructure/azure-dns/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Costa Rica
55
[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/)
66
[brown9804](https://github.com/brown9804)
77

8-
Last updated: 2025-02-21
8+
Last updated: 2026-02-03
99

1010
------------------------------------------
1111

@@ -30,17 +30,17 @@ Last updated: 2025-02-21
3030

3131
Below is a list of variables used in this template, their expected values, types, and examples:
3232

33-
| Variable Name | Description | Type | Example Value |
34-
|-----------------------|--------------------------------------------------|--------|-----------------------|
33+
| Variable Name | Description | Type | Example Value |
34+
| --- | --- | --- | --- |
3535
| `resource_group_name` | The name of the Azure Resource Group to associate the DNS Zone with. | string | `"my-resource-group"` |
36-
| `dns_zone_name` | The name of the Azure DNS Zone to create. | string | `"example.com"` |
37-
| `location` | The Azure region where the Resource Group will be created. | string | `"East US"` |
38-
| `subscription_id` | The Azure subscription ID to use for the AzureRM provider. | string | `"your-subscription-id"` |
39-
| `tags` | A map of tags to assign to the resources. | map | `{ "env": "dev" }` |
36+
| `dns_zone_name` | The name of the Azure DNS Zone to create. | string | `"example.com"` |
37+
| `location` | The Azure region where the Resource Group will be created. | string | `"East US"` |
38+
| `subscription_id` | The Azure subscription ID to use for the AzureRM provider. | string | `"your-subscription-id"` |
39+
| `tags` | A map of tags to assign to the resources. | map | `{ "env": "dev" }` |
4040

4141
<!-- START BADGE -->
4242
<div align="center">
43-
<img src="https://img.shields.io/badge/Total%20views-1459-limegreen" alt="Total views">
44-
<p>Refresh Date: 2025-10-15</p>
43+
<img src="https://img.shields.io/badge/Total%20views-1283-limegreen" alt="Total views">
44+
<p>Refresh Date: 2026-02-03</p>
4545
</div>
4646
<!-- END BADGE -->

0_core-infrastructure/network-security-group/README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Costa Rica
55
[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/)
66
[brown9804](https://github.com/brown9804)
77

8-
Last updated: 2025-02-21
8+
Last updated: 2026-02-03
99

1010
------------------------------------------
1111

@@ -30,18 +30,17 @@ Last updated: 2025-02-21
3030

3131
Below is a list of variables used in this template, their expected values, types, and examples:
3232

33-
| Variable Name | Description | Type | Example Value |
34-
|-----------------------|--------------------------------------------------|--------|-----------------------|
33+
| Variable Name | Description | Type | Example Value |
34+
| --- | --- | --- | --- |
3535
| `resource_group_name` | The name of the Azure Resource Group to associate the NSG with. | string | `"my-resource-group"` |
36-
| `nsg_name` | The name of the Azure Network Security Group to create. | string | `"my-nsg"` |
37-
| `location` | The Azure region where the NSG will be created. | string | `"East US"` |
38-
| `subscription_id` | The Azure subscription ID to use for the AzureRM provider. | string | `"your-subscription-id"` |
39-
| `tags` | A map of tags to assign to the resources. | map | `{ "env": "dev" }` |
36+
| `nsg_name` | The name of the Azure Network Security Group to create. | string | `"my-nsg"` |
37+
| `location` | The Azure region where the NSG will be created. | string | `"East US"` |
38+
| `subscription_id` | The Azure subscription ID to use for the AzureRM provider. | string | `"your-subscription-id"` |
39+
| `tags` | A map of tags to assign to the resources. | map | `{ "env": "dev" }` |
4040

4141
<!-- START BADGE -->
4242
<div align="center">
43-
<img src="https://img.shields.io/badge/Total%20views-1459-limegreen" alt="Total views">
44-
<p>Refresh Date: 2025-10-15</p>
43+
<img src="https://img.shields.io/badge/Total%20views-1283-limegreen" alt="Total views">
44+
<p>Refresh Date: 2026-02-03</p>
4545
</div>
4646
<!-- END BADGE -->
47-

0_core-infrastructure/public-ip/README.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Costa Rica
55
[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/)
66
[brown9804](https://github.com/brown9804)
77

8-
Last updated: 2025-02-21
8+
Last updated: 2026-02-03
99

1010
------------------------------------------
1111

@@ -30,20 +30,19 @@ Last updated: 2025-02-21
3030

3131
Below is a list of variables used in this template, their expected values, types, and examples:
3232

33-
| Variable Name | Description | Type | Example Value |
34-
|-----------------------|--------------------------------------------------|--------|-----------------------|
33+
| Variable Name | Description | Type | Example Value |
34+
| --- | --- | --- | --- |
3535
| `resource_group_name` | The name of the Azure Resource Group to associate the Public IP with. | string | `"my-resource-group"` |
36-
| `public_ip_name` | The name of the Azure Public IP to create. | string | `"my-public-ip"` |
37-
| `location` | The Azure region where the Public IP will be created. | string | `"East US"` |
38-
| `allocation_method` | The allocation method for the Public IP (Static or Dynamic). | string | `"Static"` |
39-
| `sku` | The SKU of the Public IP (Basic or Standard). | string | `"Basic"` |
40-
| `subscription_id` | The Azure subscription ID to use for the AzureRM provider. | string | `"your-subscription-id"` |
41-
| `tags` | A map of tags to assign to the resources. | map | `{ "env": "dev" }` |
36+
| `public_ip_name` | The name of the Azure Public IP to create. | string | `"my-public-ip"` |
37+
| `location` | The Azure region where the Public IP will be created. | string | `"East US"` |
38+
| `allocation_method` | The allocation method for the Public IP (Static or Dynamic). | string | `"Static"` |
39+
| `sku` | The SKU of the Public IP (Basic or Standard). | string | `"Basic"` |
40+
| `subscription_id` | The Azure subscription ID to use for the AzureRM provider. | string | `"your-subscription-id"` |
41+
| `tags` | A map of tags to assign to the resources. | map | `{ "env": "dev" }` |
4242

4343
<!-- START BADGE -->
4444
<div align="center">
45-
<img src="https://img.shields.io/badge/Total%20views-1459-limegreen" alt="Total views">
46-
<p>Refresh Date: 2025-10-15</p>
45+
<img src="https://img.shields.io/badge/Total%20views-1283-limegreen" alt="Total views">
46+
<p>Refresh Date: 2026-02-03</p>
4747
</div>
4848
<!-- END BADGE -->
49-

0_core-infrastructure/resource-group/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Costa Rica
55
[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/)
66
[brown9804](https://github.com/brown9804)
77

8-
Last updated: 2025-02-21
8+
Last updated: 2026-02-03
99

1010
------------------------------------------
1111

@@ -23,17 +23,17 @@ Last updated: 2025-02-21
2323

2424
Below is a list of variables used in this template, their expected values, types, and examples:
2525

26-
| Variable Name | Description | Type | Example Value |
27-
|---------------------|--------------------------------------------------|--------|-----------------------|
26+
| Variable Name | Description | Type | Example Value |
27+
| --- | --- | --- | --- |
2828
| `resource_group_name` | The name of the Azure Resource Group to create. | string | `"my-resource-group"` |
29-
| `location` | The Azure region where the Resource Group will be created. | string | `"East US"` |
30-
| `environment` | The environment for the Resource Group (e.g., dev, prod). | string | `"dev"` |
31-
| `enable_logging` | Whether to enable logging for the Resource Group. | bool | `true` |
32-
| `tags` | A map of tags to assign to the Resource Group. | map | `{ "env": "dev" }` |
29+
| `location` | The Azure region where the Resource Group will be created. | string | `"East US"` |
30+
| `environment` | The environment for the Resource Group (e.g., dev, prod). | string | `"dev"` |
31+
| `enable_logging` | Whether to enable logging for the Resource Group. | bool | `true` |
32+
| `tags` | A map of tags to assign to the Resource Group. | map | `{ "env": "dev" }` |
3333

3434
<!-- START BADGE -->
3535
<div align="center">
36-
<img src="https://img.shields.io/badge/Total%20views-1459-limegreen" alt="Total views">
37-
<p>Refresh Date: 2025-10-15</p>
36+
<img src="https://img.shields.io/badge/Total%20views-1283-limegreen" alt="Total views">
37+
<p>Refresh Date: 2026-02-03</p>
3838
</div>
3939
<!-- END BADGE -->

0_core-infrastructure/subnet/README.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Costa Rica
55
[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/)
66
[brown9804](https://github.com/brown9804)
77

8-
Last updated: 2025-03-11
8+
Last updated: 2026-02-03
99

1010
------------------------------------------
1111

@@ -30,21 +30,20 @@ Last updated: 2025-03-11
3030

3131
Below is a list of variables used in this template, their expected values, types, and examples:
3232

33-
| Variable Name | Description | Type | Example Value |
34-
|-------------------------|--------------------------------------------------|--------|-----------------------|
35-
| `resource_group_name` | The name of the Azure Resource Group to associate the Subnet with. | string | `"my-resource-group"` |
36-
| `vnet_name` | The name of the Azure Virtual Network to associate the Subnet with. | string | `"my-vnet"` |
37-
| `subnet_name` | The name of the Azure Subnet to create. | string | `"my-subnet"` |
38-
| `location` | The Azure region where the Subnet will be created. | string | `"East US"` |
39-
| `address_space` | The address space for the Virtual Network. | list | `["10.0.0.0/16"]` |
40-
| `subnet_address_prefixes` | The address prefixes for the Subnet. | list | `["10.0.1.0/24"]` |
41-
| `subscription_id` | The Azure subscription ID to use for the AzureRM provider. | string | `"your-subscription-id"` |
42-
| `tags` | A map of tags to assign to the resources. | map | `{ "env": "dev" }` |
33+
| Variable Name | Description | Type | Example Value |
34+
| --- | --- | --- | --- |
35+
| `resource_group_name` | The name of the Azure Resource Group to associate the Subnet with. | string | `"my-resource-group"` |
36+
| `vnet_name` | The name of the Azure Virtual Network to associate the Subnet with. | string | `"my-vnet"` |
37+
| `subnet_name` | The name of the Azure Subnet to create. | string | `"my-subnet"` |
38+
| `location` | The Azure region where the Subnet will be created. | string | `"East US"` |
39+
| `address_space` | The address space for the Virtual Network. | list | `["10.0.0.0/16"]` |
40+
| `subnet_address_prefixes` | The address prefixes for the Subnet. | list | `["10.0.1.0/24"]` |
41+
| `subscription_id` | The Azure subscription ID to use for the AzureRM provider. | string | `"your-subscription-id"` |
42+
| `tags` | A map of tags to assign to the resources. | map | `{ "env": "dev" }` |
4343

4444
<!-- START BADGE -->
4545
<div align="center">
46-
<img src="https://img.shields.io/badge/Total%20views-1459-limegreen" alt="Total views">
47-
<p>Refresh Date: 2025-10-15</p>
46+
<img src="https://img.shields.io/badge/Total%20views-1283-limegreen" alt="Total views">
47+
<p>Refresh Date: 2026-02-03</p>
4848
</div>
4949
<!-- END BADGE -->
50-

0 commit comments

Comments
 (0)