Skip to content

Commit

Permalink
Update Terraform azurerm to v4 (#5)
Browse files Browse the repository at this point in the history
### Added - Breaking Change
* Update Terraform azurerm to v4

#### Migration Hints
update your terraform azurerm to v4.0 or higher

### Changed
* minor: update terraform documentation

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andre Licht <al@cloudeteer.de>
Signed-off-by: Andre Licht <al@cloudeteer.de>
  • Loading branch information
renovate[bot] and lixhunter authored Aug 27, 2024
1 parent 1036cd6 commit 0e4ca71
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 19 deletions.
8 changes: 5 additions & 3 deletions .terraform-docs.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
formatter: markdown
formatter: markdown document

settings:
anchor: false
hide-empty: true
lockfile: false

output:
Expand All @@ -14,8 +14,10 @@ sort:
content: |-
## Usage
{{ include "examples/usage/main.md" }}
```hcl
{{ include "examples/main/usage.tf" }}
{{ include "examples/usage/main.tf" }}
```
{{ .Providers }}
Expand Down
57 changes: 42 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
<!-- markdownlint-disable first-line-h1 no-inline-html -->

> [!NOTE]
> This repository is publicly accessible as part of our open-source initiative. We welcome contributions from the community alongside our organization's primary development efforts.
---

# terraform-azurerm-helloworld

[![SemVer](https://img.shields.io/badge/SemVer-2.0.0-blue.svg)](CHANGELOG.md)
[![Keep a Changelog](https://img.shields.io/badge/changelog-Keep%20a%20Changelog%20v1.0.0-%23E05735)](CHANGELOG.md)

Terraform "Hello World!" Module

<!-- BEGIN_TF_DOCS -->
## Usage

This example demonstrates the usage of this Terraform module with default settings.

```hcl
module "helloworld" {
source = "cloudeteer/helloworld/azurerm"
Expand All @@ -13,28 +25,43 @@ module "helloworld" {

## Providers

| Name | Version |
|------|---------|
| azurerm | ~> 3.0 |
The following providers are used by this module:

- <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) (~> 4.0)

## Modules

No modules.

## Resources

| Name | Type |
|------|------|
| [azurerm_client_config.current](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/client_config) | data source |
The following resources are used by this module:

- [azurerm_client_config.current](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/client_config) (data source)

## Inputs

No inputs.

## Outputs

| Name | Description |
|------|-------------|
| client\_id | n/a |
| hello\_world | n/a |
<!-- END_TF_DOCS -->
The following outputs are exported:

### <a name="output_client_id"></a> [client\_id](#output\_client\_id)

Description: n/a

### <a name="output_hello_world"></a> [hello\_world](#output\_hello\_world)

Description: n/a
<!-- END_TF_DOCS -->

## Contributions

We welcome all kinds of contributions, whether it's reporting bugs, submitting feature requests, or directly contributing to the development. Please read our [Contributing Guidelines](CONTRIBUTING.md) to learn how you can best contribute.

Thank you for your interest and support!

## Copyright and license

<img width=200 alt="Logo" src="https://raw.githubusercontent.com/cloudeteer/cdt-public/main/img/cdt_logo_orig_4c.svg">

© 2024 CLOUDETEER GmbH

This project is licensed under the [MIT License](LICENSE).
1 change: 1 addition & 0 deletions examples/usage/main.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This example demonstrates the usage of this Terraform module with default settings.
File renamed without changes.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 3.0"
version = "~> 4.0"
}
}
}
Expand Down

0 comments on commit 0e4ca71

Please sign in to comment.