-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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: Added Usage Plan Key resource #12851
provider/aws: Added Usage Plan Key resource #12851
Conversation
92de095
to
f10fc5d
Compare
fba488b
to
bbbdb39
Compare
All ok on from my point of view :) $ make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSAPIGatewayUsagePlanKey_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/03/20 11:22:27 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSAPIGatewayUsagePlanKey_ -timeout 120m
=== RUN TestAccAWSAPIGatewayUsagePlanKey_importBasic
--- PASS: TestAccAWSAPIGatewayUsagePlanKey_importBasic (34.99s)
=== RUN TestAccAWSAPIGatewayUsagePlanKey_basic
--- PASS: TestAccAWSAPIGatewayUsagePlanKey_basic (179.37s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 214.389s |
bbbdb39
to
eac7b15
Compare
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.
Hi @Ninir
The work looks good - I am questioning the import though. The Read func takes 2 parameters - the ImportPassThrough only has support for the Id - how does the import work?
Paul
@stack72 Hi Paul, You're 100% right. Due a typo on my side, the import was working for... usage plan, not usage plan keys. Removing that part. |
eac7b15
to
2aa80b8
Compare
In that case, we look good here! thanks for the work
Paul |
Thanks for the quick review Paul, as always. 👍 |
you make these thing easy to review @Ninir :) you always use clear PR descriptions and it's usually the questions we need to ask |
* provider/aws: Added Usage Plan Key resource * provider/aws: Added usage plan import documentation
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. |
Description
This adds the API Gateway usage plan key, based on the following API: https://docs.aws.amazon.com/apigateway/api-reference/link-relation/usageplankey-create/
Related issues
Follow up of #12542
Might resolve other issues too.
Tests
TODOs