Foundations · 2 / 23
Add an existing person to a team
Look up Alice by email and connect her to Fulfillment with a managed membership. Keep ownership of her account outside IaC.
YOUR TASK
Make this happen
Keep the existing Alice lookup in people.cococo:
alice@example.com.In main.cococo, add a
team_membershiplinkingteam.fulfillment.idanduser.alice.id.Keep the Fulfillment team. Create no service account and leave Alice unchanged.
Choose Check solution, then Apply in simulation. Confirm the second plan needs no changes.
Read the starter files
people.cococo
user "alice" {
email = "alice@example.com"
}
main.cococo
team "fulfillment" {
name = "Fulfillment"
description = "Ships customer orders"
}
# Add a team_membership block below.