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
HCP Terraform について
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Atsushi Satou
September 28, 2024
1.9k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
HCP Terraform について
HCP Terraform について
Atsushi Satou
September 28, 2024
More Decks by Atsushi Satou
See All by Atsushi Satou
AWS ECSでサービス間通信についておさらい
atsuw0
1
150
図で理解するAWS Network Firewallのアーキテクチャ
atsuw0
0
500
CLIで構築した方が良いもの一覧.pdf
atsuw0
0
190
HCP Terraformを使ったら AWSやGCPの環境構築が捗った話
atsuw0
0
320
HashicorpCloudについて.pdf
atsuw0
0
39
HashicorpCloudについて.pdf
atsuw0
0
42
AWS サーバレス設計 Tips集
atsuw0
0
130
AWS re:Invent 2023 ストレージ EFSレプリケーションのフェイルバック機能を試してみた
atsuw0
0
440
AWS re:Invent 2023 個人的に興味深いもの集
atsuw0
0
130
Featured
See All Featured
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
410
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
420
The Invisible Side of Design
smashingmag
301
52k
The Curious Case for Waylosing
cassininazir
1
480
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Rails Girls Zürich Keynote
gr2m
96
14k
The SEO identity crisis: Don't let AI make you average
varn
0
540
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
380
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
180
The agentic SEO stack - context over prompts
schlessera
0
880
Raft: Consensus for Rubyists
vanstee
141
7.7k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Transcript
HCP Terraform について 佐藤 淳 JR中央線 Developers もくもく<会 #13 https://chuo.connpass.com/event/329385/
自己紹介 名前: 佐藤 淳 ( Atsushi Sato ) 会社: 某AWSが得意な会社
Qiita: https://qiita.com/atw0_0w 職業: インフラエンジニア 最近興味あること: GolangでCLIツールの作成
HCP Terraform とは?
そもそも Terraform とは? - Infrastructure as Code (IaC) を実現するソフトウェアツール >
※ IaC .. インフラの定義をテンプレート化したもの - Hashicorp社によってGolangで開発されたオープンソース - マルチプロバイダーで利用可能 (AWS, GCP, etc ..) - 基本的なコマンドは以下の通り HCP Terraform $ terraform plan ... テンプレートファイルのドライラン $ terraform apply ... テンプレートファイル内のリソースを作成 $ terraform destroy ... リソースを削除
HCP Terraformとは? - HCP Terraformは、Terraformの管理を組織やチームごとで できる SaaSサービス - plan/applyが実行されるタイミング →
リポジトリへpullreq / mergeでトリガー - HCP Terraform を使用するメリット - CI/CDパイプラインを予め作成する必要なし - プライベートレジストリを使用できる - stateファイルの管理不要 HCP Terraform とは ?
[デモ] HCP Terraform 上でTerraform Plan/Apply GitHubと連携している際、feature→mainへプルリクエストを投げるとplan。 MergeするとApply。 Pull Request Merge
$ terraform plan $ terraform apply
デモ [シナリオ] - HCP Terraform 上で AWS環境 を構築する [リポジトリ] -
https://github.com/atsw0q0/terraform-tfe-templates
ご清聴ありがとうございました