You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be not a bug but some misconfiguration...
I am trying to register snapshot repository using resource "opensearch_snapshot_repository" as per documentation 1 and 2.
But I keep getting the following error.
opensearch_snapshot_repository.index_backups: Creating...
│ Error: HTTP 403 Forbidden: Permission denied. Please ensure that the correct credentials are being used to access the cluster.
However, I can successfully register snapshot repository with the following curl command using exactly the same IAM credentials.
This likely means that there might be a difference in how the requests are being authenticated.
The --aws-sigv4 option in the curl command ensures that the request is properly signed using AWS Signature Version 4.
I am not sure how to achieve it with Terraform.
What is the bug?
It might be not a bug but some misconfiguration...
I am trying to register snapshot repository using resource "opensearch_snapshot_repository" as per documentation 1 and 2.
But I keep getting the following error.
However, I can successfully register snapshot repository with the following curl command using exactly the same IAM credentials.
This likely means that there might be a difference in how the requests are being authenticated.
The
--aws-sigv4
option in thecurl
command ensures that the request is properly signed using AWS Signature Version 4.I am not sure how to achieve it with Terraform.
How can one reproduce the bug?
I use the following configuration for Terraform in addition to the required resources related to roles, policies, etc.
What is the expected behavior?
Snapshot repository is successfully registered.
What is your host/environment?
Ubuntu 22.04.5 LTS
The text was updated successfully, but these errors were encountered: