Ticket Type: Task
Title: External Files Project: Version Control System Deployment
Assignee: You
Reporter: Derek Morgan
Priority: High
Labels: Terraform, GitHub, CSV, External Files, Locals
Epic Link: GitHub Expansion
Sprint: Sprint 01/ExternalFiles
Description:
You have been provided with a CSV. Deploy repositories using all of the details in the CSV. Ensure your configuration is DRY. (Hint: use a for_each block.)
Acceptance Criteria:
Note: If the
terraform validate
command fails, all tasks in the lab will fail!
- Use the contents of the CSV to deploy repositories.
- Use the contents of the CSV to deploy branches and attach them to their respective repositories.
- Use for_each to deploy all resources in a DRY manner.
- Use a locals block to consolidate any duplicated functions.
Implementation Notes:
Feel free to use code from previous labs. The values aren’t as important as the concepts.