AWS Community Day CPH 2024 - Three problems of Terraform
AndreyDevyatkin
160 views
85 slides
May 07, 2024
Slide 1 of 85
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
About This Presentation
Terragrunt, Terraspace, Terramate, terra... whatever. What is wrong with Terraform so people keep on creating wrappers and solutions around it? How OpenTofu will affect this dynamic? In this presentation, we will look into the fundamental driving forces behind a zoo of wrappers. Moreover, we are goi...
Terragrunt, Terraspace, Terramate, terra... whatever. What is wrong with Terraform so people keep on creating wrappers and solutions around it? How OpenTofu will affect this dynamic? In this presentation, we will look into the fundamental driving forces behind a zoo of wrappers. Moreover, we are going to put together a wrapper ourselves so you can make an educated decision if you need one.
Size: 7.02 MB
Language: en
Added: May 07, 2024
Slides: 85 pages
Slide Content
NORDICS
DGI Byen’s CPH Conference
2024
NORDICS
The three problems of Terraform
Andrey Devyatkin | 2024-05-07
www.fivexl.io | hello@fivexl.io
www.fivexl.io | hello@fivexl.io
www.fivexl.io | hello@fivexl.io
https://www.grc.com/sn/sn-923-notes.pdf
www.fivexl.io | hello@fivexl.io
Do it.
Do it better.
Do it right.
Alex Lindsay
www.fivexl.io | hello@fivexl.io
Andrey Devyatkin
Co-Host @ DevSecOps Talks
podcast
Principal AWS Consultant
AWS Community Builder
Security and Identity
Co-Founder @ FivexL
AWS User Group Leader
UG Las Palmas de GC
three
conceptual
problems
Dynamic state location
Deploying the same configuration to multiple
environments
Environment specific parameters
A way to address differences between environments
Cross-state resources lookup
A need to reference resources from different states
https://developer.hashicorp.com/terraform/cli/workspaces
As of 2023-05-18
www.fivexl.io | hello@fivexl.io
https://developer.hashicorp.com/terraform/cli/workspaces#when-not-to-use-multiple-workspaces
As of 2023-05-18
Okay, what is the real life use case then?
??????
www.fivexl.io | hello@fivexl.io
https://developer.hashicorp.com/terraform/cli/workspaces#alternatives-to-workspaces
As of 2023-05-18
AWS SSM
Parameters
AWS S3
Self-containing
modules
Are the other ways?
Tooling
www.fivexl.io | hello@fivexl.io
Self-contained
modules? ??????
Create resources
Look up resources
Provide policies
…
www.fivexl.io | hello@fivexl.io
www.fivexl.io | hello@fivexl.io
two
more
problems
Licensing
Are you competing with HashiCorp?
Team work
How do you work together with the same state?
www.fivexl.io | hello@fivexl.io
OpenTofu
Not a big gap at the
moment
Unclear longevity
Community
requested features
Has a momentum
www.fivexl.io | hello@fivexl.io
Terraform is a cli tool
That operates on a shared resources
www.fivexl.io | hello@fivexl.io
Conventional CI/CD
vs
TACOS
Terraform Automation and Collobaration Systems
www.fivexl.io | hello@fivexl.io
Commit
UnitTest
Lint
Build
Deploy Test Promote
CI/CD Server
TACOS
Server
www.fivexl.io | hello@fivexl.io
Benefits of using
TACOS
Lock down access to
the state
Better visibility
Less shoulders
bumping
Extra features
https://www.reddit.com/r/Terraform/comments/lkylzk/scalr_vs_spacelift_vs_atlantis_vs_env0_bake_off/
www.fivexl.io | hello@fivexl.io
Conclusion and
recap
www.fivexl.io | hello@fivexl.io
three
conceptual
problems
Dynamic state location
Deploying the same configuration to multiple
environments
Environment specific parameters
A way to address differences between environments
Cross-state resources lookup
A need to reference resources from different states
www.fivexl.io | hello@fivexl.io
two
more
problems
Licensing
Are you competing with HashiCorp?
Team work
How do you work together with the same state?