-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[Bug]: create glue crawler with delta_target without connection_name #27331
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
a workaround for this is to create a new connection, type network, attach it to: vcp, subnet, and security group giving it full ingress+egress |
FWIW you can provide a blank connection name resource "aws_glue_crawler" "this" {
database_name = "foo"
name = "bar"
role = module.crawler_role.iam_role_arn
delta_target {
connection_name = ""
delta_tables = ["buckets"]
write_manifest = true
}
} |
@ConstantinoSchillebeeckx thanks, yes this worked for our setup as well. seems like easiest fix currently would be to update documentation then do code-magic later |
This functionality has been released in v4.46.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. Thank you! |
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. |
Terraform Core Version
1.1.5
AWS Provider Version
4.24.0
Affected Resource(s)
aws_glue_crawler
Expected Behavior
I believe I should be able to create a Glue Crawler that uses a
delta_target
without specifying theconnection_name
; however it is required:terraform-provider-aws/internal/service/glue/crawler.go
Lines 225 to 228 in 5b85a57
An AWS blog post describes this as being optional. Furthermore, I have manually setup a crawler in the console to use a delta target, the UI shows this connection as being optional:

The crawler I've setup, without a connection name, successfully crawls S3; introspecting that crawler with
aws glue get-crawler --name "foo" --output json
shows:Notice how
DeltaTargets
does not return any ConnectionNameActual Behavior
Omitting connection_name produces terraform error:
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
NA
Steps to Reproduce
apply resource
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
yes
The text was updated successfully, but these errors were encountered: