terraform-provider-stackitp.../docs/data-sources/mariadb_instance.md
Henrique Santos 4e8514df00
Logging and error handling improvements, bug fixes (#21)
- Uniformed logs and diagnostics:
  - Logging and adding to diagnostics is done by the highest level function (Create/Read/Update/Delete/Import) using `LogAndAddError`
  - Lower-level routines' signature changed to return error instead of writing to diagnostics
  - Standardize summary and details across services
  - Removed manual adding of relevant variables to details (they're in the context, TF adds them to logs)
- Changed validators to be closer to official implementation
- Fix logging wrong output after wait
- Fix Argus checking wrong diagnostics
- Fix Resource Manager not updating state after project update
- Fix unnecessary pointer in LogAndAddError
2023-09-21 14:52:52 +01:00

1.3 KiB

page_title subcategory description
stackit_mariadb_instance Data Source - stackit MariaDB instance data source schema.

stackit_mariadb_instance (Data Source)

MariaDB instance data source schema.

Example Usage

data "stackit_mariadb_instance" "example" {
  project_id  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Schema

Required

  • instance_id (String) ID of the MariaDB instance.
  • project_id (String) STACKIT Project ID to which the instance is associated.

Read-Only

  • cf_guid (String)
  • cf_organization_guid (String)
  • cf_space_guid (String)
  • dashboard_url (String)
  • id (String) Terraform's internal resource identifier. It is structured as "project_id,instance_id".
  • image_url (String)
  • name (String) Instance name.
  • parameters (Attributes) (see below for nested schema)
  • plan_id (String) The selected plan ID.
  • plan_name (String) The selected plan name.
  • version (String) The service version.

Nested Schema for parameters

Read-Only:

  • sgw_acl (String)