Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥

Terraform のための AVM を使った IaC のモジュール戦略 / Azure Ve...

Kodai Sakabe
November 14, 2024
78

Terraform のための AVM を使った IaC のモジュール戦略 / Azure Verified Modules for Terraform

HashiTalks: Japan 2024 で Azure Verified Modules for Terraform について話をしました。
YouTube: https://www.youtube.com/live/XaAuWXZ28lA?si=1UUfEZE1kI1J4_ld
Event: https://events.hashicorp.com/hashitalksjapan

Kodai Sakabe

November 14, 2024
Tweet

More Decks by Kodai Sakabe

Transcript

  1. ຊࢿྉ͸৘ใఏڙͷΈΛ໨తͱ͓ͯ͠Γɺຊࢿྉʹهࡌ͞Ε͍ͯΔ৘ใ͸ɺຊࢿྉ࡞੒࣌఺ͰͷϚΠΫϩιϑτͷݟղΛࣔͨ͠΋ͷͰ͢ɻঢ়گ౳ͷมԽʹΑΓɺ಺༰͸มߋ͞ΕΔ৔߹͕͋Γ·͢ɻຊࢿྉʹදه͞Ε͍ͯΔ಺༰ʢఏࣔ͞Ε͍ͯΔ৚݅౳ΛؚΈ·͢ʣ͸ɺوࣾͱͷ༗ޮͳܖ໿Λ௨ܾͯ͡ఆ͞Ε·͢ɻͦΕ·Ͱ͸ɺਖ਼ࣜʹ֬ఆ͢Δ΋ͷͰ͸͋Γ·ͤΜɻ ैͬͯɺຊࢿྉͷهࡌ಺༰ͱ͸ҟͳΔ৔߹͕͋Γ·͢ɻ·ͨɺຊࢿྉʹهࡌ͞Ε͍ͯΔՁ֨͸͍ͣΕ΋ɺผஈͷදه͕ͳ͍ݶΓɺࢀߟՁ֨ͱͳΓ·͢ɻوࣾͷ࠷ऴతͳߪೖՁ֨͸ɺوࣾͷϦηϥʔ༷ʹΑΓܾఆ͞Ε·͢ɻϚΠΫϩιϑτ͸ɺຊࢿྉͷ৘ใʹରͯ͠໌ࣔతɺ໧ࣔత·ͨ͸๏తͳɺ͍͔ͳΔอূ΋ߦ͍·ͤΜɻ˜.JDSPTPGU$PSQPSBUJPO"MMSJHIUTSFTFSWFE   "[VSF7FSJGJFE.PEVMFT 8IZ)PX8IBU w (6*Ͱͷૢ࡞ w *B$%FW0QTελʔτ

    w ίʔυͷ૿Ճͱ৑௕ w ߹ཧԽΛ࢝ΊΔ w 044ʹ͋Δ*B$ϦϙδτϦࢀߟ w ͦΕͰ΋ܧଓతͳӡ༻͕೉͍͠ w ެ͔ࣜΒαϙʔτ͢ΔϞδϡʔϧΛެ։ Problem Statement from our Customers Customer operates cloud with ClickOps Customer starts adopting basic IaC and DevOps practices Proliferation of code, lots of repeated lines Customer tries to decouple repeated code & rationalize Customer looks for open-source IaC repos There are many IaC repos with their own standards Customer picks one repo The repo is not officially supported by Microsoft, or the repo gets abandoned over time Solution: introduce the official Microsoft approach, Azure Verified Modules (AVM)
  2. ຊࢿྉ͸৘ใఏڙͷΈΛ໨తͱ͓ͯ͠Γɺຊࢿྉʹهࡌ͞Ε͍ͯΔ৘ใ͸ɺຊࢿྉ࡞੒࣌఺ͰͷϚΠΫϩιϑτͷݟղΛࣔͨ͠΋ͷͰ͢ɻঢ়گ౳ͷมԽʹΑΓɺ಺༰͸มߋ͞ΕΔ৔߹͕͋Γ·͢ɻຊࢿྉʹදه͞Ε͍ͯΔ಺༰ʢఏࣔ͞Ε͍ͯΔ৚݅౳ΛؚΈ·͢ʣ͸ɺوࣾͱͷ༗ޮͳܖ໿Λ௨ܾͯ͡ఆ͞Ε·͢ɻͦΕ·Ͱ͸ɺਖ਼ࣜʹ֬ఆ͢Δ΋ͷͰ͸͋Γ·ͤΜɻ ैͬͯɺຊࢿྉͷهࡌ಺༰ͱ͸ҟͳΔ৔߹͕͋Γ·͢ɻ·ͨɺຊࢿྉʹهࡌ͞Ε͍ͯΔՁ֨͸͍ͣΕ΋ɺผஈͷදه͕ͳ͍ݶΓɺࢀߟՁ֨ͱͳΓ·͢ɻوࣾͷ࠷ऴతͳߪೖՁ֨͸ɺوࣾͷϦηϥʔ༷ʹΑΓܾఆ͞Ε·͢ɻϚΠΫϩι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