Foundations · 3 / 23
Connect identities, not strings
A reference carries a resource identity and a dependency. Repair the membership without guessing an ID.
YOUR TASK
Make this happen
Use
team.fulfillment.idfor teamId.Use
user.alice.idfor userId, then inspect the dependency links.Check and simulate the plan.
Read the starter files
people.cococo
user "alice" {
email = "alice@example.com"
}
main.cococo
team "fulfillment" {
name = "Fulfillment"
description = "Ships customer orders"
}
team_membership "alice" {
teamId = user.alice.id
userId = user.alice.id
}