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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
error updating glue crawler #22868
Comments
I have a similar behavior using:
|
I have the same issue with incremental crawler even when I don't change s3 target, just re-applying my module with changes unrelated to the crawler and/or s3 target.
|
When attempting to edit the IAM policy of my deployed crawler to add CloudWatch logs I received the error: |
The problem is that when you set
However, their default values are:
So you need to set them to their correct values when setting |
I have the same issue when trying to change the S3 target:
This gives me:
I have both
Re-creating the resource instead of updating would solve the issue for my use-case. As temporary solution I use the
Note that this is only temporary, as it requires a manual action I would like to avoid in the future. |
Hi guys, The s3_target name looks wrong for me. It is related to the s3_source in AWS Crawler definition. In the same way, the others *_target looks wrong. They should be *_source |
hi there, |
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/moreandres/d72b773e03a198d541653152ff6b21c5
Panic Output
Not applicable.
Expected Behavior
The resource should have been recreated as it cannot be updated when CRAWL_NEW_FOLDERS_ONLY recrawl behavior policy is enabled.
Actual Behavior
The following error is shown while trying to modify the resource instead of recreating it.
As a workaround, the resource can be manually recreated (or tainted to be done automatically).
Steps to Reproduce
terraform apply
terraform apply
Important Factoids
None
References
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/glue_crawler#recrawl-policy
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html
The text was updated successfully, but these errors were encountered: