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
new AccountTeamProject(name: string, args: AccountTeamProjectArgs, opts?: CustomResourceOptions);def AccountTeamProject(resource_name, opts=None, account_id=None, project_name=None, team_id=None, team_type=None, __props__=None);func NewAccountTeamProject(ctx *Context, name string, args AccountTeamProjectArgs, opts ...ResourceOption) (*AccountTeamProject, error)public AccountTeamProject(string name, AccountTeamProjectArgs args, CustomResourceOptions? opts = null)- 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:
- 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:
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): AccountTeamProjectstatic 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:
- 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
aivenTerraform Provider.