diff --git a/docker/user-shell/ec2_cdk/.env_example b/docker/user-shell/ec2_cdk/.env_example index 34aa3e46..9de113ec 100644 --- a/docker/user-shell/ec2_cdk/.env_example +++ b/docker/user-shell/ec2_cdk/.env_example @@ -1 +1,2 @@ -SSH_PUBLIC_KEY="" \ No newline at end of file +# Ensure you include the full key format (Ex: ssh-ed25519 AAAXX)" +SSH_PUBLIC_KEY="" diff --git a/docker/user-shell/ec2_cdk/app.py b/docker/user-shell/ec2_cdk/app.py index 74125708..eb1041e7 100644 --- a/docker/user-shell/ec2_cdk/app.py +++ b/docker/user-shell/ec2_cdk/app.py @@ -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, diff --git a/docker/user-shell/entrypoint.sh b/docker/user-shell/entrypoint.sh deleted file mode 100644 index 3c8bb28f..00000000 --- a/docker/user-shell/entrypoint.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -# /usr/src/app/user-shell -c /usr/src/app/external/config.yml -tail -f /dev/null \ No newline at end of file diff --git a/docker/user-shell/user_config.yml b/docker/user-shell/user_config.yml deleted file mode 100644 index 2302b8a2..00000000 --- a/docker/user-shell/user_config.yml +++ /dev/null @@ -1,21 +0,0 @@ -provider_endpoint: "http://127.0.0.1:8545" - -chain_id: 31337 - -adapter_address: "0xa513e6e4b8f2a923d98304ec87f64353c4d5c853" -staking_address: "0xcf7ed3acca5a467e9e704c703e8d87f634fb0fc9" -arpa_address: "0x9fe46736679d2d9a65f0992f2272de9f3c7fa6e0" - -account: - private_key: "4c0883a69102937d6231471b5dbb6204fe5129617082792ae468d01a3f362318" - -contract_transaction_retry_descriptor: - base: 2 - factor: 1000 - max_attempts: 3 - use_jitter: true -contract_view_retry_descriptor: - base: 2 - factor: 500 - max_attempts: 5 - use_jitter: true