582fb73a7c | ||
---|---|---|
.. | ||
tfawserr | ||
.golangci.yml | ||
CHANGELOG.md | ||
GNUmakefile | ||
LICENSE | ||
README.md | ||
awsauth.go | ||
config.go | ||
endpoints.go | ||
errors.go | ||
go.mod | ||
go.sum | ||
logger.go | ||
mock.go | ||
session.go | ||
validation.go |
README.md
aws-sdk-go-base
An opinionated AWS Go SDK library for consistent authentication configuration between projects and additional helper functions. This library was originally started in HashiCorp Terraform, migrated with the Terraform AWS Provider during the Terraform 0.10 Core and Provider split, and now is offered as a separate library to allow easier dependency management in the Terraform ecosystem.
NOTE: This library is not currently designed or intended for usage outside the Terraform S3 Backend and the Terraform AWS Provider.
Requirements
- Go 1.13
Development
Testing this project can be done through Go standard library functionality or if Make is available:
$ go test -v ./...
# Optionally if Make is available; both run the same testing
$ make test
Code quality assurance uses golangci-lint:
$ golangci-lint run ./...
# Optionally if Make is available; both run the same linting
$ make lint
Release Process
- Push a new
vX.Y.Z
tag to the repository - Close associated
vX.Y.Z
milestone - For Terraform AWS Provider: Renovate will automatically detect the update and submit a dependency pull request (usually within an hour)
- For Terraform S3 Backend: Submit a new dependency pull request by running:
go get github.com/hashicorp/aws-sdk-go-base@vX.Y.Z
go mod tidy
go mod vendor