Step 1: Setup AWS User
- Create an IAM User: gitlab-iac
- Attached directory permission: AdministratorAccess
- Create access key
Step2: Setup AWS Profile on your local machine, following the context below
-
~/.aws/config
[profile gitlab-helmchart-poc] region = eu-west-1
-
~/.aws/credentials
[gitlab-helmchart-poc] aws_access_key_id = *** aws_secret_access_key = ***
Checkout the document here
Checkout the document here