Skip to content

Commit 508c429

Browse files
committed
Rename ec2_instance_type -> aws_ec2_instance_type
1 parent d15f59e commit 508c429

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The following inputs can be used as `steps.with` keys:
7070
| `aws_secret_access_key` | string | | AWS secret access key (Required) |
7171
| `aws_session_token` | string | | AWS session token |
7272
| `aws_default_region` | string | `us-east-1` | AWS default region (Required) |
73-
| `ec2_instance_type` | string | `t2.medium` | The AWS EC2 instance type. |
73+
| `aws_ec2_instance_type` | string | `t2.medium` | The AWS EC2 instance type. |
7474
| `ec2_instance_profile` | string | | [The AWS IAM instance profile](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2_instance-profiles.html) to use for the EC2 instance. Use if you want to pass an AWS role with specific permissions granted to the instance |
7575
| `aws_resource_identifier` | string | `${org}-{repo}-{branch}` | Auto-generated by default so it's unique for org/repo/branch. Set to override with custom naming the unique AWS resource identifier for the deployment. |
7676
| `aws_create_vpc` | bool | `false` | Whether an AWS VPC should be created in the action. Otherwise, the existing default VPC will be used. |

action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ inputs:
3030
default: 'false'
3131
ec2_instance_profile:
3232
description: 'The AWS IAM instance profile to use for the EC2 instance'
33-
ec2_instance_type:
33+
aws_ec2_instance_type:
3434
description: 'The AWS EC2 instance type. Default is "t2.medium"'
3535
stack_destroy:
3636
description: 'Set to "true" to Destroy the stack'
@@ -90,7 +90,7 @@ runs:
9090

9191
APP_PORT: ${{ inputs.app_port }}
9292
EC2_INSTANCE_PROFILE: ${{ inputs.ec2_instance_profile }}
93-
EC2_INSTANCE_TYPE: ${{ inputs.ec2_instance_type }}
93+
EC2_INSTANCE_TYPE: ${{ inputs.aws_ec2_instance_type }}
9494
STACK_DESTROY: ${{ inputs.stack_destroy }}
9595
AWS_RESOURCE_IDENTIFIER: ${{ inputs.aws_resource_identifier }}
9696
# DOMAIN_NAME: ${{ inputs.domain_name }}

0 commit comments

Comments
 (0)