docs: added the genie repo - #21
Conversation
There was a problem hiding this comment.
Code Review
This pull request adds a Makefile and a README.yaml for the Terraform Azure Virtual Machine module. The review feedback suggests using $(CURDIR) in the Makefile for efficiency, correcting a repository name discrepancy, standardizing the spelling of "License", and updating the usage example to correctly reflect the module's functionality.
| @@ -0,0 +1,7 @@ | |||
| GENIE_PATH ?= $(shell pwd)/../../../genie | |||
| GENIE_PATH ?= $(shell pwd)/../../../genie | ||
|
|
||
| ifeq ($(wildcard $(GENIE_PATH)),) | ||
| GENIE_PATH := $(shell pwd)/genie |
|
|
||
| license: "APACHE" | ||
|
|
||
| github_repo: terraform-az-modules/terraform-azurerm-virtual-machine |
There was a problem hiding this comment.
There is a discrepancy between the repository name specified here (terraform-azurerm-virtual-machine) and the one defined in variables.tf (line 52: terraform-azure-virtual-machine). Please ensure they are consistent to avoid broken links or issues with automated documentation generation.
github_repo: terraform-az-modules/terraform-azure-virtual-machine| image: "https://img.shields.io/badge/Terraform-v1.10.0-green" | ||
| url: "https://www.terraform.io" | ||
|
|
||
| - name: "Licence" |
| module "resource_group" { | ||
| source = "terraform-az-modules/resource-group/azurerm" | ||
| version = "1.0.3" | ||
| name = "core" | ||
| environment = "dev" | ||
| location = "centralus" | ||
| label_order = ["name", "environment", "location"] |
There was a problem hiding this comment.
The usage example appears to be a placeholder from a template for a 'resource-group' module. It should be updated to demonstrate how to use the current 'virtual-machine' module.
module "virtual_machine" {
source = "terraform-az-modules/virtual-machine/azurerm"
version = "1.0.0"
name = "app"
environment = "dev"
location = "centralus"
label_order = ["name", "environment", "location"]
}
Description
This pull request integrates Genie-based automation into the repository to standardize documentation generation and streamline development workflows.
What’s included:
Why this change:
Type of Change
Checklist