AccountTeamProject

The account team project is intended to link and existing project to the existing account team. It is important to note that the project should have an account_id property set and equal to account team you are trying to link this project.

Example Usage

using Pulumi;
using Aiven = Pulumi.Aiven;

class MyStack : Stack
{
    public MyStack()
    {
        var project1 = new Aiven.Project("project1", new Aiven.ProjectArgs
        {
            AccountId = aiven_account_team.Developers.Account_id,
            Project = "project-1",
        });
        var accountTeamProject1 = new Aiven.AccountTeamProject("accountTeamProject1", new Aiven.AccountTeamProjectArgs
        {
            AccountId = aiven_account_team.Developers.Account_id,
            ProjectName = project1.ProjectName,
            TeamId = aiven_account_team.Developers.Team_id,
            TeamType = "admin",
        });
    }

}

Coming soon!

import pulumi
import pulumi_aiven as aiven

project1 = aiven.Project("project1",
    account_id=aiven_account_team["developers"]["account_id"],
    project="project-1")
account_team_project1 = aiven.AccountTeamProject("accountTeamProject1",
    account_id=aiven_account_team["developers"]["account_id"],
    project_name=project1.project,
    team_id=aiven_account_team["developers"]["team_id"],
    team_type="admin")
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";

const project1 = new aiven.Project("project1", {
    accountId: aiven_account_team_developers.accountId,
    project: "project-1",
});
const accountTeamProject1 = new aiven.AccountTeamProject("account_team_project1", {
    accountId: aiven_account_team_developers.accountId,
    projectName: project1.project,
    teamId: aiven_account_team_developers.teamId,
    teamType: "admin",
});

Create a AccountTeamProject Resource

def AccountTeamProject(resource_name, opts=None, account_id=None, project_name=None, team_id=None, team_type=None, __props__=None);
name string
The unique name of the resource.
args AccountTeamProjectArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AccountTeamProjectArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AccountTeamProjectArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

AccountTeamProject Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The AccountTeamProject resource accepts the following input properties:

AccountId string

Account id

TeamId string

Account team id

ProjectName string

Account team project name

TeamType string

Account team project type, can one of the following values: admin, developer, operator and read_only

AccountId string

Account id

TeamId string

Account team id

ProjectName string

Account team project name

TeamType string

Account team project type, can one of the following values: admin, developer, operator and read_only

accountId string

Account id

teamId string

Account team id

projectName string

Account team project name

teamType string

Account team project type, can one of the following values: admin, developer, operator and read_only

account_id str

Account id

team_id str

Account team id

project_name str

Account team project name

team_type str

Account team project type, can one of the following values: admin, developer, operator and read_only

Outputs

All input properties are implicitly available as output properties. Additionally, the AccountTeamProject resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing AccountTeamProject Resource

Get an existing AccountTeamProject resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AccountTeamProjectState, opts?: CustomResourceOptions): AccountTeamProject
static get(resource_name, id, opts=None, account_id=None, project_name=None, team_id=None, team_type=None, __props__=None);
func GetAccountTeamProject(ctx *Context, name string, id IDInput, state *AccountTeamProjectState, opts ...ResourceOption) (*AccountTeamProject, error)
public static AccountTeamProject Get(string name, Input<string> id, AccountTeamProjectState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

AccountId string

Account id

ProjectName string

Account team project name

TeamId string

Account team id

TeamType string

Account team project type, can one of the following values: admin, developer, operator and read_only

AccountId string

Account id

ProjectName string

Account team project name

TeamId string

Account team id

TeamType string

Account team project type, can one of the following values: admin, developer, operator and read_only

accountId string

Account id

projectName string

Account team project name

teamId string

Account team id

teamType string

Account team project type, can one of the following values: admin, developer, operator and read_only

account_id str

Account id

project_name str

Account team project name

team_id str

Account team id

team_type str

Account team project type, can one of the following values: admin, developer, operator and read_only

Package Details

Repository
https://github.com/pulumi/pulumi-aiven
License
Apache-2.0
Notes
This Pulumi package is based on the aiven Terraform Provider.