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

aws_elasticache_parameter_group Upper case letters throws exception #2139

Closed
forestjohnsonpeoplenet opened this issue Nov 1, 2017 · 2 comments · Fixed by #2426
Closed

aws_elasticache_parameter_group Upper case letters throws exception #2139

forestjohnsonpeoplenet opened this issue Nov 1, 2017 · 2 comments · Fixed by #2426
Labels
bug Addresses a defect in current functionality.

Comments

@forestjohnsonpeoplenet
Copy link

forestjohnsonpeoplenet commented Nov 1, 2017

Terraform Version

fjohnson@fjohnson-Latitude-E6540:~/Desktop/test$ ~/Desktop/programs/terraform version
Terraform v0.10.8

Affected Resource(s)

  • aws_elasticache_parameter_group

Terraform Configuration Files

resource "aws_elasticache_parameter_group" "redis_parameter_group" {
    name                        = "BUG"
    family                      = "redis3.2"
}

Debug Output

https://gist.github.com/forestjohnsonpeoplenet/d6c0b0d750bde4ee0b88846d7030e79f

Expected Behavior

The aws_elasticache_parameter_group entity in the TFState file should have an all lowercase name even if the user enters upper case characters.

Actual Behavior

AWS lowercased the name but terraform did not. Then terraform got confused and errored out.

Steps to Reproduce

  1. terraform apply

Note that if you start fresh (delete the TFState) and rename it to "bug" rather than "BUG" it will work.

@forestjohnsonpeoplenet
Copy link
Author

what aws looks like after running apply

image

@ghost
Copy link

ghost commented Apr 10, 2020

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality.
Projects
None yet
2 participants