Skip to content
New issue

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

[BUG] The provider does not get the url #131

Closed
ashraf133 opened this issue Nov 21, 2023 · 0 comments
Closed

[BUG] The provider does not get the url #131

ashraf133 opened this issue Nov 21, 2023 · 0 comments
Labels
bug Something isn't working untriaged

Comments

@ashraf133
Copy link

ashraf133 commented Nov 21, 2023

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 {

aws = {

  source  = "hashicorp/aws"
  version = "5.23.1"
}
opensearch = {
  source  = "opensearch-project/opensearch"
  version = "2.1.0"
}

}
}
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

@ashraf133 ashraf133 added bug Something isn't working untriaged labels Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged
Projects
None yet
Development

No branches or pull requests

1 participant