Skip to content

Commit

Permalink
skip: update CI 18
Browse files Browse the repository at this point in the history
  • Loading branch information
vit-corp committed Jun 18, 2024
1 parent 9d87dc5 commit 0fb706f
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 0 deletions.
Empty file.
22 changes: 22 additions & 0 deletions auto_policy_testing/red/common_resources/provider.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 3.0"
}
}

backend "s3" {
bucket = ""
key = ""
region = ""
}

}

provider "azurerm" {
features {}

}

data "azurerm_client_config" "current" {}
4 changes: 4 additions & 0 deletions auto_policy_testing/red/common_resources/random_int.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
resource "random_integer" "this" {
min = 1
max = 100000
}
4 changes: 4 additions & 0 deletions auto_policy_testing/red/common_resources/resource_group.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
resource "azurerm_resource_group" "this" {
name = "common-rg-red${random_integer.this.result}"
location = "eastus"
}
5 changes: 5 additions & 0 deletions auto_policy_testing/red/common_resources/terraform.tfvars
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
location = "eastus"

tags = {
ComplianceStatus = "Red"
}
7 changes: 7 additions & 0 deletions auto_policy_testing/red/common_resources/variables.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
variable "location" {
type = string
}

variable "tags" {
type = map(string)
}

0 comments on commit 0fb706f

Please sign in to comment.