scalr_storage_profile

Data Source: scalr_storage_profile

Retrieves information about storage profile.

Example Usage

data "scalr_storage_profile" "example_sp" {
  name = "my-storage-profile"
}

data "scalr_storage_profile" "default_sp" {
  default = true
}

Schema

Optional

  • default (Boolean) The default storage profile.
  • id (String) The ID of this resource.
  • name (String) Name of the storage profile.

Read-Only

  • aws_s3 (Block List) Settings for the AWS S3 storage profile. (see below for nested schema)
  • azurerm (Block List) Settings for the AzureRM storage profile. (see below for nested schema)
  • created_at (String) The resource creation timestamp.
  • error_message (String) The last error description, when these settings doesn't work properly.
  • google (Block List) Settings for the Google storage profile. (see below for nested schema)
  • updated_at (String) The resource last update timestamp.

Nested Schema for aws_s3

Read-Only:

  • audience (String) The value of the aud claim for the identity token.
  • bucket_name (String) AWS S3 Storage bucket name.
  • region (String) AWS S3 bucket region.
  • role_arn (String) Amazon Resource Name (ARN) of the IAM Role to assume.

Nested Schema for azurerm

Read-Only:

  • audience (String) Azure audience for authentication.
  • client_id (String) Azure client ID for authentication.
  • container_name (String) Azure storage container name.
  • storage_account (String) Azure storage account name.
  • tenant_id (String) Azure tenant ID for authentication.

Nested Schema for google

Read-Only:

  • credentials (String, Sensitive) Service Account JSON key.
  • encryption_key (String, Sensitive) Customer supplied encryption key.
  • project (String) Google Cloud project ID.
  • storage_bucket (String) Google Storage bucket name.