Terraform · Arazzo Workflow
Terraform Onboard a Team into an Organization
Version 1.0.0
Check an organization's teams for a name, create the team if missing, and read it back.
View Spec
View on GitHub
Infrastructure As CodeCloud InfrastructureDevOpsOpen SourceHashiCorpArazzoWorkflows
Provider
Workflows
onboard-team
Idempotently create a team in an organization and read back its details.
Verifies the organization, checks the team list for the target name, creates the team when absent, and reads the resulting team on either branch.
1
verifyOrganization
GetOrganization
Read the organization to confirm the token can reach it and administer its teams.
2
listTeams
ListTeams
List the organization's teams so an existing team with the target name is reused rather than duplicated on a rerun.
3
createTeam
CreateTeam
Create the team with the supplied visibility, since no team with this name exists in the organization yet.
4
readNewTeam
GetTeam
Read the freshly created team back to confirm its visibility setting and starting member count.
5
readExistingTeam
GetTeam
Read the already-present team instead of creating a duplicate, reporting its current visibility and member count to the caller.