Skip to content

Conversation

siennathesane
Copy link

This pull request introduces a new example for using AWS SDK with LocalStack in Go. The example demonstrates how to configure AWS credentials and interact with AWS SQS service using LocalStack.

Changes:

  1. Makefile:

    • Added a run target to execute the Go example.
  2. go.mod:

    • Initialized a new Go module.
    • Added dependencies for AWS SDK v1 and v2.
  3. go.sum:

    • Added checksums for the dependencies.
  4. main.go:

    • Implemented functions to configure AWS credentials for LocalStack.
    • Demonstrated creating, sending, receiving, and deleting messages in an SQS queue.

How to Test:

  1. Navigate to the go/credentialprovider directory.
  2. Run make run to execute the example.
  3. Verify the output for successful creation, message operations, and deletion of the SQS queue.
Signed-off-by: Sienna Satterwhite <sienna.satterwhite@jamf.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant