Closed massimob76 closed 1 year ago
guess this is the same as in #61
guess this is the same as in #61
Oh I didn't noticed that issue. Yes it's the same issue of #61 since it was reopened. The PR should hopefully fix it.
[Untriage] Closing this duplicate of https://github.com/opensearch-project/terraform-provider-opensearch/issues/61, @massimob76 I have added a comment to your PR, please take a look. Thank you
What is the bug?
If aws_assume_role_arn is specified, but no profile is given, the provider will assume that the 'default' profile will assume the given role arn. This is not necessarily true, for instance if AWS credentials are specified via environment variables they should take the precedence and not force to use the 'default' profile.
How can one reproduce the bug?
and make sure that the AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN are set
What is the expected behavior?
No errors, since opensearch-build is allowed to assume opensearch-role
What is your host/environment?
Macbook Pro - MacOS Ventura 13.2
Do you have any screenshots?
Do you have any additional context?
Add any other context about the problem.