File tree 2 files changed +28
-0
lines changed
2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1
1
2
+ # # Provision enterprise quicksight if enabled
3
+ resource "aws_quicksight_account_subscription" "subscription" {
4
+ count = var. enable_quicksight_enterprise ? 1 : 0
5
+
6
+ account_name = var. enterprise_account_name
7
+ authentication_method = " IAM_AND_QUICKSIGHT"
8
+ edition = " ENTERPRISE"
9
+ notification_email = var. enterprise_email
10
+ }
11
+
2
12
# # Provision a SAML identity provider in the data collection account - this will be
3
13
# # used to authenticate sso users into quicksights
4
14
resource "aws_iam_saml_provider" "saml" {
Original file line number Diff line number Diff line change @@ -4,6 +4,24 @@ variable "tags" {
4
4
type = map (string )
5
5
}
6
6
7
+ variable "enable_quicksight_enterprise" {
8
+ description = " Enable QuickSight Enterprise edition"
9
+ type = bool
10
+ default = false
11
+ }
12
+
13
+ variable "enterprise_email" {
14
+ description = " The email address for the QuickSight Enterprise edition"
15
+ type = string
16
+ default = null
17
+ }
18
+
19
+ variable "enterprise_account_name" {
20
+ description = " The account name for the QuickSight Enterprise edition"
21
+ type = string
22
+ default = null
23
+ }
24
+
7
25
variable "stacks_bucket_name" {
8
26
description = " The name of the bucket to store the CloudFormation templates"
9
27
type = string
You can’t perform that action at this time.
0 commit comments