Skip to content

Commit f168118

Browse files
author
GitHub Actions
committed
Update dist
1 parent 0828908 commit f168118

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dist/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145083,6 +145083,7 @@ async function createEc2InstanceWithParams(imageId, subnetId, securityGroupId, l
145083145083
IamInstanceProfile: config.input.iamRoleName ? { Name: config.input.iamRoleName } : undefined,
145084145084
TagSpecifications: config.tagSpecifications,
145085145085
InstanceMarketOptions: buildMarketOptions(),
145086+
MetadataOptions: Object.keys(config.input.metadataOptions).length > 0 ? config.input.metadataOptions : undefined,
145086145087
};
145087145088

145088145089
if (config.input.ec2VolumeSize !== '' || config.input.ec2VolumeType !== '') {
@@ -145235,6 +145236,7 @@ class Config {
145235145236
ec2VolumeType: core.getInput('ec2-volume-type'),
145236145237
blockDeviceMappings: JSON.parse(core.getInput('block-device-mappings') || '[]'),
145237145238
availabilityZonesConfig: core.getInput('availability-zones-config'),
145239+
metadataOptions: JSON.parse(core.getInput('metadata-options') || '{}'),
145238145240
};
145239145241

145240145242
// Get the AWS_REGION environment variable

0 commit comments

Comments
 (0)