Skip to content

Commit

Permalink
Fixup opensearch when using advanced security options (ansible-collec…
Browse files Browse the repository at this point in the history
…tions#1613)

Fixup opensearch when using advanced security options

Fix ansible-collections#1560

Reviewed-by: Markus Bergholz <[email protected]>
Reviewed-by: Alina Buzachis <None>
  • Loading branch information
gionn authored and abikouo committed Sep 18, 2023
1 parent 8f524f8 commit 9f20973
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions opensearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,7 @@ def set_advanced_security_options(
] = advanced_security_opts.get("internal_user_database_enabled")
master_user_opts = advanced_security_opts.get("master_user_options")
if master_user_opts is not None:
advanced_security_config.setdefault("MasterUserOptions", {})
if master_user_opts.get("master_user_arn") is not None:
advanced_security_config["MasterUserOptions"][
"MasterUserARN"
Expand Down

0 comments on commit 9f20973

Please sign in to comment.