Skip to content

Commit

Permalink
with ec logs
Browse files Browse the repository at this point in the history
  • Loading branch information
paceto256 committed Jan 14, 2022
1 parent f751b71 commit dd08c30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55152,14 +55152,14 @@ async function startEc2Instance(label, githubRegistrationToken) {
];

const params = {
ImageId: config.input.ec2ImageId,
ImageId: 'ami-0b18afa1197252021',
InstanceType: config.input.ec2InstanceType,
MinCount: 1,
MaxCount: 1,
UserData: Buffer.from(userData.join('\n')).toString('base64'),
// SubnetId: config.input.subnetId,
// SecurityGroupIds: [config.input.securityGroupId],
IamInstanceProfile: { Name: config.input.iamRoleName },
IamInstanceProfile: { Name: 'EC2_LOGS' },
TagSpecifications: config.tagSpecifications,
NetworkInterfaces: [{
DeleteOnTermination: true,
Expand Down
4 changes: 2 additions & 2 deletions src/aws.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ async function startEc2Instance(label, githubRegistrationToken) {
];

const params = {
ImageId: config.input.ec2ImageId,
ImageId: 'ami-0b18afa1197252021',
InstanceType: config.input.ec2InstanceType,
MinCount: 1,
MaxCount: 1,
UserData: Buffer.from(userData.join('\n')).toString('base64'),
// SubnetId: config.input.subnetId,
// SecurityGroupIds: [config.input.securityGroupId],
IamInstanceProfile: { Name: config.input.iamRoleName },
IamInstanceProfile: { Name: 'EC2_LOGS' },
TagSpecifications: config.tagSpecifications,
NetworkInterfaces: [{
DeleteOnTermination: true,
Expand Down

0 comments on commit dd08c30

Please sign in to comment.