hashicorp / terraform

Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
https://www.terraform.io/
Other
42.59k stars 9.54k forks source link

Missing auth-token parameter for aws_elasticache_cluster #17797

Closed mitpwd closed 6 years ago

mitpwd commented 6 years ago

Expected Behavior

Actual Behavior

Error msg: invalid or unknown key: auth-token

Steps to Reproduce

  1. tf code:

`resource "aws_elasticache_cluster" "app-elasticache-redis-cluster" { cluster_id = "env-app-redis" engine = "redis" node_type = "cache.t2.small" num_cache_nodes = 1 maintenance_window = "thu:02:00-thu:04:00" subnet_group_name = "${aws_elasticache_subnet_group.app_redis_subnet_group.name}"

security_group_names =

security_group_ids = ["${aws_security_group.app_sg.id}"] apply_immediately = true auth-token = "somerandomkeyMKdw>N3>$5&F5#aa3"

parameter_group_name = "default.redis3.2" port = 6379 } }`

  1. terraform init
  2. terraform apply

References

Reference to AWS Documentation: https://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/auth.html

ghost commented 6 years ago

This issue has been automatically migrated to terraform-providers/terraform-provider-aws#4105 because it looks like an issue with that provider. If you believe this is not an issue with the provider, please reply to terraform-providers/terraform-provider-aws#4105.

ghost commented 4 years ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.