Skip to content

Commit

Permalink
fix: add validation type to complete/variables.tf (#73)
Browse files Browse the repository at this point in the history
<!-- Thank you for submitting a Pull Request. Please fill out the
template below.-->
## Overview/Summary

Replace this with a brief description of what this Pull Request fixes,
changes, etc.

## This PR fixes/adds/changes/removes

1. *Replace me*
2. *Replace me*
3. *Replace me*

### Breaking Changes

1. *Replace me*
2. *Replace me*

## Testing Evidence

Please provide any testing evidence to show that your Pull Request
works/fixes as described and planned (include screenshots, if
appropriate).

## As part of this Pull Request I have

- [ ] Checked for duplicate [Pull
Requests](https://github.com/Azure/alz-terraform-accelerator/pulls)
- [ ] Associated it with relevant
[issues](https://github.com/Azure/alz-terraform-accelerator/issues), for
tracking and closure.
- [ ] Ensured my code/branch is up-to-date with the latest changes in
the `main`
[branch](https://github.com/Azure/alz-terraform-accelerator/tree/main)
- [ ] Performed testing and provided evidence.
- [ ] Updated relevant and associated documentation.
  • Loading branch information
luke-taylor authored Jan 5, 2024
1 parent 9e39009 commit 31d323f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
4 changes: 4 additions & 0 deletions templates/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ module "hubnetworking" {
providers = {
azurerm = azurerm.connectivity
}

depends_on = [
module.enterprise_scale
]
}

module "virtual_network_gateway" {
Expand Down
13 changes: 7 additions & 6 deletions templates/complete/variables.tf
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
variable "subscription_id_connectivity" {
description = "value of the subscription id for the Connectivity subscription"
variable "subscription_id_management" {
description = "value of the subscription id for the Management subscription|1|azure_subscription_id"
type = string
}

variable "subscription_id_identity" {
description = "value of the subscription id for the Identity subscription"
variable "subscription_id_connectivity" {
description = "value of the subscription id for the Connectivity subscription|2|azure_subscription_id"
type = string
}

variable "subscription_id_management" {
description = "value of the subscription id for the Management subscription"
variable "subscription_id_identity" {
description = "value of the subscription id for the Identity subscription|3|azure_subscription_id"
type = string
}

0 comments on commit 31d323f

Please sign in to comment.