From 900f8c0835d4e41d79a85df3bfc94f0068fdb841 Mon Sep 17 00:00:00 2001 From: SHCHERBANV Date: Mon, 26 Aug 2024 15:14:18 -0600 Subject: [PATCH 1/6] Solution --- modules/resource_group_storage/.gitignore | 6 +++++ .../.terraform.lock.hcl | 21 ++++++++++++++++++ modules/resource_group_storage/main.tf | 16 +++++++++++++ modules/resource_group_storage/outputs.tf | 7 ++++++ modules/resource_group_storage/tfplan | Bin 0 -> 8422 bytes modules/resource_group_storage/variables.tf | 15 +++++++++++++ 6 files changed, 65 insertions(+) create mode 100644 modules/resource_group_storage/.gitignore create mode 100644 modules/resource_group_storage/.terraform.lock.hcl create mode 100644 modules/resource_group_storage/main.tf create mode 100644 modules/resource_group_storage/outputs.tf create mode 100644 modules/resource_group_storage/tfplan create mode 100644 modules/resource_group_storage/variables.tf diff --git a/modules/resource_group_storage/.gitignore b/modules/resource_group_storage/.gitignore new file mode 100644 index 0000000..2956f32 --- /dev/null +++ b/modules/resource_group_storage/.gitignore @@ -0,0 +1,6 @@ +**/.terraform/* +./terraform/* +*.tfstate +*.tfstate.* +*.zip + diff --git a/modules/resource_group_storage/.terraform.lock.hcl b/modules/resource_group_storage/.terraform.lock.hcl new file mode 100644 index 0000000..47c165b --- /dev/null +++ b/modules/resource_group_storage/.terraform.lock.hcl @@ -0,0 +1,21 @@ +# This file is maintained automatically by "terraform init". +# Manual edits may be lost in future updates. + +provider "registry.terraform.io/hashicorp/azurerm" { + version = "4.0.1" + hashes = [ + "h1:LVQ97nZPNIi6mXGSj4s3h3z8sHi1cQXOxSsLsmtA9b0=", + "zh:0e78a9200eef138d08050aab99c4fb9ab99c7c5ccbdd410592db7acc5ed421fe", + "zh:443157ba089ef4002817c4f3b3610654588084c2d8c8cf00f1ddf708c7c73411", + "zh:563595dd72b894b2ef9825226c04689ea9967113568a06077960cd863b3afa36", + "zh:5bef3c6bc8306b607078a09c3ab1d2ee55435e0099eedca459aca6c259c29079", + "zh:5eb305ca10a14a5cf5308e7225779f9f4152d5a8dd842c901fa47fc93432b346", + "zh:6041a5272b293ae95b46a39ceced3f14bf267a379263c10d11301c50c2e740d0", + "zh:7b077b9358ef6878d0520febcf17ba651eda6636c66885c925ae27d20df6d575", + "zh:8a140a1f8eb35a5ab5b5d3d46759d45408ad14dc5ca3f7fc9af5dc5cf1bb2133", + "zh:9a9d707dbd3b111a28e914a277e1e1076221a41194f7eaa0389e0b4a9b4033e4", + "zh:e8c42fb6cde74ecae1fe0a5fd9bb4bd804a5441f8dfec9d3cb4966af2054ede4", + "zh:eb018fe31c8e6f3e495bd79c7b278aa7dc51b48453f6b83bdb0e7b13459b2aa0", + "zh:f569b65999264a9416862bca5cd2a6177d94ccb0424f3a4ef424428912b9cb3c", + ] +} diff --git a/modules/resource_group_storage/main.tf b/modules/resource_group_storage/main.tf new file mode 100644 index 0000000..b2f7195 --- /dev/null +++ b/modules/resource_group_storage/main.tf @@ -0,0 +1,16 @@ +provider "azurerm" { + features {} +} + +resource "azurerm_resource_group" "example" { + name = var.resource_group_name + location = var.location +} + +resource "azurerm_storage_account" "example" { + name = var.storage_account_name + resource_group_name = azurerm_resource_group.example.name + location = azurerm_resource_group.example.location + account_tier = "Standard" + account_replication_type = "LRS" +} diff --git a/modules/resource_group_storage/outputs.tf b/modules/resource_group_storage/outputs.tf new file mode 100644 index 0000000..0685c4b --- /dev/null +++ b/modules/resource_group_storage/outputs.tf @@ -0,0 +1,7 @@ +output "resource_group_name" { + value = azurerm_resource_group.example.name +} + +output "storage_account_name" { + value = azurerm_storage_account.example.name +} diff --git a/modules/resource_group_storage/tfplan b/modules/resource_group_storage/tfplan new file mode 100644 index 0000000000000000000000000000000000000000..8c9ede1e5a1a79cb9f8e9adfb8caf751816b9022 GIT binary patch literal 8422 zcmaJ{1yo#1(uSZRSa2smf=kfgZowIxAc4W1!JS~i2lqgbL4qb&kReELcOTr{f-`@z zd-f&ooqxCP?LMc^z5R99ov!-2t42)`37G%^{pV%tMW%=FhoB-nMsT%ovNLhe(nL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OisZ(^7jq`Ec3G_` zPtRzsc)QKH8lK)-{&sQJz@cRUvbI2>Poy;#fUn(U&t8$2UIkZ~Q zB4$B0jB{_f%R^J=xmuP;S=ARZaxhmhUy6j%h}$zP%V{oSj`7~gMd|8j$bxzv7g>!- zJ_)VOA&q>-n_F7;(SmfeVd~`;xnNa6k^YFV$t9>$(J=+jGwAkPE3wEiuvTTt~NB_ zcAZ&UPa5=suzk*!Pv=K`t*Nb4&tf3gU>-ptm-=DQ?Dz63;@#;*VJ0r^A!0jK>S;3eg>3XE&d)Z{%7w$nd;X` z^S6}X{?+^M=gxmZ{ORw1+3{})Ciw;N-wE!YNPoKHU;OY}0!jal^#8EMKf(U=cE3FM zZ($+(JJ|p0&;JScryu*}B7X}h`JZtApTqno)}L$P?_VtTC)WS+gKCN>sJ}-3^^XR@ MpQ|Z_>R0Rk0P3x9$N&HU literal 0 HcmV?d00001 diff --git a/modules/resource_group_storage/variables.tf b/modules/resource_group_storage/variables.tf new file mode 100644 index 0000000..c4247a5 --- /dev/null +++ b/modules/resource_group_storage/variables.tf @@ -0,0 +1,15 @@ +variable "resource_group_name" { + description = "The name of the resource group" + type = string +} + +variable "location" { + description = "The Azure region to deploy resources" + type = string + default = "West US" +} + +variable "storage_account_name" { + description = "The name of the storage account" + type = string +} From 1f94a13df09ee59c05b6e38d9a0e7f0bff9b3373 Mon Sep 17 00:00:00 2001 From: SHCHERBANV Date: Mon, 26 Aug 2024 15:18:14 -0600 Subject: [PATCH 2/6] Solution --- modules/resource_group_storage/terraform.tfvars | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 modules/resource_group_storage/terraform.tfvars diff --git a/modules/resource_group_storage/terraform.tfvars b/modules/resource_group_storage/terraform.tfvars new file mode 100644 index 0000000..35c949e --- /dev/null +++ b/modules/resource_group_storage/terraform.tfvars @@ -0,0 +1,2 @@ +resource_group_name = "task6" +storage_account_name = "vr88" From 2b8439f7efafad11752683482d83c853890924f0 Mon Sep 17 00:00:00 2001 From: SHCHERBANV Date: Mon, 26 Aug 2024 15:21:40 -0600 Subject: [PATCH 3/6] Solution --- modules/resource_group_storage/variables.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/resource_group_storage/variables.tf b/modules/resource_group_storage/variables.tf index c4247a5..8ca81ac 100644 --- a/modules/resource_group_storage/variables.tf +++ b/modules/resource_group_storage/variables.tf @@ -4,9 +4,9 @@ variable "resource_group_name" { } variable "location" { - description = "The Azure region to deploy resources" + description = "The location/region where the resource group will be created" type = string - default = "West US" + default = "West Europe" # You can set a default or override it via tfvars or command line } variable "storage_account_name" { From 421de569adecd4340f619f01de328599b657b467 Mon Sep 17 00:00:00 2001 From: SHCHERBANV Date: Mon, 26 Aug 2024 18:09:56 -0600 Subject: [PATCH 4/6] Solution --- .../.gitignore => .gitignore | 0 .../.terraform.lock.hcl => .terraform.lock.hcl | 0 main.tf | 7 +++++++ modules/resource_group_storage/outputs.tf | 7 ------- modules/resource_group_storage/terraform.tfvars | 2 -- tfplan | Bin 0 -> 4060 bytes 6 files changed, 7 insertions(+), 9 deletions(-) rename modules/resource_group_storage/.gitignore => .gitignore (100%) rename modules/resource_group_storage/.terraform.lock.hcl => .terraform.lock.hcl (100%) create mode 100644 main.tf delete mode 100644 modules/resource_group_storage/outputs.tf delete mode 100644 modules/resource_group_storage/terraform.tfvars create mode 100644 tfplan diff --git a/modules/resource_group_storage/.gitignore b/.gitignore similarity index 100% rename from modules/resource_group_storage/.gitignore rename to .gitignore diff --git a/modules/resource_group_storage/.terraform.lock.hcl b/.terraform.lock.hcl similarity index 100% rename from modules/resource_group_storage/.terraform.lock.hcl rename to .terraform.lock.hcl diff --git a/main.tf b/main.tf new file mode 100644 index 0000000..e6de57a --- /dev/null +++ b/main.tf @@ -0,0 +1,7 @@ +module "resource_group_storage" { + source = "./modules/resource_group_storage" + + resource_group_name = "task6" + location = "westus" + storage_account_name = "vr88" +} diff --git a/modules/resource_group_storage/outputs.tf b/modules/resource_group_storage/outputs.tf deleted file mode 100644 index 0685c4b..0000000 --- a/modules/resource_group_storage/outputs.tf +++ /dev/null @@ -1,7 +0,0 @@ -output "resource_group_name" { - value = azurerm_resource_group.example.name -} - -output "storage_account_name" { - value = azurerm_storage_account.example.name -} diff --git a/modules/resource_group_storage/terraform.tfvars b/modules/resource_group_storage/terraform.tfvars deleted file mode 100644 index 35c949e..0000000 --- a/modules/resource_group_storage/terraform.tfvars +++ /dev/null @@ -1,2 +0,0 @@ -resource_group_name = "task6" -storage_account_name = "vr88" diff --git a/tfplan b/tfplan new file mode 100644 index 0000000000000000000000000000000000000000..603911ff2205bb34da3448265d826c91500ab0e3 GIT binary patch literal 4060 zcmd5rOQuckHZ}eS7ec#*l{`oz>>-=&4IM44s_j%5JKSvXMl>8Kciu9e0U^fID3JSn6 z01D>pVBw^z0|b!iFt@>q^fln88%~>L5%+@i5>qlS_%L%Bv6KHa49}21>jf85cWC;<+?6tZl{vzcIzzqhQ{!07#`~BRy zt8E?238Ty69XoEYul40zx4pKoO|vxtnSkb_3V>qrlU`?;SjvF9W(&G@{u_-9ohjPE z`I+)mGtQrMFT5LSEYLW{vIl+3Nk#W^b(SSbL-);fvFm$_=k3;MKIgU`(~B-N>zB`z zcX|-_iFqKMZB3GG?ITOTM9bKlx=Z-VtaM5l%>wt`hZ7|Mtl2zeSaOvD4O#o?l4k{m z;6C3DLYb99&a^~c-xSQxTt@o($8i;2?k>xgG^uA06V14Gvz<1yn z8sSrMK=VPP%qa&yc*JD~hoK#3#ObG#uijQtm*!7ZI?sLDyox*Nlk_6<7W{?SeBx&7 z!aU@Lyn3p@qiPG88q9+4g`ykr-tY%>6Iq19UZEQI=~q2!0dhNDvs;Lgb7N(d*`kHG z{D}N-OIPaU1@q~3Ki*80vOBWm{|4Ng<#YmYntm=wjbTm^e!ZOm)C&xDenqI!VaQ!h zpI$n*1YB1Tpe}&3HeFU)5O`p20H$SisxW^ybk0v_NKtZK6#8Pg){IWzOeqtUw5p_( zl(TL$cSM~X&P)y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m6=uERz1E4BBi0e=)sO)!u|KH&R19zrTR K2&vTr0R9b?KCK%7 literal 0 HcmV?d00001 From 79d7ad94fa4cf92eca7f09b1522ac3c5af35a250 Mon Sep 17 00:00:00 2001 From: SHCHERBANV Date: Mon, 26 Aug 2024 18:13:51 -0600 Subject: [PATCH 5/6] Solution --- modules/resource_group_storage/outputs.tf | 7 +++++++ modules/resource_group_storage/tfplan | Bin 8422 -> 0 bytes 2 files changed, 7 insertions(+) create mode 100644 modules/resource_group_storage/outputs.tf delete mode 100644 modules/resource_group_storage/tfplan diff --git a/modules/resource_group_storage/outputs.tf b/modules/resource_group_storage/outputs.tf new file mode 100644 index 0000000..0685c4b --- /dev/null +++ b/modules/resource_group_storage/outputs.tf @@ -0,0 +1,7 @@ +output "resource_group_name" { + value = azurerm_resource_group.example.name +} + +output "storage_account_name" { + value = azurerm_storage_account.example.name +} diff --git a/modules/resource_group_storage/tfplan b/modules/resource_group_storage/tfplan deleted file mode 100644 index 8c9ede1e5a1a79cb9f8e9adfb8caf751816b9022..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8422 zcmaJ{1yo#1(uSZRSa2smf=kfgZowIxAc4W1!JS~i2lqgbL4qb&kReELcOTr{f-`@z zd-f&ooqxCP?LMc^z5R99ov!-2t42)`37G%^{pV%tMW%=FhoB-nMsT%ovNLhe(nLW( z^f?-^*w-I)B#u+U}vvt1Ge}*jI8i>WEXASnbFh6QI$f??OxK#RiMTg4wnSmJ58n{#-xGeL(A8#<{0GkF-jCHBQp)ywQ9mL;Ko3N}k%NJlfK=T+B4gf9tH~nJ8b$r>x4tlsMl&{m-PLa$IY^8!BFhnlheah|e zNGPO@2I}#(+2bpiAWD#weM<@->`4^a>^S6>_;i2gt00Xg*YAu;El;)6Fu5nD9F$N+)w|4Coes_NR3CPa<|5 zYCk&6Qewm6gK@na4T)=G1TE}^Rt7TB`5ZtV=ncvSH0hx{7A7{+RLElQ@?X|le$@9N znqwn1&8Ew2Zn!D8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;N-wE!YNPoKHU;OY}0!jal^#8EMKf(U=cE3FM zZ($+(JJ|p0&;JScryu*}B7X}h`JZtApTqno)}L$P?_VtTC)WS+gKCN>sJ}-3^^XR@ MpQ|Z_>R0Rk0P3x9$N&HU From 5d2296723af050f7c0cb1ecf0816ed3434487ce1 Mon Sep 17 00:00:00 2001 From: shcherban <151711805+SHCHERBANV@users.noreply.github.com> Date: Mon, 26 Aug 2024 18:48:52 -0600 Subject: [PATCH 6/6] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 617d378..f5d37a5 100644 --- a/README.md +++ b/README.md @@ -38,3 +38,10 @@ To complete this task, Terraform and Azure CLI must be installed and configured - Initialize and apply the configuration to verify that the module is used correctly. **6. Pull request's description should also contain a reference to a successful workflow run** + + + + +``` +https://registry.terraform.io/modules/SHCHERBANV/resource_group_storage/azurerm/latest +```