Executes aws commands from a container.
First, create a secret with your AWS Credential file:
docker secret create aws-credentials -
aws documentation can be found here.
For example, to delete a key-pair called example, add the following step to your pipeline:
steps:
aws:
tasks:
- image: pipekit/aws
secrets:
- aws-credentials
environment:
- AWS_SHARED_CREDENTIALS_FILE=/run/secrets/aws-credentials
- AWS_DEFAULT_REGION=us-west-2
command: aws ec2 delete-key-pair --key-name example
Content type
Image
Digest
Size
29.9 MB
Last updated
about 9 years ago
docker pull pipekit/aws