Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

Project

# Project Resource

The Project resource allows the creation and management of Aiven Projects.

Create a Project Resource

new Project(name: string, args: ProjectArgs, opts?: CustomResourceOptions);
def Project(resource_name: str, opts: Optional[ResourceOptions] = None, account_id: Optional[str] = None, available_credits: Optional[str] = None, billing_address: Optional[str] = None, billing_currency: Optional[str] = None, billing_emails: Optional[Sequence[str]] = None, billing_extra_text: Optional[str] = None, billing_group: Optional[str] = None, ca_cert: Optional[str] = None, card_id: Optional[str] = None, copy_from_project: Optional[str] = None, country_code: Optional[str] = None, default_cloud: Optional[str] = None, project: Optional[str] = None, technical_emails: Optional[Sequence[str]] = None, vat_id: Optional[str] = None)
func NewProject(ctx *Context, name string, args ProjectArgs, opts ...ResourceOption) (*Project, error)
public Project(string name, ProjectArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ProjectArgs
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 ProjectArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ProjectArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Project Resource Properties

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

Inputs

The Project resource accepts the following input properties:

ProjectName string

defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.

AccountId string

is an optional property to link a project to already an existing account by using account ID.

AvailableCredits string

Available credits

BillingAddress string

Billing name and address of the project

Deprecated: Please use aiven_billing_group resource to set this value.

BillingCurrency string

Billing currency

Deprecated: Please use aiven_billing_group resource to set this value.

BillingEmails List<string>

Billing contact emails of the project

Deprecated: Please use aiven_billing_group resource to set this value.

BillingExtraText string

Extra text to be included in all project invoices, e.g. purchase order or cost center number

Deprecated: Please use aiven_billing_group resource to set this value.

BillingGroup string

Billing group Id

CaCert string

is a computed property that can be used to read the CA certificate of the project. This is required for configuring clients that connect to certain services like Kafka. This value cannot be set, only read.

CardId string

is either the full card UUID or the last 4 digits of the card. As the full UUID is not shown in the UI it is typically easier to use the last 4 digits to identify the card. This can be omitted if copy_from_project is used to copy billing info from another project.

Deprecated: Please use aiven_billing_group resource to set this value.

CopyFromProject string

is the name of another project used to copy billing information and some other project attributes like technical contacts from. This is mostly relevant when an existing project has billing type set to invoice and that needs to be copied over to a new project. (Setting billing is otherwise not allowed over the API.) This only has effect when the project is created.

CountryCode string

Billing country code of the project

Deprecated: Please use aiven_billing_group resource to set this value.

DefaultCloud string

Default cloud for new services

TechnicalEmails List<string>

Technical contact emails of the project

VatId string

EU VAT Identification Number

Deprecated: Please use aiven_billing_group resource to set this value.

Project string

defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.

AccountId string

is an optional property to link a project to already an existing account by using account ID.

AvailableCredits string

Available credits

BillingAddress string

Billing name and address of the project

Deprecated: Please use aiven_billing_group resource to set this value.

BillingCurrency string

Billing currency

Deprecated: Please use aiven_billing_group resource to set this value.

BillingEmails []string

Billing contact emails of the project

Deprecated: Please use aiven_billing_group resource to set this value.

BillingExtraText string

Extra text to be included in all project invoices, e.g. purchase order or cost center number

Deprecated: Please use aiven_billing_group resource to set this value.

BillingGroup string

Billing group Id

CaCert string

is a computed property that can be used to read the CA certificate of the project. This is required for configuring clients that connect to certain services like Kafka. This value cannot be set, only read.

CardId string

is either the full card UUID or the last 4 digits of the card. As the full UUID is not shown in the UI it is typically easier to use the last 4 digits to identify the card. This can be omitted if copy_from_project is used to copy billing info from another project.

Deprecated: Please use aiven_billing_group resource to set this value.

CopyFromProject string

is the name of another project used to copy billing information and some other project attributes like technical contacts from. This is mostly relevant when an existing project has billing type set to invoice and that needs to be copied over to a new project. (Setting billing is otherwise not allowed over the API.) This only has effect when the project is created.

CountryCode string

Billing country code of the project

Deprecated: Please use aiven_billing_group resource to set this value.

DefaultCloud string

Default cloud for new services

TechnicalEmails []string

Technical contact emails of the project

VatId string

EU VAT Identification Number

Deprecated: Please use aiven_billing_group resource to set this value.

project string

defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.

accountId string

is an optional property to link a project to already an existing account by using account ID.

availableCredits string

Available credits

billingAddress string

Billing name and address of the project

Deprecated: Please use aiven_billing_group resource to set this value.

billingCurrency string

Billing currency

Deprecated: Please use aiven_billing_group resource to set this value.

billingEmails string[]

Billing contact emails of the project

Deprecated: Please use aiven_billing_group resource to set this value.

billingExtraText string

Extra text to be included in all project invoices, e.g. purchase order or cost center number

Deprecated: Please use aiven_billing_group resource to set this value.

billingGroup string

Billing group Id

caCert string

is a computed property that can be used to read the CA certificate of the project. This is required for configuring clients that connect to certain services like Kafka. This value cannot be set, only read.

cardId string

is either the full card UUID or the last 4 digits of the card. As the full UUID is not shown in the UI it is typically easier to use the last 4 digits to identify the card. This can be omitted if copy_from_project is used to copy billing info from another project.

Deprecated: Please use aiven_billing_group resource to set this value.

copyFromProject string

is the name of another project used to copy billing information and some other project attributes like technical contacts from. This is mostly relevant when an existing project has billing type set to invoice and that needs to be copied over to a new project. (Setting billing is otherwise not allowed over the API.) This only has effect when the project is created.

countryCode string

Billing country code of the project

Deprecated: Please use aiven_billing_group resource to set this value.

defaultCloud string

Default cloud for new services

technicalEmails string[]

Technical contact emails of the project

vatId string

EU VAT Identification Number

Deprecated: Please use aiven_billing_group resource to set this value.

project str

defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.

account_id str

is an optional property to link a project to already an existing account by using account ID.

available_credits str

Available credits

billing_address str

Billing name and address of the project

Deprecated: Please use aiven_billing_group resource to set this value.

billing_currency str

Billing currency

Deprecated: Please use aiven_billing_group resource to set this value.

billing_emails Sequence[str]

Billing contact emails of the project

Deprecated: Please use aiven_billing_group resource to set this value.

billing_extra_text str

Extra text to be included in all project invoices, e.g. purchase order or cost center number

Deprecated: Please use aiven_billing_group resource to set this value.

billing_group str

Billing group Id

ca_cert str

is a computed property that can be used to read the CA certificate of the project. This is required for configuring clients that connect to certain services like Kafka. This value cannot be set, only read.

card_id str

is either the full card UUID or the last 4 digits of the card. As the full UUID is not shown in the UI it is typically easier to use the last 4 digits to identify the card. This can be omitted if copy_from_project is used to copy billing info from another project.

Deprecated: Please use aiven_billing_group resource to set this value.

copy_from_project str

is the name of another project used to copy billing information and some other project attributes like technical contacts from. This is mostly relevant when an existing project has billing type set to invoice and that needs to be copied over to a new project. (Setting billing is otherwise not allowed over the API.) This only has effect when the project is created.

country_code str

Billing country code of the project

Deprecated: Please use aiven_billing_group resource to set this value.

default_cloud str

Default cloud for new services

technical_emails Sequence[str]

Technical contact emails of the project

vat_id str

EU VAT Identification Number

Deprecated: Please use aiven_billing_group resource to set this value.

Outputs

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

Country string

Billing country

Deprecated: Please use aiven_billing_group resource to set this value.

EstimatedBalance string

Estimated balance

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

Payment method

Country string

Billing country

Deprecated: Please use aiven_billing_group resource to set this value.

EstimatedBalance string

Estimated balance

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

Payment method

country string

Billing country

Deprecated: Please use aiven_billing_group resource to set this value.

estimatedBalance string

Estimated balance

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

Payment method

country str

Billing country

Deprecated: Please use aiven_billing_group resource to set this value.

estimated_balance str

Estimated balance

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

Payment method

Look up an Existing Project Resource

Get an existing Project 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?: ProjectState, opts?: CustomResourceOptions): Project
@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, account_id: Optional[str] = None, available_credits: Optional[str] = None, billing_address: Optional[str] = None, billing_currency: Optional[str] = None, billing_emails: Optional[Sequence[str]] = None, billing_extra_text: Optional[str] = None, billing_group: Optional[str] = None, ca_cert: Optional[str] = None, card_id: Optional[str] = None, copy_from_project: Optional[str] = None, country: Optional[str] = None, country_code: Optional[str] = None, default_cloud: Optional[str] = None, estimated_balance: Optional[str] = None, payment_method: Optional[str] = None, project: Optional[str] = None, technical_emails: Optional[Sequence[str]] = None, vat_id: Optional[str] = None) -> Project
func GetProject(ctx *Context, name string, id IDInput, state *ProjectState, opts ...ResourceOption) (*Project, error)
public static Project Get(string name, Input<string> id, ProjectState? 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

is an optional property to link a project to already an existing account by using account ID.

AvailableCredits string

Available credits

BillingAddress string

Billing name and address of the project

Deprecated: Please use aiven_billing_group resource to set this value.

BillingCurrency string

Billing currency

Deprecated: Please use aiven_billing_group resource to set this value.

BillingEmails List<string>

Billing contact emails of the project

Deprecated: Please use aiven_billing_group resource to set this value.

BillingExtraText string

Extra text to be included in all project invoices, e.g. purchase order or cost center number

Deprecated: Please use aiven_billing_group resource to set this value.

BillingGroup string

Billing group Id

CaCert string

is a computed property that can be used to read the CA certificate of the project. This is required for configuring clients that connect to certain services like Kafka. This value cannot be set, only read.

CardId string

is either the full card UUID or the last 4 digits of the card. As the full UUID is not shown in the UI it is typically easier to use the last 4 digits to identify the card. This can be omitted if copy_from_project is used to copy billing info from another project.

Deprecated: Please use aiven_billing_group resource to set this value.

CopyFromProject string

is the name of another project used to copy billing information and some other project attributes like technical contacts from. This is mostly relevant when an existing project has billing type set to invoice and that needs to be copied over to a new project. (Setting billing is otherwise not allowed over the API.) This only has effect when the project is created.

Country string

Billing country

Deprecated: Please use aiven_billing_group resource to set this value.

CountryCode string

Billing country code of the project

Deprecated: Please use aiven_billing_group resource to set this value.

DefaultCloud string

Default cloud for new services

EstimatedBalance string

Estimated balance

PaymentMethod string

Payment method

ProjectName string

defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.

TechnicalEmails List<string>

Technical contact emails of the project

VatId string

EU VAT Identification Number

Deprecated: Please use aiven_billing_group resource to set this value.

AccountId string

is an optional property to link a project to already an existing account by using account ID.

AvailableCredits string

Available credits

BillingAddress string

Billing name and address of the project

Deprecated: Please use aiven_billing_group resource to set this value.

BillingCurrency string

Billing currency

Deprecated: Please use aiven_billing_group resource to set this value.

BillingEmails []string

Billing contact emails of the project

Deprecated: Please use aiven_billing_group resource to set this value.

BillingExtraText string

Extra text to be included in all project invoices, e.g. purchase order or cost center number

Deprecated: Please use aiven_billing_group resource to set this value.

BillingGroup string

Billing group Id

CaCert string

is a computed property that can be used to read the CA certificate of the project. This is required for configuring clients that connect to certain services like Kafka. This value cannot be set, only read.

CardId string

is either the full card UUID or the last 4 digits of the card. As the full UUID is not shown in the UI it is typically easier to use the last 4 digits to identify the card. This can be omitted if copy_from_project is used to copy billing info from another project.

Deprecated: Please use aiven_billing_group resource to set this value.

CopyFromProject string

is the name of another project used to copy billing information and some other project attributes like technical contacts from. This is mostly relevant when an existing project has billing type set to invoice and that needs to be copied over to a new project. (Setting billing is otherwise not allowed over the API.) This only has effect when the project is created.

Country string

Billing country

Deprecated: Please use aiven_billing_group resource to set this value.

CountryCode string

Billing country code of the project

Deprecated: Please use aiven_billing_group resource to set this value.

DefaultCloud string

Default cloud for new services

EstimatedBalance string

Estimated balance

PaymentMethod string

Payment method

Project string

defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.

TechnicalEmails []string

Technical contact emails of the project

VatId string

EU VAT Identification Number

Deprecated: Please use aiven_billing_group resource to set this value.

accountId string

is an optional property to link a project to already an existing account by using account ID.

availableCredits string

Available credits

billingAddress string

Billing name and address of the project

Deprecated: Please use aiven_billing_group resource to set this value.

billingCurrency string

Billing currency

Deprecated: Please use aiven_billing_group resource to set this value.

billingEmails string[]

Billing contact emails of the project

Deprecated: Please use aiven_billing_group resource to set this value.

billingExtraText string

Extra text to be included in all project invoices, e.g. purchase order or cost center number

Deprecated: Please use aiven_billing_group resource to set this value.

billingGroup string

Billing group Id

caCert string

is a computed property that can be used to read the CA certificate of the project. This is required for configuring clients that connect to certain services like Kafka. This value cannot be set, only read.

cardId string

is either the full card UUID or the last 4 digits of the card. As the full UUID is not shown in the UI it is typically easier to use the last 4 digits to identify the card. This can be omitted if copy_from_project is used to copy billing info from another project.

Deprecated: Please use aiven_billing_group resource to set this value.

copyFromProject string

is the name of another project used to copy billing information and some other project attributes like technical contacts from. This is mostly relevant when an existing project has billing type set to invoice and that needs to be copied over to a new project. (Setting billing is otherwise not allowed over the API.) This only has effect when the project is created.

country string

Billing country

Deprecated: Please use aiven_billing_group resource to set this value.

countryCode string

Billing country code of the project

Deprecated: Please use aiven_billing_group resource to set this value.

defaultCloud string

Default cloud for new services

estimatedBalance string

Estimated balance

paymentMethod string

Payment method

project string

defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.

technicalEmails string[]

Technical contact emails of the project

vatId string

EU VAT Identification Number

Deprecated: Please use aiven_billing_group resource to set this value.

account_id str

is an optional property to link a project to already an existing account by using account ID.

available_credits str

Available credits

billing_address str

Billing name and address of the project

Deprecated: Please use aiven_billing_group resource to set this value.

billing_currency str

Billing currency

Deprecated: Please use aiven_billing_group resource to set this value.

billing_emails Sequence[str]

Billing contact emails of the project

Deprecated: Please use aiven_billing_group resource to set this value.

billing_extra_text str

Extra text to be included in all project invoices, e.g. purchase order or cost center number

Deprecated: Please use aiven_billing_group resource to set this value.

billing_group str

Billing group Id

ca_cert str

is a computed property that can be used to read the CA certificate of the project. This is required for configuring clients that connect to certain services like Kafka. This value cannot be set, only read.

card_id str

is either the full card UUID or the last 4 digits of the card. As the full UUID is not shown in the UI it is typically easier to use the last 4 digits to identify the card. This can be omitted if copy_from_project is used to copy billing info from another project.

Deprecated: Please use aiven_billing_group resource to set this value.

copy_from_project str

is the name of another project used to copy billing information and some other project attributes like technical contacts from. This is mostly relevant when an existing project has billing type set to invoice and that needs to be copied over to a new project. (Setting billing is otherwise not allowed over the API.) This only has effect when the project is created.

country str

Billing country

Deprecated: Please use aiven_billing_group resource to set this value.

country_code str

Billing country code of the project

Deprecated: Please use aiven_billing_group resource to set this value.

default_cloud str

Default cloud for new services

estimated_balance str

Estimated balance

payment_method str

Payment method

project str

defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.

technical_emails Sequence[str]

Technical contact emails of the project

vat_id str

EU VAT Identification Number

Deprecated: Please use aiven_billing_group resource to set this value.

Package Details

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