Closed ashraf133 closed 9 months ago
i have this message : │ The argument "url" is required, but was not set.
run terraform apply with this configurations
` terraform {
required_providers {
aws = { source = "hashicorp/aws" version = "5.23.1" } opensearch = { source = "opensearch-project/opensearch" version = "2.1.0" }
} } provider declaration : provider "opensearch" {
provider declaration :
url = "https://${aws_opensearch_domain.opensearch.endpoint}"
aws_region = var.Region
healthcheck = false
aws_assume_role_arn = var.master_user_arn
opensearch_version = aws_opensearch_domain.opensearch.engine_version
}
`
Plan: 12 to add, 0 to change, 0 to destroy. ╷ │ Error: Missing required argument │ │ The argument "url" is required, but was not set. `
the expected behaviour is creating resources
i use Opensearch 2.3 and opensearch-project/opensearch 2.1.0
What is the bug?
i have this message : │ The argument "url" is required, but was not set.
How can one reproduce the bug?
run terraform apply with this configurations
` terraform {
required_providers {
} }
provider declaration :
provider "opensearch" {url = "https://${aws_opensearch_domain.opensearch.endpoint}"
aws_region = var.Region
healthcheck = false
aws_assume_role_arn = var.master_user_arn
opensearch_version = aws_opensearch_domain.opensearch.engine_version
}
`
Plan: 12 to add, 0 to change, 0 to destroy. ╷ │ Error: Missing required argument │ │ The argument "url" is required, but was not set. `
What is the expected behavior?
the expected behaviour is creating resources
What is your host/environment?
i use Opensearch 2.3 and opensearch-project/opensearch 2.1.0