Code changes to multiple projects
This commit is contained in:
@ -12,6 +12,6 @@ provider "azurerm" {
|
||||
}
|
||||
|
||||
resource "azurerm_resource_group" "rg" {
|
||||
name = "${var.name}-${var.environment}-rg"
|
||||
location = "${var.location}"
|
||||
name = var.resource_group_name
|
||||
location = var.resource_group_location
|
||||
}
|
@ -1,11 +1,7 @@
|
||||
variable "environment" {
|
||||
default = "dev"
|
||||
variable "resource_group_name" {
|
||||
default = "myResourceGroup"
|
||||
}
|
||||
|
||||
variable "name" {
|
||||
default = "sample"
|
||||
}
|
||||
|
||||
variable "location" {
|
||||
variable "resource_group_location" {
|
||||
default = "eastus"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user