1. Packages
  2. Scaleway
  3. API Docs
  4. account
  5. Project
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse

scaleway.account.Project

Explore with Pulumi AI

Import

Projects can be imported using the id argument, as shown below:

bash

$ pulumi import scaleway:account/project:Project project 11111111-1111-1111-1111-111111111111
Copy

Create Project Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Project(name: string, args?: ProjectArgs, opts?: CustomResourceOptions);
@overload
def Project(resource_name: str,
            args: Optional[ProjectArgs] = None,
            opts: Optional[ResourceOptions] = None)

@overload
def Project(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            organization_id: Optional[str] = None)
func NewProject(ctx *Context, name string, args *ProjectArgs, opts ...ResourceOption) (*Project, error)
public Project(string name, ProjectArgs? args = null, CustomResourceOptions? opts = null)
public Project(String name, ProjectArgs args)
public Project(String name, ProjectArgs args, CustomResourceOptions options)
type: scaleway:account:Project
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. 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 This property is required. str
The unique name of the resource.
args ProjectArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. 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 This property is required. string
The unique name of the resource.
args ProjectArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ProjectArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var projectResource = new Scaleway.Account.Project("projectResource", new()
{
    Description = "string",
    Name = "string",
    OrganizationId = "string",
});
Copy
example, err := account.NewProject(ctx, "projectResource", &account.ProjectArgs{
	Description:    pulumi.String("string"),
	Name:           pulumi.String("string"),
	OrganizationId: pulumi.String("string"),
})
Copy
var projectResource = new Project("projectResource", ProjectArgs.builder()
    .description("string")
    .name("string")
    .organizationId("string")
    .build());
Copy
project_resource = scaleway.account.Project("projectResource",
    description="string",
    name="string",
    organization_id="string")
Copy
const projectResource = new scaleway.account.Project("projectResource", {
    description: "string",
    name: "string",
    organizationId: "string",
});
Copy
type: scaleway:account:Project
properties:
    description: string
    name: string
    organizationId: string
Copy

Project Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Project resource accepts the following input properties:

Description string
The description of the Project.
Name string
The name of the Project.
OrganizationId Changes to this property will trigger replacement. string
organization_id)The organization ID the Project is associated with. Any change made to the organization_id will recreate the resource.
Description string
The description of the Project.
Name string
The name of the Project.
OrganizationId Changes to this property will trigger replacement. string
organization_id)The organization ID the Project is associated with. Any change made to the organization_id will recreate the resource.
description String
The description of the Project.
name String
The name of the Project.
organizationId Changes to this property will trigger replacement. String
organization_id)The organization ID the Project is associated with. Any change made to the organization_id will recreate the resource.
description string
The description of the Project.
name string
The name of the Project.
organizationId Changes to this property will trigger replacement. string
organization_id)The organization ID the Project is associated with. Any change made to the organization_id will recreate the resource.
description str
The description of the Project.
name str
The name of the Project.
organization_id Changes to this property will trigger replacement. str
organization_id)The organization ID the Project is associated with. Any change made to the organization_id will recreate the resource.
description String
The description of the Project.
name String
The name of the Project.
organizationId Changes to this property will trigger replacement. String
organization_id)The organization ID the Project is associated with. Any change made to the organization_id will recreate the resource.

Outputs

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

CreatedAt string
The creation time of the Project.
Id string
The provider-assigned unique ID for this managed resource.
UpdatedAt string
The last update time of the Project.
CreatedAt string
The creation time of the Project.
Id string
The provider-assigned unique ID for this managed resource.
UpdatedAt string
The last update time of the Project.
createdAt String
The creation time of the Project.
id String
The provider-assigned unique ID for this managed resource.
updatedAt String
The last update time of the Project.
createdAt string
The creation time of the Project.
id string
The provider-assigned unique ID for this managed resource.
updatedAt string
The last update time of the Project.
created_at str
The creation time of the Project.
id str
The provider-assigned unique ID for this managed resource.
updated_at str
The last update time of the Project.
createdAt String
The creation time of the Project.
id String
The provider-assigned unique ID for this managed resource.
updatedAt String
The last update time of the Project.

Look up 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,
        created_at: Optional[str] = None,
        description: Optional[str] = None,
        name: Optional[str] = None,
        organization_id: Optional[str] = None,
        updated_at: 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)
public static Project get(String name, Output<String> id, ProjectState state, CustomResourceOptions options)
resources:  _:    type: scaleway:account:Project    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
CreatedAt string
The creation time of the Project.
Description string
The description of the Project.
Name string
The name of the Project.
OrganizationId Changes to this property will trigger replacement. string
organization_id)The organization ID the Project is associated with. Any change made to the organization_id will recreate the resource.
UpdatedAt string
The last update time of the Project.
CreatedAt string
The creation time of the Project.
Description string
The description of the Project.
Name string
The name of the Project.
OrganizationId Changes to this property will trigger replacement. string
organization_id)The organization ID the Project is associated with. Any change made to the organization_id will recreate the resource.
UpdatedAt string
The last update time of the Project.
createdAt String
The creation time of the Project.
description String
The description of the Project.
name String
The name of the Project.
organizationId Changes to this property will trigger replacement. String
organization_id)The organization ID the Project is associated with. Any change made to the organization_id will recreate the resource.
updatedAt String
The last update time of the Project.
createdAt string
The creation time of the Project.
description string
The description of the Project.
name string
The name of the Project.
organizationId Changes to this property will trigger replacement. string
organization_id)The organization ID the Project is associated with. Any change made to the organization_id will recreate the resource.
updatedAt string
The last update time of the Project.
created_at str
The creation time of the Project.
description str
The description of the Project.
name str
The name of the Project.
organization_id Changes to this property will trigger replacement. str
organization_id)The organization ID the Project is associated with. Any change made to the organization_id will recreate the resource.
updated_at str
The last update time of the Project.
createdAt String
The creation time of the Project.
description String
The description of the Project.
name String
The name of the Project.
organizationId Changes to this property will trigger replacement. String
organization_id)The organization ID the Project is associated with. Any change made to the organization_id will recreate the resource.
updatedAt String
The last update time of the Project.

Package Details

Repository
scaleway pulumiverse/pulumi-scaleway
License
Apache-2.0
Notes
This Pulumi package is based on the scaleway Terraform Provider.