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

Automated sync example #38

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

corey-cole
Copy link
Contributor

This PR provides an example of how to schedule document ingestion from S3. It uses the S3 to SQS event integration to get a count of changes. There is also an EventBridge schedule that can ensure there is a maximum latency for the ingestion of source documents.

@alexa-perlov
Copy link
Collaborator

/do-e2e-tests

Copy link

End to end test has been scheduled

Copy link

E2E tests in progress

Copy link

@aws-ia-automator-prod aws-ia-automator-prod bot left a comment

Choose a reason for hiding this comment

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

E2E tests completed successfully


handler = "app.lambda_handler"
runtime = "python3.12"
architectures = ["arm64"]
Copy link
Collaborator

@scottschreckengaust scottschreckengaust Dec 2, 2024

Choose a reason for hiding this comment

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

Consider leaving out the optional architectures or alternatively a variable:

variable "lambda_architecture" {
  type        = string
  description = "The lambda runtime architecture"
  nullable    = false
  default     = "arm64"
  validation {
    condition     = contains(["x86_64", "arm64"], var.architecture)
    error_message = "The architecture must be either 'x86_64' or 'arm64'."
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants