Skip to content

Commit

Permalink
fix(depends_on): add missing role mapping dependencies (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
steveteuber authored Dec 5, 2023
1 parent 16dc531 commit c58cef1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions composable_index_template.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ resource "elasticsearch_composable_index_template" "composable_index_template" {

depends_on = [
elasticsearch_opensearch_roles_mapping.master_user_arn,
elasticsearch_opensearch_roles_mapping.master_user_name,
aws_route53_record.opensearch
]
}
1 change: 1 addition & 0 deletions index.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ resource "elasticsearch_index" "index" {

depends_on = [
elasticsearch_index_template.index_template,
elasticsearch_composable_index_template.composable_index_template,
elasticsearch_opensearch_ism_policy.ism_policy,
aws_route53_record.opensearch
]
Expand Down
1 change: 1 addition & 0 deletions index_template.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ resource "elasticsearch_index_template" "index_template" {

depends_on = [
elasticsearch_opensearch_roles_mapping.master_user_arn,
elasticsearch_opensearch_roles_mapping.master_user_name,
aws_route53_record.opensearch
]
}
1 change: 1 addition & 0 deletions ism_policy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ resource "elasticsearch_opensearch_ism_policy" "ism_policy" {

depends_on = [
elasticsearch_opensearch_roles_mapping.master_user_arn,
elasticsearch_opensearch_roles_mapping.master_user_name,
aws_route53_record.opensearch
]
}
1 change: 1 addition & 0 deletions roles.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ resource "elasticsearch_opensearch_role" "role" {

depends_on = [
elasticsearch_opensearch_roles_mapping.master_user_arn,
elasticsearch_opensearch_roles_mapping.master_user_name,
aws_route53_record.opensearch
]
}
Expand Down

0 comments on commit c58cef1

Please sign in to comment.