-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hello, I am trying to get started with this Terraform provider but ran into an issue pretty quick. I am trying to create an operations team in a JSM Cloud instance (sandbox environment) with this manifest:
terraform {
required_providers {
atlassian-operations = {
source = "registry.terraform.io/atlassian/atlassian-operations"
version = "1.0.3"
}
}
}
provider "atlassian-operations" {
cloud_id = var.cloud_id
domain_name = var.domain_name
email_address = var.email_address
token = var.token
}
data "atlassian-operations_user" "skoenig" {
email_address = "[email protected]"
}
output "example" {
value = data.atlassian-operations_user.skoenig
}
resource "atlassian-operations_team" "ops_team" {
description = "This is a team created by Terraform"
organization_id = var.atlassian_organization_id
display_name = "Ops Team"
team_type = "OPEN"
member = [
{ account_id = data.atlassian-operations_user.skoenig.account_id }
]
}
While the output for the user resource works as expected, I am getting an error from from the team resource creation:
╷
│ Error: Client Error
│
│ with atlassian-operations_team.ops_team,
│ on main.tf line 25, in resource "atlassian-operations_team" "ops_team":
│ 25: resource "atlassian-operations_team" "psp_rotation_0" {
│
│ Unable to create team, status code: 400. Got response:
│ {"errors":[{"code":"INVALID_OR_PARAMETER_MISSING","message":"Invalid or missing parameter. Please
│ refer to the documentation."}]}
What could be the reason? The manifest follows this basic example.
If needed, I can provide more detailed logs.
Metadata
Metadata
Assignees
Labels
No labels