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
On an AWS Opensearch cluster (single node without dedicated masters and fine-grained access control enabled), the creation of an opensearch_snapshot_repository pointing to an S3 bucket fails with the following error:
elastic: Error 500 (Internal Server Error): [test] path is not accessible on cluster-manager node [type=repository_verification_exception]
To be noticed:
the repository is still properly created on the Opensearch cluster
the repository is full usable; I can take and restore snapshots on it without any errors
I can see the files being written to the S3 bucket
When I execute Terraform a 2nd time, this error don't occur anymore
How can one reproduce the bug?
Deploy a managed AWS Opensearch cluster (version 2.11, 1 data node without dedicated masters and fine-grained access control enabled)
Create a Snapshot repository using the Opensearch Terraform provider
resource"opensearch_snapshot_repository""snapshots" {
name="test"type="s3"settings={
bucket ="my-bucket"
region ="eu-west-3"
role_arn ="a role arn with the policies detailed below"
}
}
What is the bug?
On an AWS Opensearch cluster (single node without dedicated masters and fine-grained access control enabled), the creation of an
opensearch_snapshot_repository
pointing to an S3 bucket fails with the following error:To be noticed:
How can one reproduce the bug?
In addition, as mentioned in the aws documentation, the provider is assuming a role allowing to create the Snapshot repository:
The assumed role
What is the expected behavior?
No error thrown.
What is your host/environment?
AWS VPC
The text was updated successfully, but these errors were encountered: