Skip to content

Commit

Permalink
Updating dependencies (#149)
Browse files Browse the repository at this point in the history
* Updaing dependencies

* Correcting readme
  • Loading branch information
Nepomuceno authored Nov 4, 2024
1 parent 9aaa2b0 commit 75d5afa
Show file tree
Hide file tree
Showing 62 changed files with 12 additions and 64,534 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This module helps you to keep consistency on your resources names for Terraform The goal of this module it is that for each resource that requires a name in Terraform you would be easily able to compose this name using this module and this will keep the consistency in your repositories.

# Usage
## Usage

For every resource in `terraform_azurerm` just remove the `azurerm` part of the module and use the `name` property of this output.

Expand Down Expand Up @@ -31,9 +31,10 @@ resource "azurerm_resource_group" "example" {
location = "West Europe"
}
```

Other advanced usages will be explained in the [Advanced usage](#advanced-usage) part of this docs.

# Internals
## Internals

## Prerequisites and setup

Expand All @@ -45,15 +46,13 @@ Other advanced usages will be explained in the [Advanced usage](#advanced-usage)

The resources are automatically generated using `go` to change the generation please change the file on the `templates` folder. To add a new resource, including its definition in the file `resourceDefinition.json`, and it will be automatically generated when `main.go` is run.

# Current implementation
## Current implementation

You can find a list bellow of all the resources that are currently implemented. To get a list of the ones that are missing implementation you can check at [Missing resources](docs/missing_resources.md) the resources that have no documentation about their limitation on naming currently on Microsoft docs are on the [Not defined](docs/not_defined.md) list.

## Advanced usage

# Advanced usage


## Output
### Output

Each one of the resources emits the name of the resource and other properties:

Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/azure/terraform-azurerm-naming

go 1.18
go 1.23

require golang.org/x/text v0.3.7
require golang.org/x/text v0.19.0
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM=
golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
4 changes: 2 additions & 2 deletions templates/main.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ resource "random_string" "main" {
length = 60
special = false
upper = false
numeric = var.unique-include-numbers
numeric = var.unique-include-numbers
}

resource "random_string" "first_letter" {
length = 1
special = false
upper = false
numeric = false
numeric = false
}


Expand Down
3 changes: 0 additions & 3 deletions vendor/golang.org/x/text/AUTHORS

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/golang.org/x/text/CONTRIBUTORS

This file was deleted.

27 changes: 0 additions & 27 deletions vendor/golang.org/x/text/LICENSE

This file was deleted.

22 changes: 0 additions & 22 deletions vendor/golang.org/x/text/PATENTS

This file was deleted.

162 changes: 0 additions & 162 deletions vendor/golang.org/x/text/cases/cases.go

This file was deleted.

Loading

0 comments on commit 75d5afa

Please sign in to comment.