clean up compute sample
c34c2f97
Mark Tinderholt
committed
19 changed files
bastion.tf
/samples/compute/vm-simple/bastion.tf-2+2
/samples/compute/vm-simple/bastion.tf
Add comment 4 source = "../../../services/network/bastion"
Add comment 5
Add comment 6 context = module.resource_group.context
Add comment 7 Minus   observability_settings = var.observability_settings
Add comment 7 Plus   observability_settings = module.logging.primary_observability
Add comment 8
Add comment 9 Minus   name = random_string.random.result
Add comment 9 Plus   name = local.service_name
Add comment 10 subnet_id = module.subnet1.id
Add comment 11
Add comment 12 }
compute.tf
/samples/compute/vm-simple/compute.tf
/samples/compute/vm-simple/compute.tf
main.tf
/samples/compute/vm-simple/main.tf-2+17
/samples/compute/vm-simple/main.tf
Add comment 6 upper = false
Add comment 7 }
Add comment 8
Add comment 9 Plus  locals {
Add comment 10 Plus   service_name = random_string.random.result
Add comment 11 Plus   primary_region = {
Add comment 12 Plus   name = "North Central US"
Add comment 13 Plus   suffix = "us-north-central"
Add comment 14 Plus   number = 1
Add comment 15 Plus   }
Add comment 16 Plus   secondary_region = {
Add comment 17 Plus   name = "South Central US"
Add comment 18 Plus   suffix = "us-south-central"
Add comment 19 Plus   number = 2
Add comment 20 Plus   }
Add comment 21 Plus  }
Add comment 22 Plus  
Add comment 9 23 # Resource Group
Add comment 10 24 module "resource_group" {
Add comment 11 25
Add comment 14 28 context = {
Add comment 15 29 application_name = var.application_name
Add comment 16 30 environment_name = var.environment_name
Add comment 17 Minus   location = var.region
Add comment 31 Plus   location = local.primary_region
Add comment 18 32 }
Add comment 19 Minus   name = "${var.application_name}-${var.environment_name}-${var.service_name}-compute-vm-simple"
Add comment 33 Plus   name = "${var.application_name}-${var.environment_name}-${local.service_name}"
Add comment 20 34
Add comment 21 35 }
Add comment 36 Plus  
Add comment 22 37 module "avail_set" {
Add comment 23 38
Add comment 24 39 source = "../../../services/compute/availability-set/base"
network.tf
/samples/compute/vm-simple/network.tf
/samples/compute/vm-simple/network.tf
providers.tf
/samples/compute/vm-simple/providers.tf
/samples/compute/vm-simple/providers.tf
shared.tf
/samples/compute/vm-simple/shared.tf
/samples/compute/vm-simple/shared.tf
variables.tf
/samples/compute/vm-simple/variables.tf
/samples/compute/vm-simple/variables.tf
versions.tf
/samples/compute/vm-simple/versions.tf
/samples/compute/vm-simple/versions.tf
region-primary.tf
/samples/cosmos-db/sqlapi-network/region-primary.tf
/samples/cosmos-db/sqlapi-network/region-primary.tf
region-secondary.tf
/samples/cosmos-db/sqlapi-network/region-secondary.tf
/samples/cosmos-db/sqlapi-network/region-secondary.tf
shared.tf
/samples/cosmos-db/sqlapi-network/shared.tf
/samples/cosmos-db/sqlapi-network/shared.tf
outputs.tf
/samples/shared/logging/outputs.tf
/samples/shared/logging/outputs.tf
main.tf
/samples/shared/policies/main.tf
/samples/shared/policies/main.tf
variables.tf
/samples/shared/policies/variables.tf
/samples/shared/policies/variables.tf
outputs.tf
/scenarios/observability/full-stack/dual-region-shared/outputs.tf
/scenarios/observability/full-stack/dual-region-shared/outputs.tf
variables.tf
/services/compute/vm/windows/base/variables.tf
/services/compute/vm/windows/base/variables.tf
diagnostics.tf
/services/network/nsg/diagnostics.tf
/services/network/nsg/diagnostics.tf
variables.tf
/services/network/nsg/variables.tf
/services/network/nsg/variables.tf
LICENSE
/LICENSE
/LICENSE