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_job #4028

Merged
merged 3 commits into from
Apr 13, 2018
Merged

New Resource: aws_glue_job #4028

merged 3 commits into from
Apr 13, 2018

Conversation

bflad
Copy link
Contributor

@bflad bflad commented Apr 3, 2018

Closes #3877

make testacc TEST=./aws TESTARGS='-run=TestAccAWSGlueJob'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -run=TestAccAWSGlueJob -timeout 120m
=== RUN   TestAccAWSGlueJob_Basic
--- PASS: TestAccAWSGlueJob_Basic (15.46s)
=== RUN   TestAccAWSGlueJob_AllocatedCapacity
--- PASS: TestAccAWSGlueJob_AllocatedCapacity (21.94s)
=== RUN   TestAccAWSGlueJob_Command
--- PASS: TestAccAWSGlueJob_Command (22.96s)
=== RUN   TestAccAWSGlueJob_DefaultArguments
--- PASS: TestAccAWSGlueJob_DefaultArguments (22.08s)
=== RUN   TestAccAWSGlueJob_Description
--- PASS: TestAccAWSGlueJob_Description (20.97s)
=== RUN   TestAccAWSGlueJob_ExecutionProperty
--- PASS: TestAccAWSGlueJob_ExecutionProperty (21.68s)
=== RUN   TestAccAWSGlueJob_MaxRetries
--- PASS: TestAccAWSGlueJob_MaxRetries (23.47s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	148.608s

@bflad bflad added new-resource Introduces a new resource. service/glue Issues and PRs that pertain to the glue service. labels Apr 3, 2018
@bflad bflad added this to the v1.14.0 milestone Apr 3, 2018
@bflad bflad requested a review from a team April 3, 2018 19:39
@ghost ghost added the size/XL Managed by automation to categorize the size of a PR. label Apr 3, 2018
@bflad bflad modified the milestones: v1.14.0, v1.15.0 Apr 6, 2018
@ghost ghost added the size/XL Managed by automation to categorize the size of a PR. label Apr 13, 2018
Copy link
Contributor

@katbyte katbyte left a comment

Choose a reason for hiding this comment

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

LGTM aside from one minor comment that can probably be ignored :)

MaxItems: 1,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"max_concurrent_runs": {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason to have this in an execution_property block property instead of having max_concurrent_runs at the top level like max_retries is?

Just to match the API? A potential for more options in execution_property?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just to match the API 😄 We've gotten bitten in the past by colliding attribute names. https://docs.aws.amazon.com/sdk-for-go/api/service/glue/#CreateJobInput

Copy link
Contributor

Choose a reason for hiding this comment

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

Valid! Good thing to keep in mind then.

@bflad bflad merged commit 0973a75 into master Apr 13, 2018
@bflad bflad deleted the f-aws_glue_job branch April 13, 2018 21:04
bflad added a commit that referenced this pull request Apr 13, 2018
@cemo
Copy link

cemo commented Apr 13, 2018

Thanks @bflad. What will be next target? Any chance for #3875 ? :)

@bflad
Copy link
Contributor Author

bflad commented Apr 18, 2018

This has been released in version 1.15.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@hugoalmeida264
Copy link

Hi guys, thank you so much to all of you for your hard work on the glue job we are using it across our datalakes and we love it!

One question, there is no reference to the SecurityConfiguration option on the provider and I was wondering if this is going to be left out of scope.

This is important for the scenario where the bucket policy enforces encryption and the glue job tries to write unencrypted, it will fail.

Thank you! @bflad

@bflad
Copy link
Contributor Author

bflad commented Sep 14, 2018

Hi @hugoalmeida17, please create a new Feature Request issue, thanks!

@ghost
Copy link

ghost commented Apr 3, 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 and limited conversation to collaborators Apr 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-resource Introduces a new resource. service/glue Issues and PRs that pertain to the glue service. size/XL Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Resource for managing AWS Glue Jobs
4 participants