We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am not able to create indexes for multiple collections in a loop, have to call/create a separate resource for each index
We must be able to create indexes in a loop for multiple collections.
Instead of taking the url as part of provider, can we pass the collection_endpoint as part of the resource opensearch_index.
We are required to call the module individually for each collection endpoint, then it is working. module "aoss-index-1" { source = "./aoss-index" }
module "aoss-index-2" { source = "./aoss-index" }
This must work like below
module "aoss-index" { source = "./aoss-index" for_each = var.indexes }
The text was updated successfully, but these errors were encountered:
Catch All Triage - 1, 2, 3
Sorry, something went wrong.
No branches or pull requests
Is your feature request related to a problem?
I am not able to create indexes for multiple collections in a loop, have to call/create a separate resource for each index
What solution would you like?
We must be able to create indexes in a loop for multiple collections.
What alternatives have you considered?
Instead of taking the url as part of provider, can we pass the collection_endpoint as part of the resource opensearch_index.
Do you have any additional context?
We are required to call the module individually for each collection endpoint, then it is working.
module "aoss-index-1" {
source = "./aoss-index"
}
module "aoss-index-2" {
source = "./aoss-index"
}
This must work like below
module "aoss-index" {
source = "./aoss-index"
for_each = var.indexes
}
The text was updated successfully, but these errors were encountered: