page_title | subcategory | description |
---|---|---|
nuodbaas_project Resource - nuodbaas |
Resource for managing NuoDB projects created using the DBaaS Control Plane |
Resource for managing NuoDB projects created using the DBaaS Control Plane
# A project with minimal configuration
resource "nuodbaas_project" "basic" {
organization = "org"
name = "basic"
sla = "dev"
tier = "n0.nano"
}
# A project with explicit configuration for various attributes
resource "nuodbaas_project" "proj" {
organization = "org"
name = "proj"
sla = "prod"
tier = "n0.nano"
labels = {
color = "blue"
flavor = "mild"
}
properties = {
product_version = "5.1"
tier_parameters = {
zone = "us-east"
group = "dev"
}
}
}
name
(String) The name of the projectorganization
(String) The organization that the project belongs tosla
(String) The SLA for the project. Cannot be updated once the project is created.tier
(String) The service tier for the project
labels
(Map of String) User-defined labels attached to the resource that can be used for filteringmaintenance
(Attributes) (see below for nested schema)properties
(Attributes) (see below for nested schema)
status
(Attributes) (see below for nested schema)
Optional:
is_disabled
(Boolean) Whether the project or database should be shutdown
Optional:
product_version
(String) The version/tag of the NuoDB image to use. For available tags, see https://hub.docker.com/r/nuodb/nuodb/tags. If omitted, the project version will be resolved based on the SLA and cluster configuration.tier_parameters
(Map of String) Opaque parameters supplied to project service tier.
Read-Only:
ca_pem
(String) The PEM-encoded certificate for SQL clients to verify database servers within the projectmessage
(String) Message summarizing the state of the projectready
(Boolean) Whether the project is readyshutdown
(Boolean) Whether the project and all of its databases have shutdownstate
(String) The state of the project:Available
- The project is availableCreating
- The project is being created and not yet availableModifying
- The project is being modifiedStopping
- Shutdown is in progress for this projectStopped
- The project and its databases have been stoppedExpired
- The project and its databases have expiredFailed
- The project has failed to achieve a usable stateDeleting
- The project has been marked for deletion, which is in progressRotatingCertificates
- TLS certificates rotation is in progress for this domain
Import is supported using the following syntax:
# An existing project can be imported by specifying the organization
# and project name, separated by "/"
terraform import nuodbaas_project.proj org/proj