Terraform resource for managing an AWS QuickSight Template Alias.
resource "aws_quicksight_template_alias" "example" {
alias_name = "example-alias"
template_id = aws_quicksight_template.test.template_id
template_version_number = aws_quicksight_template.test.version_number
}
The following arguments are required:
alias_name
- (Required, Forces new resource) Display name of the template alias.template_id
- (Required, Forces new resource) ID of the template.template_version_number
- (Required) Version number of the template.The following arguments are optional:
aws_account_id
- (Optional, Forces new resource) AWS account ID.This resource exports the following attributes in addition to the arguments above:
arn
- Amazon Resource Name (ARN) of the template alias.id
- A comma-delimited string joining AWS account ID, template ID, and alias name.In Terraform v1.5.0 and later, use an import
block to import QuickSight Template Alias using the AWS account ID, template ID, and alias name separated by a comma (,
). For example:
import {
to = aws_quicksight_template_alias.example
id = "123456789012,example-id,example-alias"
}
Using terraform import
, import QuickSight Template Alias using the AWS account ID, template ID, and alias name separated by a comma (,
). For example:
% terraform import aws_quicksight_template_alias.example 123456789012,example-id,example-alias