Configure
Define a new variable named ab_test
and give it a default value of "A"
.
Update
In your property created in the Exercise #2 in module 5. Resources create a condition for the origin name based on the variable ab_test
. That is if ab_test="A"
go to Origin A (e.g. origin-a.example.com), else go to Origin B (e.g. origin-b.example.com).
Plan/Apply
Run terraform a few times and modify the value of ab_test
each time.
Commit
- Commit your change and push it to GitHub.