-
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
r/glue_workflow - add tagging support + arn + max concurrent runs #14910
Conversation
2cb8765
to
7d7820f
Compare
|
||
input := &glue.GetWorkflowInput{ | ||
Name: aws.String(d.Id()), | ||
} | ||
|
||
log.Printf("[DEBUG] Reading Glue Workflow: %s", input) | ||
log.Printf("[DEBUG] Reading Glue Workflow: %#v", input) |
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.
I think we prefer %s
as the AWS SDK generates .String()
methods.
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.
I've used this notation previously (as i've seen in being used somewhere in the provider) and this was previously approved. so idk? i dont really mind which.
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.
No need to change then.
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.
$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSGlueWorkflow_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSGlueWorkflow_ -timeout 120m
=== RUN TestAccAWSGlueWorkflow_basic
=== PAUSE TestAccAWSGlueWorkflow_basic
=== RUN TestAccAWSGlueWorkflow_maxConcurrentRuns
=== PAUSE TestAccAWSGlueWorkflow_maxConcurrentRuns
=== RUN TestAccAWSGlueWorkflow_DefaultRunProperties
=== PAUSE TestAccAWSGlueWorkflow_DefaultRunProperties
=== RUN TestAccAWSGlueWorkflow_Description
=== PAUSE TestAccAWSGlueWorkflow_Description
=== RUN TestAccAWSGlueWorkflow_Tags
=== PAUSE TestAccAWSGlueWorkflow_Tags
=== RUN TestAccAWSGlueWorkflow_disappears
=== PAUSE TestAccAWSGlueWorkflow_disappears
=== CONT TestAccAWSGlueWorkflow_basic
=== CONT TestAccAWSGlueWorkflow_Description
=== CONT TestAccAWSGlueWorkflow_disappears
=== CONT TestAccAWSGlueWorkflow_DefaultRunProperties
=== CONT TestAccAWSGlueWorkflow_Tags
=== CONT TestAccAWSGlueWorkflow_maxConcurrentRuns
=== CONT TestAccAWSGlueWorkflow_disappears
resource_aws_glue_workflow_test.go:230: [INFO] Got non-empty plan, as expected
--- PASS: TestAccAWSGlueWorkflow_disappears (22.96s)
--- PASS: TestAccAWSGlueWorkflow_basic (32.73s)
--- PASS: TestAccAWSGlueWorkflow_DefaultRunProperties (33.19s)
--- PASS: TestAccAWSGlueWorkflow_Description (47.56s)
--- PASS: TestAccAWSGlueWorkflow_Tags (59.36s)
--- PASS: TestAccAWSGlueWorkflow_maxConcurrentRuns (60.90s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 60.945s
LGTM! 🚀 Thanks @DrFaust92 Verified Acceptance Tests in Commercial (us-west-2) make testacc TESTARGS='-run=TestAccAWSGlueWorkflow_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSGlueWorkflow_ -timeout 120m
=== RUN TestAccAWSGlueWorkflow_basic
=== PAUSE TestAccAWSGlueWorkflow_basic
=== RUN TestAccAWSGlueWorkflow_maxConcurrentRuns
=== PAUSE TestAccAWSGlueWorkflow_maxConcurrentRuns
=== RUN TestAccAWSGlueWorkflow_DefaultRunProperties
=== PAUSE TestAccAWSGlueWorkflow_DefaultRunProperties
=== RUN TestAccAWSGlueWorkflow_Description
=== PAUSE TestAccAWSGlueWorkflow_Description
=== RUN TestAccAWSGlueWorkflow_Tags
=== PAUSE TestAccAWSGlueWorkflow_Tags
=== RUN TestAccAWSGlueWorkflow_disappears
=== PAUSE TestAccAWSGlueWorkflow_disappears
=== CONT TestAccAWSGlueWorkflow_basic
=== CONT TestAccAWSGlueWorkflow_Tags
=== CONT TestAccAWSGlueWorkflow_disappears
=== CONT TestAccAWSGlueWorkflow_DefaultRunProperties
=== CONT TestAccAWSGlueWorkflow_Description
=== CONT TestAccAWSGlueWorkflow_maxConcurrentRuns
=== CONT TestAccAWSGlueWorkflow_disappears
resource_aws_glue_workflow_test.go:230: [INFO] Got non-empty plan, as expected
--- PASS: TestAccAWSGlueWorkflow_disappears (13.11s)
--- PASS: TestAccAWSGlueWorkflow_basic (17.40s)
--- PASS: TestAccAWSGlueWorkflow_DefaultRunProperties (17.43s)
--- PASS: TestAccAWSGlueWorkflow_Description (27.43s)
--- PASS: TestAccAWSGlueWorkflow_Tags (43.07s)
--- PASS: TestAccAWSGlueWorkflow_maxConcurrentRuns (51.46s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 52.947s Verified Acceptance Tests in GovCloud (us-gov-west-1) make testacc TESTARGS='-run=TestAccAWSGlueWorkflow_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSGlueWorkflow_ -timeout 120m
=== RUN TestAccAWSGlueWorkflow_basic
=== PAUSE TestAccAWSGlueWorkflow_basic
=== RUN TestAccAWSGlueWorkflow_maxConcurrentRuns
=== PAUSE TestAccAWSGlueWorkflow_maxConcurrentRuns
=== RUN TestAccAWSGlueWorkflow_DefaultRunProperties
=== PAUSE TestAccAWSGlueWorkflow_DefaultRunProperties
=== RUN TestAccAWSGlueWorkflow_Description
=== PAUSE TestAccAWSGlueWorkflow_Description
=== RUN TestAccAWSGlueWorkflow_Tags
=== PAUSE TestAccAWSGlueWorkflow_Tags
=== RUN TestAccAWSGlueWorkflow_disappears
=== PAUSE TestAccAWSGlueWorkflow_disappears
=== CONT TestAccAWSGlueWorkflow_basic
=== CONT TestAccAWSGlueWorkflow_Tags
=== CONT TestAccAWSGlueWorkflow_disappears
=== CONT TestAccAWSGlueWorkflow_DefaultRunProperties
=== CONT TestAccAWSGlueWorkflow_Description
=== CONT TestAccAWSGlueWorkflow_maxConcurrentRuns
=== CONT TestAccAWSGlueWorkflow_disappears
resource_aws_glue_workflow_test.go:230: [INFO] Got non-empty plan, as expected
--- PASS: TestAccAWSGlueWorkflow_disappears (11.91s)
--- PASS: TestAccAWSGlueWorkflow_basic (14.65s)
--- PASS: TestAccAWSGlueWorkflow_DefaultRunProperties (17.82s)
--- PASS: TestAccAWSGlueWorkflow_Description (27.70s)
--- PASS: TestAccAWSGlueWorkflow_Tags (37.83s)
--- PASS: TestAccAWSGlueWorkflow_maxConcurrentRuns (47.60s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 48.918s |
This has been released in version 3.8.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! |
Community Note
Relates #13826
Closes #14994
Release note for CHANGELOG:
Output from acceptance testing: