User and Team Management

The Shipa provider for Terraform allows you to manage both teams and user provisioning on Shipa directly from Terraform.

Creating Teams

terraform {
  required_providers {
    shipa = {
      version = "0.0.6"
      source = "shipa-corp/shipa"
    }
  }
}

provider "shipa" {
  host = "http://target.shipa.cloud:8080"
  token = "<your-shipa-token>"
}

resource "shipa_team" "team" {
  team {
    name = "terraform-team"
    tags = ["dev", "sandbox"]
  }
}

Top-Level Attributes

Component

Description

Type

resource

shipa_team is Shipa's Terraform component for managing teams.

string

team

The team definitions used by Shipa when creating the team

Team

Component

Description

Type

name

The name that should be assigned to the team.

Required: Yes

string

tags

Tags that should be assigned to the team being created.

Required: No

string

Creating Users

terraform {
  required_providers {
    shipa = {
      version = "0.0.6"
      source = "shipa.io/terraform/shipa"
    }
  }
}

provider "shipa" {}

resource "shipa_user" "tf" {
  email = "[email protected]"
  password = "terraform"
}

Component Attributes

Component

Description

Type

resource

shipa_user is Shipa's Terraform component for managing users.

string

email

The email of the user. This will be the user's login credential.

Required: Yes

string

password

The password for the user. This will be the user's password credential.

Required: Yes

string


Did this page help you?