Description of problem: Openshift installer does not ask for `access key id` and `secret access key` during installation. However installation finished without an error and cluster deployed in my AWS environment. ~~~ [user@user ocp4]$ ./openshift-install create cluster ? SSH Public Key <none> ? Platform aws ? Region ap-southeast-2 ? Base Domain aws.cee.redhat.com ? Cluster Name arnabghosh ? Pull Secret [? for help] ** ~~~ Version-Release number of the following components: - Openshift Container Platform 4.0 - Openshift Installer 0.12.0 How reproducible: Always Steps to Reproduce: 1. Occurs when a same user tries to install OCP 4.0 twice 2. 3. Actual results: ~~~ [user@user ocp4]$ ./openshift-install create cluster ? SSH Public Key <none> ? Platform aws ? Region ap-southeast-2 ? Base Domain aws.cee.redhat.com ? Cluster Name arnabghosh ? Pull Secret [? for help] ** ~~~ Expected results: ~~~ [user@user ocp4]$ ./openshift-install create cluster ? SSH Public Key <none> ? Platform aws ? AWS Access Key ID ******************** ? AWS Secret Access Key [? for help] **************************************** INFO Writing AWS credentials to "/home/arghosh/.aws/credentials" (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html) ? Region ap-southeast-2 ? Base Domain aws.cee.redhat.com ? Cluster Name arnabghosh ? Pull Secret [? for help] ** ~~~ Additional info: Please attach logs from ansible-playbook with the -vvv flag
The installer checks for an existing AWS CLI profile in: > $HOME/.aws/credentials If it finds that it uses those credentials! I am not sure this is a bug!
That's correct. Like most AWS tools, the installer respects AWS_ environment variables and reads credentials from your ~/.aws directory.