AWS_INTEGRATION

name: "input_AWS"
inputs:
 aws_field:
   type: AWS_INTEGRATION
   name: "AWS Integration"
   default: "aws_integration_hash"
execute_commands:
 - aws account get-contact-information
docker_image_name: "buddy/aws-cli-2"
docker_image_tag: "latest"

The AWS_INTEGRATION parameter adds an input that lets you select the AWS integration and use it in the action. The action also generates $AWS_ACCESS_KEY_ID and $AWS_SECRET_ACCESS_KEY that can be used in the pipeline.

This action uses a Docker image with the AWS CLI installed. The executed command verifies and displays information about the authentication state of the selected AWS integration:

Custom action with AWS inputCustom action with AWS input Custom action logsCustom action logs

Tip
Adding default with the integration hash will automatically set the integration in the input.
Last update:
Aug 6, 2024