Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Vibhuti Sharma [Microsoft]
Azure Monitor Alerts
Commits
d328e954
Commit
d328e954
authored
May 05, 2021
by
Vibhuti Sharma [Microsoft]
Browse files
adding rg-name variable
parent
d1b34697
Changes
3
Show whitespace changes
Inline
Side-by-side
main.tf
View file @
d328e954
...
...
@@ -36,7 +36,7 @@ locals {
# Resource Group
#-------------------------------
data
"azurerm_resource_group"
"rg"
{
name
=
"vibsharm-mr-rg"
name
=
var
.
rg
-
name
}
#-------------------------------
...
...
terraform.tfvars
View file @
d328e954
central-group-prefix = "xxxx"
rg-name = "vibsharm-mr-rg"
action-groups = [
{
name = "DevActionGroup",
...
...
variables.tf
View file @
d328e954
...
...
@@ -3,6 +3,11 @@ variable "central-group-prefix" {
description
=
"prefix for the central resource group"
}
variable
"rg-name"
{
type
=
string
description
=
"Name of your resource group"
}
variable
"action-groups"
{
type
=
list
(
object
({
name
=
string
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment