Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Orbsから始めるTerraform生活/ terraform-life-starting-f...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Mafuyu Kamono
March 16, 2019
Programming
2
690
Orbsから始めるTerraform生活/ terraform-life-starting-from-orbs
TerraformのCI/CDフローについてのお話
https://github.com/mafuyuk/terraform-orb
Mafuyu Kamono
March 16, 2019
Tweet
Share
More Decks by Mafuyu Kamono
See All by Mafuyu Kamono
GAE 2nd gen (gVisor based GAE) が出たので GAE 導入を決めました/ GAE 2nd gen is good
mfykmn
0
310
GAE SE 2nd Genのススメ/recommend-gae-se-2nd-gen
mfykmn
0
290
忙しいひとのためのCQRS/quickly-cqrs
mfykmn
9
1.5k
Other Decks in Programming
See All in Programming
AI時代の認知負荷との向き合い方
optfit
0
160
CSC307 Lecture 02
javiergs
PRO
1
780
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
180
Raku Raku Notion 20260128
hareyakayuruyaka
0
350
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
210
Fluid Templating in TYPO3 14
s2b
0
130
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
180
要求定義・仕様記述・設計・検証の手引き - 理論から学ぶ明確で統一された成果物定義
orgachem
PRO
1
190
AgentCoreとHuman in the Loop
har1101
5
240
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
120
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
170
AI巻き込み型コードレビューのススメ
nealle
2
970
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Typedesign – Prime Four
hannesfritz
42
2.9k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Into the Great Unknown - MozCon
thekraken
40
2.3k
Unsuck your backbone
ammeep
671
58k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
220
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
Crafting Experiences
bethany
1
50
Building Adaptive Systems
keathley
44
2.9k
Raft: Consensus for Rubyists
vanstee
141
7.3k
Transcript
© DMM.com CONFIDENTIAL © DMM.com Orbsから始めるTerraform生活 加茂野真冬 - DMM.com LLC
2019.03.16 HashiCorp Terraform & Vault Enterprise 勉強会 in 金沢
© DMM.com 今日話すこと 2 TerraformによるインフラのCI/CD パイプラインについて話します
© DMM.com 今日話さないこと 3 • 他ツールとの比較 • Terraformの基礎知識
© DMM.com 4 $ cat about-me.tf data { fullname =
"Mafuyu Kamono" orgnization = "DMM.com LLC" position = "Backend Engineer" detail = "https://mafuyuk.com" twitter-id = "@mafuyuk_m" }
© DMM.com Infrastructure as Code 5 • インフラをコードとして管理できる • ソフトウェア開発で培われてきた
プラクティスがインフラ構築でも適用できる
© DMM.com DevOps 6 https://ja.wikipedia.org/wiki/DevOps
© DMM.com DevOps 7 https://ja.wikipedia.org/wiki/DevOps
© DMM.com TerraformのCI/CDパイプライン 8 branch/feature Verify branch/master tag/vx.x.x Plan Apply
Approval Admin
© DMM.com TerraformのCI/CDパイプライン 9 branch/feature Verify branch/master tag/vx.x.x Plan Apply
Approval Admin 毎回同じようなもの を作ってるな...
© DMM.com 10 CI/CDの パッケージマネージャ
© DMM.com 11 https://www.terraform.io/docs/github-actions/getting-started/index.html Terraform Github Actions
© DMM.com Github Actionsを今回使わなかった理由 12 • Github Actionsの利用申請がまだ承認 されていないため使えなかった •
Privateリポジトリでしか使えない • TerraformのGithub Actionsが CIの部分までしかない
© DMM.com CircleCI Orbsとは? • CircleCIのパッケージマネージャ • 再利用性を高めることができる • CircleCI
version 2.1からの機能 13 https://circleci.com/orbs/
© DMM.com 14 https://circleci.com/orbs/registry/orb/mafuyuk/terraform https://github.com/mafuyuk/terraform-orb Terraform Orb
© DMM.com 15 https://circleci.com/orbs/registry/orb/mafuyuk/terraform#usage-continuous-integration Terraform Orb: 継続的インテグレーション
© DMM.com 16 https://circleci.com/orbs/registry/orb/mafuyuk/terraform#usage-continuous-delivery Terraform Orb: 継続的デリバリ
© DMM.com 17 https://circleci.com/orbs/registry/orb/mafuyuk/terraform#usage-deploy Terraform Orb: 継続的デプロイメント
© DMM.com 18 Terraform Orb作成時に意識していたこと • ベターなフローを用意する - Running Terraform
in Automation - Terraform Best Practices • 細かい部分はOrbにカプセル化しユーザーはフロー のみ意識できるようにする • カスタマイズ性を高く
© DMM.com 19 是非使ってみてください
© DMM.com 20 気になる内容は気軽にissuieや DM、PR投げてください! 一緒に作っていきましょう!
© DMM.com まとめ 21 • Terraform+αでインフラ構築を更に 加速できる • Orbを導入してTerraformのCI/CDパ イプライン構築を簡単にできるように
した
© DMM.com 22 Terraform周りの便利ツール(おまけ) • https://github.com/gruntwork-io/terratest テストツール • https://github.com/coinbase/terraform-landscape terraform
planの出力を見やすくする • https://github.com/wata727/tflint planでは検知できないエラーを事前に検知できる • https://github.com/camptocamp/terraboard stateのモニタリング • https://github.com/tfutils/tfenv ローカルでのterraform version管理ツール
© DMM.com 23 END. ここから、Orbsから始めよう。 Terraformの物語を。 Orbsから始めるTerraform生活を!