terraform/vendor/github.com/hashicorp/aws-sdk-go-base
Brian Flad a41e545198
backend/s3: Reinstate region validation and update copy for skip_requesting_account_id deprecation message
2019-02-20 08:29:09 -08:00
..
.golangci.yml
.travis.yml
CHANGELOG.md
GNUmakefile
LICENSE
README.md
awsauth.go
awserr.go
config.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.11.4+

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