terraform-community-modules / tf_aws_elasticsearch

[DEPRECATED] Use https://github.com/terraform-aws-modules/terraform-aws-opensearch
MIT License
79 stars 97 forks source link

'aws_elasticsearch_domain.es_vpc' not found #16

Open FernandoMiguel opened 5 years ago

FernandoMiguel commented 5 years ago

* module.elasticsearch.data.aws_iam_policy_document.es_vpc_management_access: Resource 'aws_elasticsearch_domain.es_vpc' not found for variable 'aws_elasticsearch_domain.es_vpc.arn'

module "elasticsearch" {
  source      = "github.com/terraform-community-modules/tf_aws_elasticsearch?ref=v0.1.0"
  domain_name = "elasticsearch-domain-${random_pet.random_pet_dev.id}"

  vpc_options = {
    security_group_ids = ["${module.app_elasticsearch_sg.this_security_group_id}"]
    subnet_ids = ["${module.vpc.private_subnets}"]
  }
FernandoMiguel commented 5 years ago

Terraform v0.11.10