-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
r/elasticache_parameter_group: Add StateFunc to make name lowercase #2426
Conversation
Thanks for the bugfix @atsushi-ishibashi Do you mind attaching an acceptance test with |
|
func testAccAWSElasticacheParameterGroupConfig_UppercaseName(rName string) string { | ||
return fmt.Sprintf(` | ||
resource "aws_elasticache_parameter_group" "bar" { | ||
name = "%s" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: do you mind fixing the indentation to 2 spaces? thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks very good to me! Thanks for the whole work here, as always! :)
$ make testacc TEST=./aws TESTARGS='-run=TestAccAWSElasticacheParameterGroup_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -run=TestAccAWSElasticacheParameterGroup_ -timeout 120m
=== RUN TestAccAWSElasticacheParameterGroup_importBasic
--- PASS: TestAccAWSElasticacheParameterGroup_importBasic (33.34s)
=== RUN TestAccAWSElasticacheParameterGroup_basic
--- PASS: TestAccAWSElasticacheParameterGroup_basic (57.50s)
=== RUN TestAccAWSElasticacheParameterGroup_only
--- PASS: TestAccAWSElasticacheParameterGroup_only (30.87s)
=== RUN TestAccAWSElasticacheParameterGroup_removeParam
--- PASS: TestAccAWSElasticacheParameterGroup_removeParam (54.40s)
=== RUN TestAccAWSElasticacheParameterGroup_UppercaseName
--- PASS: TestAccAWSElasticacheParameterGroup_UppercaseName (33.17s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 209.315s
…ashicorp#2426) * Add statefunc to make lowercase * Add acceptance test * Use 2 spaces instead of indentation
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! |
Fixed: #2139