Skip to content

Commit a808396

Browse files
authored
Merge pull request #1 from vksccm/add-infravk-
Add infravk
2 parents 96e2a9c + 786bd8c commit a808396

File tree

2 files changed

+81
-0
lines changed

2 files changed

+81
-0
lines changed

.terraform.lock.hcl

+41
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

main.tf

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
terraform {
2+
required_version = ">=1.3.0"
3+
required_providers {
4+
azurerm = {
5+
"source" = "hashicorp/azurerm"
6+
version = "3.43.0"
7+
}
8+
}
9+
cloud {
10+
organization = "vimalkumar02-org"
11+
12+
workspaces {
13+
name = "TerraformCI_vk"
14+
}
15+
}
16+
}
17+
18+
provider "azurerm" {
19+
features {}
20+
skip_provider_registration = true
21+
}
22+
23+
resource "random_string" "uniquestring" {
24+
length = 20
25+
special = false
26+
upper = false
27+
}
28+
29+
resource "azurerm_resource_group" "rg" {
30+
name = "811-3c7dd69e-provide-continuous-delivery-with-gith"
31+
location = "eastus"
32+
}
33+
34+
resource "azurerm_storage_account" "storageaccount" {
35+
name = "stg${random_string.uniquestring.result}"
36+
resource_group_name = azurerm_resource_group.rg.name
37+
location = azurerm_resource_group.rg.location
38+
account_tier = "Standard"
39+
account_replication_type = "LRS"
40+
}

0 commit comments

Comments
 (0)