Code Monkey home page Code Monkey logo

Comments (8)

lgallard avatar lgallard commented on June 23, 2024 2

Set the create_service_link_role variable to false for the additional AWS ElasticSearch clusters.


module "aws_es2" {

  source  = "lgallard/elasticsearch/aws"
  version = "0.3.0"
 
  domain_name              = var.es_domain_name2
  elasticsearch_version    = var.es_version
  create_service_link_role = false

...
}

from terraform-aws-elasticsearch.

lgallard avatar lgallard commented on June 23, 2024

@stormlcc are you deploying several AWS ElasticSearch in the same account? I tried to include a custom prefix using the custom_prefix property as described in the resource documentation for Service Roles, but some services don't support it like AWS ElasticSearch Service :(

from terraform-aws-elasticsearch.

stormlcc avatar stormlcc commented on June 23, 2024

@lgallard yeah i already have 1 AWS Elasticsearch deployed. I want to deploy another 1 in the same account.
There are others who encountered the same problem (albeit from a different codebase) such as this:
https://github.com/cloudposse/terraform-aws-elasticsearch/issues/5
I prefer using yours because it is well defined and not too complicated for me to modify it.

Thanks!

from terraform-aws-elasticsearch.

lgallard avatar lgallard commented on June 23, 2024

@stormlcc I'm working in the fix!

from terraform-aws-elasticsearch.

lgallard avatar lgallard commented on June 23, 2024

@stormlcc version 0.3.0 has the fix.

from terraform-aws-elasticsearch.

stormlcc avatar stormlcc commented on June 23, 2024

@lgallard
Thank you very much! Tested it and verified that it works perfectly.

from terraform-aws-elasticsearch.

lgallard avatar lgallard commented on June 23, 2024

@stormlcc for reporting the issue and your feedback!

from terraform-aws-elasticsearch.

simonweil avatar simonweil commented on June 23, 2024

I got this too just now...
@lgallard, perhaps you can add a note about it in the readme so the solution is more prominent?

from terraform-aws-elasticsearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.