From 556a981a4868e63f77b15c5c1461e29622c8f7c9 Mon Sep 17 00:00:00 2001 From: tanakaryo Date: Thu, 20 Jun 2024 15:50:48 +0900 Subject: [PATCH] #6 --- infrastructure-as-code/.DS_Store | Bin 0 -> 6148 bytes infrastructure-as-code/terraform/.DS_Store | Bin 0 -> 6148 bytes .../terraform/apps/.DS_Store | Bin 0 -> 6148 bytes .../terraform/apps/app1/.DS_Store | Bin 0 -> 6148 bytes .../terraform/apps/app1/README.md | 3 ++ .../terraform/apps/app1/azure_arche1.drawio | 19 +++++++ .../apps/app1/azure_arche1.drawio.png | Bin 0 -> 14409 bytes .../apps/app1/create-azure-vm/network.tf | 13 +++++ .../apps/app1/create-azure-vm/provider.tf | 34 +++++++++++++ .../apps/app1/create-azure-vm/variables.tf | 15 ++++++ .../terraform/apps/app1/create-azure-vm/vm.tf | 47 ++++++++++++++++++ 11 files changed, 131 insertions(+) create mode 100644 infrastructure-as-code/.DS_Store create mode 100644 infrastructure-as-code/terraform/.DS_Store create mode 100644 infrastructure-as-code/terraform/apps/.DS_Store create mode 100644 infrastructure-as-code/terraform/apps/app1/.DS_Store create mode 100644 infrastructure-as-code/terraform/apps/app1/README.md create mode 100644 infrastructure-as-code/terraform/apps/app1/azure_arche1.drawio create mode 100644 infrastructure-as-code/terraform/apps/app1/azure_arche1.drawio.png create mode 100644 infrastructure-as-code/terraform/apps/app1/create-azure-vm/network.tf create mode 100644 infrastructure-as-code/terraform/apps/app1/create-azure-vm/provider.tf create mode 100644 infrastructure-as-code/terraform/apps/app1/create-azure-vm/variables.tf create mode 100644 infrastructure-as-code/terraform/apps/app1/create-azure-vm/vm.tf diff --git a/infrastructure-as-code/.DS_Store b/infrastructure-as-code/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..94dea1e86f9c9e33e2cf89548cf16682e3660d88 GIT binary patch literal 6148 zcmeHK!A=`75FLjA-XKH{NO1I}x2Q@Wir|2>q;TMdv{iec2zHyaS!uIIn+*|7Q|)iS zAMpiz4$Rn2M3wX!K{X?d-|TqCyMDIp9RLvRVW$C51ptXkSn{x0AkNVBeZ%rni z-1*QrI=k-Q{TlzC{JA%i0fC#>$dAT6OBdP7E7;Ein}k^;RU1T&HSX2vsP`8l%JM5KDtL6@jSL>i5;) zba;Gv{&xOu@&1F`3xz+bmFphA!$&B~1)fEdJTv(SK90XleVWh^G?nP@Q9&u?G@{H} zJW`OMDPsE8GlItUc#Y6csP!YEw|-mqj7~8Z&s1RE7>Met71f=!iZDfl0bxKGxSRoh z6zZ#&hf0JnAPoFx4Dk67pfQFXD~I;zKxdx-z&hMkpxaM>V89Mw=&^DL4@9|Cpi5Q$ ziJ|<RTzW(EF$6=3MGatIGZ OJ_IZc(g_29l!0%g`Gd9q literal 0 HcmV?d00001 diff --git a/infrastructure-as-code/terraform/apps/.DS_Store b/infrastructure-as-code/terraform/apps/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..93340e526ac79d981184465844d1ee598d948c4a GIT binary patch literal 6148 zcmeHK!EV|>5ZwjZE>uxDR4PYbazhbNgvz0k>(T?aN{*645(PV;V9E6&Fhwn;@^7?% z)Gz4gv~PA7q&CSdiXt?FX5V;rX03UPc0ED}87#+bA?iX11tlz1G29|FPkKX2&Qk_T zT4R{%t2os$o@qgr$Ik%mT}4D|ANjBE2KrgfL!mJb838kv4dRcF**X>@n>2>;VHcfBc@3fj;_jPZxsj63p?YG0x zr!QaE-!|WW*u9YWqZ)bPa0@?S>;VJrXj9MkpcXEH z8DIwPmjOB-JSd^>u&`*34h*IR09N2O0^5B013hv8eTRibcp%cI0&S{vErxWRgS6?G z_g#Ep(WVP&-i&qJo2Bbeq-#8+XTpW_E%L|=Fa!TGK)oNNPWS(ZyZe6=!~-+H4D2TZ zvN8w<0cvx1>y0YuuJxcJC<(?1W^~rHzrj z_X+eRd=8($$I3hh)A?2af_%%`Zw|5$*n77UUdKMi)!jJ}zb3K@H*G6H<J@2#F*sR>x+IF0pQ@d4r9rR=owVe~vr zif;YRBbnu4nk6F@oW==UUcE@OSQc$L$>Oof6X*%YsXEneeQ!E#9UV5@1J9c^-0AUs zui+jZ9L;7`XZK#~!RguH>U#QS_Vzt=#t7OOEH~0YK7o=SVqpUBp3wUytDm|qW zyv7ba1~zFx@e-}?;5Gk>(Y3NZ44A)?b8~%`WLIJtunhbq2Dm=BP)6TisZo^85-h(Q^oXZB#H&|-K2*iE}C>m^I8Th9Rd + + + + + + + + + + + + + + + + + + diff --git a/infrastructure-as-code/terraform/apps/app1/azure_arche1.drawio.png b/infrastructure-as-code/terraform/apps/app1/azure_arche1.drawio.png new file mode 100644 index 0000000000000000000000000000000000000000..e598ca1e401079472f86bc658999d1b17785c2f5 GIT binary patch literal 14409 zcmeHt2|U#6|F0&BWXq94mV~nJLa4DNk$qogVlWtk8GC3>ixw)!PN-zbSVs1JIxWH= zvahL-y|RUHpYPB)o%8$O-|K(xecgNi_r6Xt^L;+g=lMLJ=d-+@&-3`+G&0m>+Q+qz zhK7bo@2r*y4b3hR_{G!j0Tj5B=MC_+3umGWrzvRVnWUlF{|v8fg~tTCpgmDELUNkh zPeQWNZde>%NKQ*gRu<{)E$NI#y80q9I7u%Q9*{sk2J4J=L8F|vd1R$!4_AQ)lra?2BMA|Af3=&cr4CMNDdC# zdR};xC-??r@Oi-$d{}{B8EHou1xKY5;PH&NwT3Vi9JoIJ455KT8;nTS)p0V1@q6Y3|q?G`x^NYpNfFwB>|O$_Xi-*?E9#QXgc6 z;3s#4qIbM;F3`|Azzpl`>vzs5NWvvpQQHI<@vn3Imx=YuGr&4iZSEYnJ(-N0 z0#z+pY3HDAijs`n_F`Opf6TKpEkrOy2me^$&Nx>;v@;5~BW-&m9*gzFqrLx1bi#Uh zp`3O?V@D#=*B2Y`S2h={=g#VOc)USG{Y5%NF#Q)pLsUz&Gakei6wD`Om9}+(=x0%A zSGONC%P1;u_h67en0Ho!b3-~~1GdLgNk98)+m1i1>5Ihzc|W=G=k6a&m_SXGClug6 z?6@-zh{ON!v42>@_mBMgUl9k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