mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
Update s3 remote state tests (#865)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
This commit is contained in:
13
scripts/test/state_backends/s3.sh
Executable file
13
scripts/test/state_backends/s3.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
cat <<EOT
|
||||
$0 requires:
|
||||
* AWS Credentials to be configured
|
||||
- https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html
|
||||
- https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html
|
||||
* IAM Permissions in us-west-2
|
||||
- S3 CRUD operations on buckets which will follow the pattern tofu-test-*
|
||||
- DynamoDB CRUD operations on a Table named dynamoTable
|
||||
EOT
|
||||
|
||||
TF_ACC=1 go test ./internal/backend/remote-state/s3/...
|
||||
|
||||
exit $?
|
||||
Reference in New Issue
Block a user