Skip to content

Commit

Permalink
update due to new release
Browse files Browse the repository at this point in the history
  • Loading branch information
Deutsche Telekom MMS committed Sep 15, 2023
1 parent eb070dd commit e726abb
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## [2.0.1](https://github.com/telekom-mms/terraform-azurerm-dns/tree/2.0.1) (2023-09-14)
## [2.0.1](https://github.com/telekom-mms/terraform-azurerm-dns/tree/2.0.1) (2023-09-15)

[Full Changelog](https://github.com/telekom-mms/terraform-azurerm-dns/compare/2.0.0...2.0.1)

Expand Down
44 changes: 44 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ _<-- This file is autogenerated, please do not change. -->_
| azurerm_dns_txt_record.dns_txt_record | resource |
| azurerm_dns_zone.dns_zone | resource |
| azurerm_private_dns_zone.private_dns_zone | resource |
| azurerm_private_dns_zone_virtual_network_link.private_dns_zone_virtual_network_link | resource |

## Inputs

Expand All @@ -40,6 +41,7 @@ _<-- This file is autogenerated, please do not change. -->_
| dns_txt_record | resource definition, default settings are defined within locals and merged with var settings | `any` | `{}` | no |
| dns_zone | resource definition, default settings are defined within locals and merged with var settings | `any` | `{}` | no |
| private_dns_zone | resource definition, default settings are defined within locals and merged with var settings | `any` | `{}` | no |
| private_dns_zone_virtual_network_link | resource definition, default settings are defined within locals and merged with var settings | `any` | `{}` | no |

## Outputs

Expand All @@ -51,13 +53,25 @@ _<-- This file is autogenerated, please do not change. -->_
| dns_txt_record | Outputs all attributes of resource_type. |
| dns_zone | Outputs all attributes of resource_type. |
| private_dns_zone | Outputs all attributes of resource_type. |
| private_dns_zone_virtual_network_link | Outputs all attributes of resource_type. |
| variables | Displays all configurable variables passed by the module. __default__ = predefined values per module. __merged__ = result of merging the default values and custom values passed to the module |

## Examples

Minimal configuration to install the desired resources with the module

```hcl
module "network" {
source = "registry.terraform.io/telekom-mms/network/azurerm"
virtual_network = {
vn-app-mms = {
location = "westeurope"
resource_group_name = "rg-mms-github"
address_space = ["173.0.0.0/23"]
}
}
}
module "dns" {
source = "registry.terraform.io/telekom-mms/dns/azurerm"
dns_zone = {
Expand Down Expand Up @@ -107,12 +121,30 @@ module "dns" {
}
}
}
private_dns_zone_virtual_network_link = {
pl-mms-github = {
resource_group_name = "rg-mms-github"
private_dns_zone_name = module.dns.private_dns_zone["mms-github-privat-plattform.com"].name
virtual_network_id = module.network.virtual_network["vn-app-mms"].id
}
}
}
```

Advanced configuration to install the desired resources with the module

```hcl
module "network" {
source = "registry.terraform.io/telekom-mms/network/azurerm"
virtual_network = {
vn-app-mms = {
location = "westeurope"
resource_group_name = "rg-mms-github"
address_space = ["173.0.0.0/23"]
}
}
}
module "dns" {
source = "registry.terraform.io/telekom-mms/dns/azurerm"
dns_zone = {
Expand Down Expand Up @@ -202,6 +234,18 @@ module "dns" {
}
}
}
private_dns_zone_virtual_network_link = {
pl-mms-github = {
resource_group_name = "rg-mms-github"
private_dns_zone_name = module.dns.private_dns_zone["mms-github-privat-plattform.com"].name
virtual_network_id = module.network.virtual_network["vn-app-mms"].id
tags = {
project = "mms-github"
environment = terraform.workspace
managed-by = "terraform"
}
}
}
}
```
<!-- END_TF_DOCS -->

0 comments on commit e726abb

Please sign in to comment.