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
I didn't dig too deep into this issue, so there is also a chance that I simply used the wrong command.
My setup is the following I have one workspace where I manage two Opensearch clusters. My task is basically moving the configuration and module from A to B.
However, I was not able to successfulle import any of the aws_elasticsearch_domain_policy with: terraform import aws_elasticsearch_domain_policy.example domain_name as indicated in hashicorp/terraform-provider-aws#22691
Also I was not able to differentiate between the two snapshot repository configurations: terraform import 'module.opensearch-A.elasticsearch_snapshot_repository.repo[0]' 's3-name' and terraform import 'module.opensearch-B.elasticsearch_snapshot_repository.repo[0]' 's3-name'
resulted in having the same snapshot repository imported instead of separate ones. I found no way to differentiate between the two ressources.
The same happened to role mappings.
Probably I missed something but I would be greatful for any advice,
Thanks!
The text was updated successfully, but these errors were encountered:
I didn't dig too deep into this issue, so there is also a chance that I simply used the wrong command.
My setup is the following I have one workspace where I manage two Opensearch clusters. My task is basically moving the configuration and module from A to B.
However, I was not able to successfulle import any of the aws_elasticsearch_domain_policy with:
terraform import aws_elasticsearch_domain_policy.example domain_name
as indicated in hashicorp/terraform-provider-aws#22691Also I was not able to differentiate between the two snapshot repository configurations:
terraform import 'module.opensearch-A.elasticsearch_snapshot_repository.repo[0]' 's3-name'
andterraform import 'module.opensearch-B.elasticsearch_snapshot_repository.repo[0]' 's3-name'
resulted in having the same snapshot repository imported instead of separate ones. I found no way to differentiate between the two ressources.
The same happened to role mappings.
Probably I missed something but I would be greatful for any advice,
Thanks!
The text was updated successfully, but these errors were encountered: