Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
突撃!隣の Terraform / Visit the next terraform
Search
Takeshi Kondo
December 02, 2019
Technology
2.8k
5
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
突撃!隣の Terraform / Visit the next terraform
terraform meetup tokyo#3
https://terraform-jp.connpass.com/event/153286/
Takeshi Kondo
December 02, 2019
More Decks by Takeshi Kondo
See All by Takeshi Kondo
SREの知識地図 - 第2章の紹介 - / Knowledge Map of SRE – Introduction to Chapter 2 –
chaspy
0
110
SRE NEXT CfP チームが語る 聞きたくなるプロポーザルとは / Proposals by the SRE NEXT CfP Team that are sure to be accepted
chaspy
2
1.8k
Slack Platform(Deno) での RAG 実装 - LangChain(js) を使ってみた / rag-implementation-on-slack-platform-deno-experimenting-with-langchain-js
chaspy
0
330
SRE の考えをマネジメントに活かす / applying SRE ideas to management
chaspy
7
8.4k
RAGの簡易評価によるフィードバックサイクル実践 / Feedback cycle practice through simplified assessment of RAGs
chaspy
2
6.2k
定量データと定性評価を用いた技術戦略の組織的実践 / Systematic implementation of technology strategies using quantitative data and qualitative evaluation
chaspy
9
2.4k
エンジニアブランディングチームの KPI / KPI's of engineer branding team
chaspy
2
2.6k
「SLO Review」今やるならこうする / If I had to do the "SLO Review" again
chaspy
3
2.5k
開発者とともに作る Site Reliability Engineering / SREing with Developers
chaspy
10
9.2k
Other Decks in Technology
See All in Technology
SREの視点で考えるSIEM活用術 〜AWS環境でのセキュリティ強化〜
cscengineer
PRO
0
110
.NET WebAssemblyで実現するクライアントサイドAI推論:NuGetからViteまで、2つのエコシステムを繋ぐビルド戦略
yamachu
0
190
リアーキテクチャ後の障害ゼロを目指したShadow Testingの取り組み
nihonbuson
PRO
1
160
空間オーディオで過去の 自分(ゴースト)と競うランニング 〜HealthKitのルートを足音に変える実装〜
nao_randd
0
230
アクセスキーこわい やめかたと漏らさない工夫
sassssan68
1
430
AgentCore Runtime上にAgentic Coding基盤を構築・展開する際の設計ポイントと限界点 / Design considerations and limitations when building an agentic coding platform on AgentCore Runtime
har1101
5
320
Goodbye ShellScript, Hello File-based App
shunsock
0
260
Von-Neumann Machines, Dreams & The Futures of IT
ufried
0
100
beyond jj: config & tools ecosystem
indirect
0
5k
幾何アルゴリズムで なめらかなピン操作を / iOSDC Japan 2026 / smoothpin
kazumanagano
0
360
【技術的負債conf】事業成長に伴う技術的負債の説明責任とAIによるモニタリング、認知的負債について
i35_267
3
1.8k
AIによるクリエイティブ生成を行う上での試行錯誤
plaidtech
PRO
0
160
Featured
See All Featured
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
280
First, design no harm
axbom
PRO
2
1.3k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Optimising Largest Contentful Paint
csswizardry
37
4k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
76k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
280
Six Lessons from altMBA
skipperchong
29
4.5k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
The SEO identity crisis: Don't let AI make you average
varn
0
560
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
840
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
Transcript
ಥܸʂྡͷ Terraform Takeshi Kondo / @chaspy 2019/12/02 Terraform Meetup Tokyo#3
tl;dr • KyashɾϝϧΧϦͷ Terraform ͷӡ༻Λώ ΞϦϯά͠ʹಥܸͨ͠ • ඇৗʹֶͼ͕ଟ͔ͬͨͷͰɺಠΓΊͤ ͣɺίϛϡχςΟʹؐݩ͍ͨ͠ •
͏ͪʹಥܸ͠ʹ͖ͯͶʂ
Background • https://gist.github.com/suzuki-shunsuke/ 0f6f602571920e95be279044c2f44ea8 • 2 repositories, 3 states •
Japan / Global • Production / Staging / Manage • ୭Ͱ PR Λ͛ΒΕΔঢ়گͰ͋Δɺ͕ɺɺɺ • Өڹൣғ͕େ͖͍ • Release branch ӡ༻ʹݶք͕ݟ͖͑ͯͨ • SRE Λհͣ͞ Devs ͕ࣗ༝ʹ merge & release ͯ͠΄͍͠ • Splitting State • Delegation to devs
Background
Background
https://twitter.com/chaspy_/status/1187601882245582848
❗
❗
None
Kyash https://kyash.co/company/
Kyash • @lamanotrama ͞Μʢݩฐࣾ Senior SREʣ • workspace Λ༻ •
։ൃɾຊ൪͕Ұக͍ͯ͠Δ͜ͱΛώΞϦϯάͰ֬ೝ • remote stateͷ key check ࣗಈԽ • moduleԽͷࡍͷTips • module ͷ෦͕͋·ΓมΘΒͳ͍ͱ֬৴Ͱ͖Δͷ • ෳࡶͳ༷Λ module ʹ͠ͳ͍ • State ࣗମΛ͚͍ͯΔͷͰ module Խ͢Δ͜ͱͰ DRY ʹͳΒͳ͍
mercari https://about.mercari.com/about/
mercari • @deeeet ͞Μ / @dtan4 ͞Μ • https://gist.github.com/tcnksm/ 7b430f7955beac1ebb5b4d2fb26b40f7
• GitHub flow • ಉ࣌ʹ1 service ͔͠มߋͰ͖ͳ੍͍ • Master branch Ͱͷ CI ඞͣ 1 service ͷΈ͕ Apply • ৽αʔϏε࡞࣌ʹ bootstrap Λ༻ҙ • microservices starter kit module • template_dir Λ༻͍࣭ͯʹ͑Δͱࣗಈੜ • Stein ʹΑΔ lint
Future work By @suzuki-shunsuke • Conftest ʹΑΔ state ͷ Lint
• Remote state ͷ key ͷ Lint • Kubernetes ͷ manifest ςετͰ͖Δ • Service domain ୯ҐͰͷׂத • ڞ௨ɾωοτϫʔΫϦιʔεͷґଘϋʔυίʔυ • Application in monorepo ͷ໊લͱҰகͤ͞Δ • Service ͱͦΕΒ͕ར༻͢Δ Infrastructure Կ͔͠Β ͷنͰҰகͤ͞Δඞཁ͕͋Δͱஅ
͓͠·͍ • ֶͼ͕ଟ͔ͬͨͷͰಥܸศར • ઈࢍ state ׂத • Terraform ӡ༻ʹ͍ͭͯฉ͖͍ͨ͜ͱ͕
͋ͬͨΒ͍ͭͰ༡ͼʹ͖͍ͯͩ͘͞
Thank You! chaspy chaspy_ Site Reliability Engineer Takeshi Kondo SRE
Lounge Terraform-jp