Note: Instance profile authentication is only supported when running a silent installation, and not when creating the infrastructure by running the interactive script.
By default, the silent installation process uses an AWS access key and secret key to create the infrastructure. If you want to use instance profiles for authentication instead of providing an access key and secret key, complete the following steps:
- Do not include the following two properties when you populate the variables file:
awsAccessKey = " "
awsSecretKey = " "
- Navigate to the
provider.tf
file and remove all lines that begin with eitheraccess_key
orsecret_key
. - Ensure that the instance profile that you have assigned to your management machine has the necessary permissions to create the required infrastructure.
- Follow the instructions in Creating the infrastructure in silent mode to complete the silent installation.