-
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
New resource aws_glue_dev_endpoint #7895
New resource aws_glue_dev_endpoint #7895
Conversation
525ca50
to
71045a2
Compare
@jckuester wondering if you could rebase this and fix the merge conflict |
71045a2
to
ca0158c
Compare
Is there any indication as to when this feature will be merged? |
Can this be reviewed? Thanks |
When will this patch be released to new version of terraform? |
Hi folks! The AWS Provider team is still working on catching up to a substantial PR backlog. You can see more about the process here: https://github.com/terraform-providers/terraform-provider-aws/wiki/Frequently-Asked-Questions#when-will-this-pull-request-be-merged We'll have an update on the PR as soon as we can. Thanks for the work you've done so far. |
44cc9fd
to
844b950
Compare
844b950
to
e00a093
Compare
e00a093
to
d10b891
Compare
I updated this PR to support the newest API changes from AWS (i.e., I added support for the |
10bc53e
to
e02d1e7
Compare
@DrFaust92 I am done addressing feedback from the 2nd round. |
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.
LGTM
--- PASS: TestAccGlueDevEndpoint_disappears (503.34s)--- PASS: TestAccGlueDevEndpoint_ExtraPythonLibsS3Path (517.23s)
--- PASS: TestAccGlueDevEndpoint_Tags (591.90s)
--- PASS: TestAccGlueDevEndpoint_ExtraJarsS3Path (596.16s)
--- PASS: TestAccGlueDevEndpoint_Arguments (603.62s)
--- PASS: TestAccGlueDevEndpoint_SecurityConfiguration (649.98s)
--- PASS: TestAccGlueDevEndpoint_Basic (660.52s)
--- PASS: TestAccGlueDevEndpoint_PublicKeys (666.27s)
--- PASS: TestAccGlueDevEndpoint_PublicKey (710.84s)
--- PASS: TestAccGlueDevEndpoint_NumberOfNodes (1028.32s)
--- PASS: TestAccGlueDevEndpoint_GlueVersion (1033.62s)
--- PASS: TestAccGlueDevEndpoint_NumberOfWorkers (1109.88s)
--- PASS: TestAccGlueDevEndpoint_WorkerType (1119.71s)
--- PASS: TestAccGlueDevEndpoint_SubnetID_SecurityGroupIDs (1201.81s)
Add glue_version, worker_type, etc. arguments
Remove for in for loop
4df3cd3
to
153d787
Compare
I had to rebase one more time, because the changes I made to fix the linter issue in |
LGTM 🚀 Thanks @jckuester for the implementation Verified Acceptance Tests in Commercial (us-west-2) make testacc TEST=./aws/ TESTARGS='-run=TestAccGlueDevEndpoint_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccGlueDevEndpoint_ -timeout 120m
=== RUN TestAccGlueDevEndpoint_Basic
=== PAUSE TestAccGlueDevEndpoint_Basic
=== RUN TestAccGlueDevEndpoint_Arguments
=== PAUSE TestAccGlueDevEndpoint_Arguments
=== RUN TestAccGlueDevEndpoint_ExtraJarsS3Path
=== PAUSE TestAccGlueDevEndpoint_ExtraJarsS3Path
=== RUN TestAccGlueDevEndpoint_ExtraPythonLibsS3Path
=== PAUSE TestAccGlueDevEndpoint_ExtraPythonLibsS3Path
=== RUN TestAccGlueDevEndpoint_GlueVersion
=== PAUSE TestAccGlueDevEndpoint_GlueVersion
=== RUN TestAccGlueDevEndpoint_NumberOfNodes
=== PAUSE TestAccGlueDevEndpoint_NumberOfNodes
=== RUN TestAccGlueDevEndpoint_NumberOfWorkers
=== PAUSE TestAccGlueDevEndpoint_NumberOfWorkers
=== RUN TestAccGlueDevEndpoint_PublicKey
=== PAUSE TestAccGlueDevEndpoint_PublicKey
=== RUN TestAccGlueDevEndpoint_PublicKeys
=== PAUSE TestAccGlueDevEndpoint_PublicKeys
=== RUN TestAccGlueDevEndpoint_SecurityConfiguration
=== PAUSE TestAccGlueDevEndpoint_SecurityConfiguration
=== RUN TestAccGlueDevEndpoint_SubnetID_SecurityGroupIDs
=== PAUSE TestAccGlueDevEndpoint_SubnetID_SecurityGroupIDs
=== RUN TestAccGlueDevEndpoint_Tags
=== PAUSE TestAccGlueDevEndpoint_Tags
=== RUN TestAccGlueDevEndpoint_WorkerType
=== PAUSE TestAccGlueDevEndpoint_WorkerType
=== RUN TestAccGlueDevEndpoint_disappears
=== PAUSE TestAccGlueDevEndpoint_disappears
=== CONT TestAccGlueDevEndpoint_Basic
=== CONT TestAccGlueDevEndpoint_PublicKeys
=== CONT TestAccGlueDevEndpoint_WorkerType
=== CONT TestAccGlueDevEndpoint_ExtraPythonLibsS3Path
=== CONT TestAccGlueDevEndpoint_Tags
=== CONT TestAccGlueDevEndpoint_SubnetID_SecurityGroupIDs
=== CONT TestAccGlueDevEndpoint_SecurityConfiguration
=== CONT TestAccGlueDevEndpoint_GlueVersion
=== CONT TestAccGlueDevEndpoint_PublicKey
=== CONT TestAccGlueDevEndpoint_NumberOfWorkers
=== CONT TestAccGlueDevEndpoint_NumberOfNodes
=== CONT TestAccGlueDevEndpoint_disappears
=== CONT TestAccGlueDevEndpoint_ExtraJarsS3Path
=== CONT TestAccGlueDevEndpoint_Arguments
--- PASS: TestAccGlueDevEndpoint_SecurityConfiguration (512.71s)
--- PASS: TestAccGlueDevEndpoint_ExtraJarsS3Path (520.95s)
--- PASS: TestAccGlueDevEndpoint_disappears (528.26s)
--- PASS: TestAccGlueDevEndpoint_PublicKey (541.51s)
--- PASS: TestAccGlueDevEndpoint_ExtraPythonLibsS3Path (572.25s)
--- PASS: TestAccGlueDevEndpoint_PublicKeys (588.59s)
--- PASS: TestAccGlueDevEndpoint_Basic (648.55s)
--- PASS: TestAccGlueDevEndpoint_Tags (680.84s)
--- PASS: TestAccGlueDevEndpoint_Arguments (694.13s)
--- PASS: TestAccGlueDevEndpoint_GlueVersion (908.04s)
--- PASS: TestAccGlueDevEndpoint_NumberOfNodes (937.37s)
--- PASS: TestAccGlueDevEndpoint_NumberOfWorkers (958.03s)
--- PASS: TestAccGlueDevEndpoint_WorkerType (1167.59s)
--- PASS: TestAccGlueDevEndpoint_SubnetID_SecurityGroupIDs (1192.83s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 1198.043s GovCloud however has a consistent test failure (us-gov-west-1), #16170 tracks this issue for internal resolution. make testacc TEST=./aws/ TESTARGS='-run=TestAccGlueDevEndpoint_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccGlueDevEndpoint_ -timeout 120m
=== RUN TestAccGlueDevEndpoint_Basic
=== PAUSE TestAccGlueDevEndpoint_Basic
=== RUN TestAccGlueDevEndpoint_Arguments
=== PAUSE TestAccGlueDevEndpoint_Arguments
=== RUN TestAccGlueDevEndpoint_ExtraJarsS3Path
=== PAUSE TestAccGlueDevEndpoint_ExtraJarsS3Path
=== RUN TestAccGlueDevEndpoint_ExtraPythonLibsS3Path
=== PAUSE TestAccGlueDevEndpoint_ExtraPythonLibsS3Path
=== RUN TestAccGlueDevEndpoint_GlueVersion
=== PAUSE TestAccGlueDevEndpoint_GlueVersion
=== RUN TestAccGlueDevEndpoint_NumberOfNodes
=== PAUSE TestAccGlueDevEndpoint_NumberOfNodes
=== RUN TestAccGlueDevEndpoint_NumberOfWorkers
=== PAUSE TestAccGlueDevEndpoint_NumberOfWorkers
=== RUN TestAccGlueDevEndpoint_PublicKey
=== PAUSE TestAccGlueDevEndpoint_PublicKey
=== RUN TestAccGlueDevEndpoint_PublicKeys
=== PAUSE TestAccGlueDevEndpoint_PublicKeys
=== RUN TestAccGlueDevEndpoint_SecurityConfiguration
=== PAUSE TestAccGlueDevEndpoint_SecurityConfiguration
=== RUN TestAccGlueDevEndpoint_SubnetID_SecurityGroupIDs
=== PAUSE TestAccGlueDevEndpoint_SubnetID_SecurityGroupIDs
=== RUN TestAccGlueDevEndpoint_Tags
=== PAUSE TestAccGlueDevEndpoint_Tags
=== RUN TestAccGlueDevEndpoint_WorkerType
=== PAUSE TestAccGlueDevEndpoint_WorkerType
=== RUN TestAccGlueDevEndpoint_disappears
=== PAUSE TestAccGlueDevEndpoint_disappears
=== CONT TestAccGlueDevEndpoint_Basic
=== CONT TestAccGlueDevEndpoint_PublicKeys
=== CONT TestAccGlueDevEndpoint_WorkerType
=== CONT TestAccGlueDevEndpoint_SecurityConfiguration
=== CONT TestAccGlueDevEndpoint_SubnetID_SecurityGroupIDs
=== CONT TestAccGlueDevEndpoint_GlueVersion
=== CONT TestAccGlueDevEndpoint_PublicKey
=== CONT TestAccGlueDevEndpoint_NumberOfWorkers
=== CONT TestAccGlueDevEndpoint_Tags
=== CONT TestAccGlueDevEndpoint_NumberOfNodes
=== CONT TestAccGlueDevEndpoint_ExtraJarsS3Path
=== CONT TestAccGlueDevEndpoint_ExtraPythonLibsS3Path
=== CONT TestAccGlueDevEndpoint_disappears
=== CONT TestAccGlueDevEndpoint_Arguments
2020/11/12 13:48:58 [WARN] Truncating attribute path of 0 diagnostics for TypeSet
2020/11/12 13:49:00 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
2020/11/12 13:49:00 [DEBUG] Trying to get account information via sts:GetCallerIdentity
=== CONT TestAccGlueDevEndpoint_SubnetID_SecurityGroupIDs
resource_aws_glue_dev_endpoint_test.go:447: Step 1/2 error: Error running apply: 2020/11/12 13:49:01 [DEBUG] Using modified User-Agent: Terraform/0.12.29 HashiCorp-terraform-exec/0.10.0
Error: error while waiting for Glue Dev Endpoint (tf-acc-test-831422846705845092) to become available: unexpected state 'FAILED', wanted target 'READY'. last error: %!s(<nil>)
--- PASS: TestAccGlueDevEndpoint_PublicKeys (429.68s)
--- PASS: TestAccGlueDevEndpoint_disappears (430.88s)
2020/11/12 13:56:10 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
--- PASS: TestAccGlueDevEndpoint_SecurityConfiguration (469.67s)
--- PASS: TestAccGlueDevEndpoint_Basic (477.31s)
--- PASS: TestAccGlueDevEndpoint_ExtraPythonLibsS3Path (481.32s)
--- PASS: TestAccGlueDevEndpoint_PublicKey (513.28s)
--- PASS: TestAccGlueDevEndpoint_Tags (546.82s)
--- PASS: TestAccGlueDevEndpoint_ExtraJarsS3Path (549.80s)
--- PASS: TestAccGlueDevEndpoint_Arguments (620.08s)
--- FAIL: TestAccGlueDevEndpoint_SubnetID_SecurityGroupIDs (690.11s)
--- PASS: TestAccGlueDevEndpoint_NumberOfNodes (776.66s)
--- PASS: TestAccGlueDevEndpoint_WorkerType (843.22s)
--- PASS: TestAccGlueDevEndpoint_GlueVersion (909.22s)
--- PASS: TestAccGlueDevEndpoint_NumberOfWorkers (1138.67s)
FAIL
FAIL github.com/terraform-providers/terraform-provider-aws/aws 1140.605s
FAIL
make: *** [testacc] Error 1 |
This has been released in version 3.16.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
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! |
Changes proposed in this pull request:
aws_glue_dev_endpoint
Output from acceptance testing: