Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
突撃!隣の Terraform / Visit the next terraform
Search
Takeshi Kondo
December 02, 2019
Technology
5
2.6k
突撃!隣の Terraform / Visit the next terraform
terraform meetup tokyo#3
https://terraform-jp.connpass.com/event/153286/
Takeshi Kondo
December 02, 2019
Tweet
Share
More Decks by Takeshi Kondo
See All by Takeshi Kondo
SREの知識地図 - 第2章の紹介 - / Knowledge Map of SRE – Introduction to Chapter 2 –
chaspy
0
34
SRE NEXT CfP チームが語る 聞きたくなるプロポーザルとは / Proposals by the SRE NEXT CfP Team that are sure to be accepted
chaspy
2
1.5k
Slack Platform(Deno) での RAG 実装 - LangChain(js) を使ってみた / rag-implementation-on-slack-platform-deno-experimenting-with-langchain-js
chaspy
0
260
SRE の考えをマネジメントに活かす / applying SRE ideas to management
chaspy
7
7.9k
RAGの簡易評価によるフィードバックサイクル実践 / Feedback cycle practice through simplified assessment of RAGs
chaspy
2
5.7k
定量データと定性評価を用いた技術戦略の組織的実践 / Systematic implementation of technology strategies using quantitative data and qualitative evaluation
chaspy
9
2k
エンジニアブランディングチームの KPI / KPI's of engineer branding team
chaspy
2
2.3k
「SLO Review」今やるならこうする / If I had to do the "SLO Review" again
chaspy
3
2.1k
開発者とともに作る Site Reliability Engineering / SREing with Developers
chaspy
10
8.6k
Other Decks in Technology
See All in Technology
SSO方式とJumpアカウント方式の比較と設計方針
yuobayashi
7
590
エンジニアリングをやめたくないので問い続ける
estie
2
1k
re:Invent 2025 ふりかえり 生成AI版
takaakikakei
1
190
今からでも間に合う!速習Devin入門とその活用方法
ismk
1
620
非CUDAの悲哀 〜Claude Code と挑んだ image to 3D “Hunyuan3D”を EVO-X2(Ryzen AI Max+395)で動作させるチャレンジ〜
hawkymisc
1
170
世界最速級 memcached 互換サーバー作った
yasukata
0
330
Uncertainty in the LLM era - Science, more than scale
gaelvaroquaux
0
820
LLM-Readyなデータ基盤を高速に構築するためのアジャイルデータモデリングの実例
kashira
0
230
計算機科学をRubyと歩む 〜DFA型正規表現エンジンをつくる~
ydah
3
220
[JAWS-UG 横浜支部 #91]DevOps Agent vs CloudWatch Investigations -比較と実践-
sh_fk2
1
250
AI活用によるPRレビュー改善の歩み ― 社内全体に広がる学びと実践
lycorptech_jp
PRO
1
200
研究開発×プロダクトマネジメントへの挑戦 / ly_mlpm_meetup
sansan_randd
0
100
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
Done Done
chrislema
186
16k
RailsConf 2023
tenderlove
30
1.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.2k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
It's Worth the Effort
3n
187
29k
Agile that works and the tools we love
rasmusluckow
331
21k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
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