Skip to content

Commit

Permalink
CLI backend: fix user-data
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai committed Mar 10, 2024
1 parent a9cbb05 commit 87157a0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions aws-throwaway/src/backend/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use crate::{
Ec2Instance, Ec2InstanceDefinition, InstanceOs, NetworkInterface, APP_TAG_NAME, USER_TAG_NAME,
};
use anyhow::{anyhow, Result};
use base64::Engine;
use futures::stream::FuturesUnordered;
use futures::StreamExt;
pub use instance_type::InstanceType;
Expand Down Expand Up @@ -589,7 +588,6 @@ sudo systemctl start ssh
"#,
self.host_public_key, self.host_private_key
);
let user_data = base64::engine::general_purpose::STANDARD.encode(user_data);
let block_device_mappings = format!(
"DeviceName=/dev/sda1,Ebs={{DeleteOnTermination=true,VolumeSize={},VolumeType=gp2}}",
definition.volume_size_gb
Expand Down

0 comments on commit 87157a0

Please sign in to comment.