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

New resource aws_glue_dev_endpoint #7895

Merged

Conversation

jckuester
Copy link
Contributor

@jckuester jckuester commented Mar 12, 2019

Changes proposed in this pull request:

  • Add support for new resource aws_glue_dev_endpoint

Output from acceptance testing:

--- PASS: TestAccGlueDevEndpoint_ExtraPythonLibsS3Path (506.02s)
--- PASS: TestAccGlueDevEndpoint_Basic (532.90s)
--- PASS: TestAccGlueDevEndpoint_SecurityConfiguration (546.74s)
--- PASS: TestAccGlueDevEndpoint_NumberOfWorkers (556.80s)
--- PASS: TestAccGlueDevEndpoint_Arguments (590.41s)
--- PASS: TestAccGlueDevEndpoint_Tags (598.73s)
--- PASS: TestAccGlueDevEndpoint_PublicKey (608.57s)
--- PASS: TestAccGlueDevEndpoint_PublicKeys (797.27s)
--- PASS: TestAccGlueDevEndpoint_ExtraJarsS3Path (853.46s)
--- PASS: TestAccGlueDevEndpoint_GlueVersion (948.85s)
--- PASS: TestAccGlueDevEndpoint_NumberOfNodes (972.99s)
--- PASS: TestAccGlueDevEndpoint_SubnetID_SecurityGroupIDs (1194.39s)
--- PASS: TestAccGlueDevEndpoint_WorkerType (1444.21s)
--- PASS: TestAccGlueDevEndpoint_disappears (472.50s)
...

@ghost ghost added size/XXL Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. provider Pertains to the provider itself, rather than any interaction with AWS. service/codebuild Issues and PRs that pertain to the codebuild service. service/glue Issues and PRs that pertain to the glue service. service/sagemaker Issues and PRs that pertain to the sagemaker service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Mar 12, 2019
@jckuester jckuester force-pushed the feature/resource-aws-glue-dev-endpoint branch from 525ca50 to 71045a2 Compare March 12, 2019 08:58
@bflad bflad added new-resource Introduces a new resource. and removed service/codebuild Issues and PRs that pertain to the codebuild service. service/sagemaker Issues and PRs that pertain to the sagemaker service. labels Mar 12, 2019
@xmj
Copy link

xmj commented Apr 9, 2019

@jckuester wondering if you could rebase this and fix the merge conflict

@jckuester jckuester force-pushed the feature/resource-aws-glue-dev-endpoint branch from 71045a2 to ca0158c Compare April 10, 2019 18:52
@maartenpeters
Copy link

Is there any indication as to when this feature will be merged?

@aeschright aeschright requested a review from a team June 26, 2019 00:52
@kabeersvohra
Copy link

Can this be reviewed? Thanks

@RobinDong
Copy link

When will this patch be released to new version of terraform?

@aeschright
Copy link
Contributor

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.

@jckuester jckuester force-pushed the feature/resource-aws-glue-dev-endpoint branch 4 times, most recently from 44cc9fd to 844b950 Compare December 22, 2019 12:19
@jckuester jckuester force-pushed the feature/resource-aws-glue-dev-endpoint branch from 844b950 to e00a093 Compare January 3, 2020 14:30
@jckuester jckuester closed this Jan 3, 2020
@jckuester jckuester deleted the feature/resource-aws-glue-dev-endpoint branch January 3, 2020 15:15
@jckuester jckuester reopened this Jan 3, 2020
@jckuester jckuester force-pushed the feature/resource-aws-glue-dev-endpoint branch from e00a093 to d10b891 Compare January 3, 2020 16:26
@jckuester
Copy link
Contributor Author

jckuester commented Jan 3, 2020

I updated this PR to support the newest API changes from AWS (i.e., I added support for the glue_version, worker_type, etc. arguments). Tests are all passing.

@jckuester jckuester force-pushed the feature/resource-aws-glue-dev-endpoint branch 2 times, most recently from 10bc53e to e02d1e7 Compare November 8, 2020 19:52
@ghost ghost added the service/firehose Issues and PRs that pertain to the firehose service. label Nov 8, 2020
@jckuester
Copy link
Contributor Author

@DrFaust92 I am done addressing feedback from the 2nd round.

@DrFaust92 DrFaust92 self-assigned this Nov 8, 2020
Copy link
Collaborator

@DrFaust92 DrFaust92 left a 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)

@DrFaust92 DrFaust92 removed the service/firehose Issues and PRs that pertain to the firehose service. label Nov 9, 2020
@jckuester jckuester force-pushed the feature/resource-aws-glue-dev-endpoint branch from 4df3cd3 to 153d787 Compare November 9, 2020 19:33
@jckuester
Copy link
Contributor Author

jckuester commented Nov 9, 2020

I had to rebase one more time, because the changes I made to fix the linter issue in /aws/resource_aws_kinesis_firehose_delivery_stream_test.go has been merged to master and caused a merge conflict.

@breathingdust
Copy link
Member

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

@breathingdust breathingdust added this to the v3.16.0 milestone Nov 12, 2020
@breathingdust breathingdust merged commit d344d08 into hashicorp:master Nov 12, 2020
breathingdust added a commit that referenced this pull request Nov 12, 2020
@ghost
Copy link

ghost commented Nov 18, 2020

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!

@ghost
Copy link

ghost commented Dec 13, 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 as resolved and limited conversation to collaborators Dec 13, 2020
@DrFaust92 DrFaust92 removed their assignment Jun 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. new-resource Introduces a new resource. provider Pertains to the provider itself, rather than any interaction with AWS. service/glue Issues and PRs that pertain to the glue service. size/XXL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.