Skip to content

fix access key param name #2

fix access key param name

fix access key param name #2

name: Increase Node Disk
on:
workflow_dispatch:
inputs:
network:
type: environment
description: "Whether updating a testnet or mainnet node"
required: true
aws_region:
description: "Location of EC2 instance to modify"
required: true
instance_name:
description: "The name of the EC2 instance"
required: true
disk_size:
description: "The total size of the disk desired"
required: true
jobs:
increase-disk:
uses: dawidd6/action-ansible-playbook@v2

Check failure on line 23 in .github/workflows/node-increase-disk.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/node-increase-disk.yml

Invalid workflow file

invalid value workflow reference: references to workflows must be rooted in '.github/workflows'
with:
# Required, playbook filepath
playbook: ec2-set-volume-size.yml
# Optional, directory where playbooks live
directory: ./scripts/ansible/aws
# Optional, additional flags to pass to ansible-playbook
options: |
--inventory .hosts
--extra-vars aws_region="${{github.event.inputs.aws_region}}" aws_secret_key="${{github.env.secret.AWS_SECRET_KEY}}" aws_access_key_id="${{github.env.secret.AWS_ACCESS_KEY_ID}}" name="${{github.event.inputs.instance_name}}" volume_size="${{github.event.inputs.disk_size}}"