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
This have ERRORS:
╷
│ Error: {"ok":false,"message":"The requested resource could not be found."}
│
│ with module.cache.ec_snapshot_repository.repositories["es_backup"],
│ /main.tf line 561, in resource "ec_snapshot_repository" "repositories":
│ 561: resource "ec_snapshot_repository" "repositories" {
│
│ {"ok":false,"message":"The requested resource could not be found."}
Question:
How to reference to the resource itself the deployment?
I'm expecting that in the end I would have the repositories itself created inside Elastic Deployment.
Hi,
I'm trying to create multiple repositories within elastic with the following resource:
resource "ec_snapshot_repository" "repositories" { for_each = local.repositories name = each.value.name s3 = { bucket = each.value.name access_key = each.value.access_key secret_key = each.value.secret_key region = var.region } }
This have ERRORS:
╷
│ Error: {"ok":false,"message":"The requested resource could not be found."}
│
│ with module.cache.ec_snapshot_repository.repositories["es_backup"],
│ /main.tf line 561, in resource "ec_snapshot_repository" "repositories":
│ 561: resource "ec_snapshot_repository" "repositories" {
│
│ {"ok":false,"message":"The requested resource could not be found."}
Question:
How to reference to the resource itself the deployment?
I'm expecting that in the end I would have the repositories itself created inside Elastic Deployment.
I succeeded into creating the repositories + policies in a shell script as per docs:
https://github.com/elastic/terraform-provider-ec/blob/master/examples/deployment_with_init/es_config.sh
Best regards
The text was updated successfully, but these errors were encountered: