#help - November 2023

5 messages

Where to get help about getting help!

November 2023
Lee Whalen
Lee Whalenabout 3 years ago
Hi there. I am attempting to use your Elasticsearch module in vain. It will not tell me what is wrong other than:
 Error: invalid value for domain_name (must start with a lowercase alphabet and be at least 3 and no more than 28 characters long. Valid characters are a-z (lowercase letters), 0-9, and - (hyphen).)
│ 
│   with module.elasticsearch.aws_elasticsearch_domain.default[0],
│   on .terraform/modules/elasticsearch/main.tf line 108, in resource "aws_elasticsearch_domain" "default":
│  108:   domain_name           = module.this.id

And I cannot override that module.this.id with something valid
Lee Whalen
Lee Whalenabout 3 years ago
I'm calling the elasticsearch module with:
module "elasticsearch" {
  source = "cloudposse/elasticsearch/aws"
  
  version = "0.46.0"
  namespace               = "somecorp"
  stage                   = "production"
  name                    = "elasticsearch-production"
  vpc_id                  = data.aws_vpc.selected.id
  subnet_ids              = data.aws_subnets.private_vpc_subnets.ids
  zone_awareness_enabled  = true
  elasticsearch_version   = "7.10"
  instance_type           = "r6gd.large.search"
  instance_count          = 3
  ebs_volume_size         = 100
  encrypt_at_rest_enabled = true

  advanced_options = {
    "rest.action.multi.allow_explicit_index" = "true"
  }
}
jaysun
jaysunalmost 3 years ago
artifactory doesn't have a retention policy for artifacts?! that seems crazy
jaysun
jaysunalmost 3 years ago
how do i clean out stuff that's X amount of time old?
Salvador Montiel
Salvador Montielalmost 3 years ago
Hi, team!
I recently joined because I created a PR