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.8k
0
Share
HCP Terraform について
HCP Terraform について
Atsushi Satou
September 28, 2024
More Decks by Atsushi Satou
See All by Atsushi Satou
AWS ECSでサービス間通信についておさらい
atsuw0
1
120
図で理解するAWS Network Firewallのアーキテクチャ
atsuw0
0
380
CLIで構築した方が良いもの一覧.pdf
atsuw0
0
170
HCP Terraformを使ったら AWSやGCPの環境構築が捗った話
atsuw0
0
240
HashicorpCloudについて.pdf
atsuw0
0
26
HashicorpCloudについて.pdf
atsuw0
0
34
AWS サーバレス設計 Tips集
atsuw0
0
120
AWS re:Invent 2023 ストレージ EFSレプリケーションのフェイルバック機能を試してみた
atsuw0
0
410
AWS re:Invent 2023 個人的に興味深いもの集
atsuw0
0
120
Featured
See All Featured
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
360
Utilizing Notion as your number one productivity tool
mfonobong
4
290
KATA
mclloyd
PRO
35
15k
Test your architecture with Archunit
thirion
1
2.2k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
320
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.6k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
130
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
27
3.4k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
380
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
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
ご清聴ありがとうございました