Skip to content

Commit 0e6da86

Browse files
Attach IAM roles to cluster regardless of setting a default role (#69)
1 parent fcbaa08 commit 0e6da86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ resource "aws_redshift_cluster" "this" {
101101
################################################################################
102102

103103
resource "aws_redshift_cluster_iam_roles" "this" {
104-
count = var.create && length(var.iam_role_arns) > 0 && var.default_iam_role_arn != null ? 1 : 0
104+
count = var.create && length(var.iam_role_arns) > 0 ? 1 : 0
105105

106106
cluster_identifier = aws_redshift_cluster.this[0].id
107107
iam_role_arns = var.iam_role_arns

0 commit comments

Comments
 (0)