How to configure aws cli on ubuntu gitlab?

While trying to install and configure aws cli on ubuntu runner in pipeline, stuck at below screen.


please guide

The search for aws cli ubuntu tzdata brings up ubuntu - How to specify extra TZ info for 'apt-get install -y awscli' - Unix & Linux Stack Exchange showing how to configure tzdata to not ask for the region during apt install. AFAIK the region should match your default AWS region (or the one configured for the runners later).

Still same issue, so I used direct binary instead of apt package.

  - curl "" -o ""
  - unzip
  - ./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/aws-cli --update
  - ls -l /usr/local/bin/aws