Skip to content

Commit

Permalink
Merge pull request #39 from wrinkledeth/userShellFixes
Browse files Browse the repository at this point in the history
User shell fixes
  • Loading branch information
wrinkledeth authored Sep 5, 2023
2 parents 644644d + c358c43 commit 2fa0e5c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 39 deletions.
3 changes: 2 additions & 1 deletion docker/user-shell/ec2_cdk/.env_example
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
SSH_PUBLIC_KEY=""
# Ensure you include the full key format (Ex: ssh-ed25519 AAAXX)"
SSH_PUBLIC_KEY=""
14 changes: 0 additions & 14 deletions docker/user-shell/ec2_cdk/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,20 +128,6 @@ def __init__(self, scope: Construct, id: str, **kwargs) -> None:
},
)

# Userdata script
ubuntu_asset = Asset(
self, "UbuntuAsset", path=os.path.join(dirname, "configure_ubuntu.sh")
)

ubuntu_local_path = ubuntu_ec2.user_data.add_s3_download_command(
bucket=ubuntu_asset.bucket, bucket_key=ubuntu_asset.s3_object_key
)

# Execute userdata scripts
ubuntu_ec2.user_data.add_execute_file_command(file_path=ubuntu_local_path)

ubuntu_asset.grant_read(ubuntu_ec2.role)

# Useful Outputs
useful_outputs = CfnOutput(
self,
Expand Down
3 changes: 0 additions & 3 deletions docker/user-shell/entrypoint.sh

This file was deleted.

21 changes: 0 additions & 21 deletions docker/user-shell/user_config.yml

This file was deleted.

0 comments on commit 2fa0e5c

Please sign in to comment.