Skip to content

Commit

Permalink
fix: Fix the condition of the logical operators of master_user_name
Browse files Browse the repository at this point in the history
… and `master_user_password` (#4)
  • Loading branch information
sshcokr authored Apr 9, 2024
1 parent 506d93e commit fa811d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ resource "aws_opensearch_domain" "this" {

content {
master_user_arn = try(master_user_options.value.master_user_arn, null) == null ? try(master_user_options.value.master_user_arn, data.aws_iam_session_context.current[0].issuer_arn) : null
master_user_name = try(master_user_options.value.master_user_name, null) == null ? try(master_user_options.value.master_user_name, null) : null
master_user_password = try(master_user_options.value.master_user_password, null) == null ? try(master_user_options.value.master_user_password, null) : null
master_user_name = try(master_user_options.value.master_user_arn, null) == null ? try(master_user_options.value.master_user_name, null) : null
master_user_password = try(master_user_options.value.master_user_arn, null) == null ? try(master_user_options.value.master_user_password, null) : null
}
}
}
Expand Down

0 comments on commit fa811d2

Please sign in to comment.