Resource: aws_quicksight_theme

Resource for managing a QuickSight Theme.

Example Usage

Basic Usage

resource "aws_quicksight_theme" "example" {
  theme_id = "example"
  name     = "example"

  base_theme_id = "MIDNIGHT"

  configuration {
    data_color_palette {
      colors = [
        "#FFFFFF",
        "#111111",
        "#222222",
        "#333333",
        "#444444",
        "#555555",
        "#666666",
        "#777777",
        "#888888",
        "#999999"
      ]
      empty_fill_color = "#FFFFFF"
      min_max_gradient = [
        "#FFFFFF",
        "#111111",
      ]
    }
  }
}

Argument Reference

The following arguments are required:

The following arguments are optional:

permissions

configuration

data_color_palette

sheet

tile

border

tile_layout

gutter

margin

typography

font_families

ui_color_palette

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Timeouts

Configuration options:

Import

In Terraform v1.5.0 and later, use an import block to import a QuickSight Theme using the AWS account ID and theme ID separated by a comma (,). For example:

import {
  to = aws_quicksight_theme.example
  id = "123456789012,example-id"
}

Using terraform import, import a QuickSight Theme using the AWS account ID and theme ID separated by a comma (,). For example:

% terraform import aws_quicksight_theme.example 123456789012,example-id