Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

host output variable empty #187

Open
egalev opened this issue Jan 5, 2023 · 3 comments
Open

host output variable empty #187

egalev opened this issue Jan 5, 2023 · 3 comments
Labels
bug 🐛 An issue with the system

Comments

@egalev
Copy link

egalev commented Jan 5, 2023

Describe the Bug

When reading the module.redis.host output it's empty, even though the resource was deployed successfully.

Expected Behavior

The value should have contained the cluster's endpoint host

  • OS: macOS 13.1
  • terraform-aws-elasticache-redis: 0.49.0
$ terraform version
Terraform v1.3.6
on darwin_arm64
+ provider registry.terraform.io/hashicorp/aws v4.21.0
+ provider registry.terraform.io/hashicorp/external v2.2.2
+ provider registry.terraform.io/hashicorp/local v2.2.3
+ provider registry.terraform.io/hashicorp/null v3.1.1
+ provider registry.terraform.io/hashicorp/random v3.1.0
@egalev egalev added the bug 🐛 An issue with the system label Jan 5, 2023
@egalev egalev changed the title host output variable empty host output variable empty Jan 24, 2023
@kristijorgji
Copy link

I am having the same issue. +1

Any update here?

@1sth1sth1ng0n
Copy link

+1. I would really like to be able to output the host address but the following output is empty. Is there a workaround here?

output "host" {
  value       = module.dns.hostname
  description = "Redis hostname"
}

@1sth1sth1ng0n
Copy link

Is the missing host value issue a limitation of this resource? https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticache_cluster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
Development

No branches or pull requests

3 participants