Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Deep Dive HCL@Terraform Meetup #3
Keke
December 02, 2019
Technology
1
1.4k
Deep Dive HCL@Terraform Meetup #3
My Presentation about HCL about Terraform Meetup #3.
Keke
December 02, 2019
Tweet
Share
More Decks by Keke
See All by Keke
keisukeyamashita
9
2.3k
keisukeyamashita
3
510
keisukeyamashita
1
220
keisukeyamashita
8
4.9k
keisukeyamashita
0
68
keisukeyamashita
2
170
keisukeyamashita
3
820
keisukeyamashita
1
1.7k
keisukeyamashita
1
360
Other Decks in Technology
See All in Technology
yunon_phys
1
440
yutamakotaro
1
210
simplework_oi
0
170
hirosys
0
150
oracle4engineer
0
2.8k
siroemk
0
270
muras
0
120
yosshi_
2
560
indigo13love
2
520
koba789
0
460
ocise
0
170
ocise
0
190
Featured
See All Featured
kneath
219
15k
3n
163
22k
sachag
446
36k
scottboms
251
11k
chriscoyier
499
130k
destraynor
223
47k
tenderlove
52
3.4k
orderedlist
PRO
329
35k
reverentgeek
168
7.2k
vanstee
116
4.8k
lauravandoore
11
1.3k
marktimemedia
6
340
Transcript
Terraform Meetup Tokyo #3 Keke Twitter: @_k_e_k_e “Deep Dive HCL”
Building Terraform file
“Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)” “ϓϩάϥϜ͔ΒTerraformϑΝΠϧΛ࡞Δํ๏” ”༰” (ϨϕϧͳAPI͔Β)
Keke Twitter: @_k_e_k_e New Grad Merpay SRE Hobby: Reading Novels,
Comics About me “Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)”
“HCL” “Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)”
“HCL != .tf” “Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)”
“HCL” “Hashicorp Configuration Language” “Terraform Meetup Tokyo #3 Keke (twitter:
@_k_e_k_e)”
“Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)” “HCLͷ༻్” “Terraform” “Github
Actions”
“HCLͰ.tfΛॻ͍͍ͯΔ” “Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)”
“Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)”
“Block Type” “Type(label)” “Name(label)” “Block” “Attribute” “Expression” “Terraform Meetup Tokyo
#3 Keke (twitter: @_k_e_k_e)” “File”
“Terraform with Go” “Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)”
“Block Type” “Type(label)” “Name(label)” “Block” “Attribute” “Expression” “Terraform Meetup Tokyo
#3 Keke (twitter: @_k_e_k_e)” “File”
“hcl.File” “HCL file” “HCL file” ParseHCL ParseHCL *hcl.File *hcl.File *hcl.File
Merge Body “Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)”
“hcl.Body” “Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)”
“hcl.Block” “Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)”
“HCL Structure” hcl.Body … K hcl.File hcl.Body hcl.Bodk hcl.Block K
hcl.Attrib ute hcl.Attrib ute “HCL file” “Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)”
“HCL Structure” hcl.Body … K hcl.File hcl.Body hcl.Bodk hcl.Block K
hcl.Attrib ute hcl.Attrib ute “HCL file” gohcl.EncodeIntoBody() -> io.WriteFile “Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)”
“Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)”
“Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)”
“Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)”
“Building Blocks (and Attributes)” “Terraform Meetup Tokyo #3 Keke (twitter:
@_k_e_k_e)”
“HCL Structure” hcl.Body … K hcl.File hcl.Body hcl.Bodk hcl.Block K
hcl.Attrib ute hcl.Attrib ute “HCL file” gohcl.EncodeIntoBody() -> io.WriteFile “Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)”
“Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)”
https://buildmedia.readthedocs.org/media/pdf/hcl/guide/hcl.pdf “Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)”
“Datadog Monitor at Scale w/ Terraform” “Merpay Advent Calendar 2019
12/9” https://qiita.com/advent-calendar/2019/merpay “Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)”
“Terraform Meetup Tokyo #3 Keke (twitter: @_k_e_k_e)” “Thank you”