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

provider/aws elasticache parameter group #2276

Conversation

SamClinckspoor
Copy link
Contributor

Implements aws_elasticache_parameter_group

This almost a 1/1 copy of aws_db_parameter_group

vagrant@vagrant:/opt/gopath/src/github.com/hashicorp/terraform$ make test TEST=./builtin/providers/aws
go generate ./...
TF_ACC= go test ./builtin/providers/aws  -timeout=30s -parallel=4
ok      github.com/hashicorp/terraform/builtin/providers/aws    0.032s
make[1]: Entering directory `/opt/gopath/src/github.com/hashicorp/terraform'
go tool vet -asmdecl -atomic -bool -buildtags -copylocks -methods -nilfunc -printf -rangeloops -shift -structtags -unsafeptr .
make[1]: Leaving directory `/opt/gopath/src/github.com/hashicorp/terraform'


vagrant@vagrant:/opt/gopath/src/github.com/hashicorp/terraform$ make testacc TEST=./builtin/providers/aws TESTARGS='-run=ElasticacheParameterGroup' 2>/dev/null
go generate ./...
TF_ACC=1 go test ./builtin/providers/aws -v -run=ElasticacheParameterGroup -timeout 90m
=== RUN TestAccAWSElasticacheParameterGroup_basic
--- PASS: TestAccAWSElasticacheParameterGroup_basic (9.21s)
=== RUN TestAccAWSElasticacheParameterGroupOnly
--- PASS: TestAccAWSElasticacheParameterGroupOnly (4.61s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/aws    13.846s

@SamClinckspoor SamClinckspoor changed the title Resource aws elasticache parameter group provider/aws elasticache parameter group Jun 8, 2015
if elasticahceerr.Code() != "CacheParameterGroupNotFoundFault" {
return d, "error", err
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if ok here, but not Code() != "CacheParameterGroupNotFoundFault", we fall through to return d, "destroyed", nil , yeah?

We should probably re-write this that if ok do the Code() check, otherwise return return d, "error", err

@catsby
Copy link
Contributor

catsby commented Jun 26, 2015

1 nitpick, otherwise 👍

@catsby catsby added the waiting-response An issue/pull request is waiting for a response from the community label Jun 26, 2015
@SamClinckspoor
Copy link
Contributor Author

@catsby added your suggestion.

@catsby
Copy link
Contributor

catsby commented Jun 26, 2015

LGTM, I took it for a spin before hand so I'm going to go ahead and merge, thanks!

catsby added a commit that referenced this pull request Jun 26, 2015
…-parameter-group

provider/aws elasticache parameter group
@catsby catsby merged commit 079e450 into hashicorp:master Jun 26, 2015
@SamClinckspoor SamClinckspoor deleted the resource-aws-elasticache-parameter-group branch June 28, 2015 17:14
@ghost
Copy link

ghost commented May 1, 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 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.

@ghost ghost locked and limited conversation to collaborators May 1, 2020
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement provider/aws waiting-response An issue/pull request is waiting for a response from the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants