Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 952 Bytes

File metadata and controls

23 lines (16 loc) · 952 Bytes

Setting up your CI/CD

Choose the correct IAM policy to give your CI user

In order to restrict the abilities of the ci user on the testing and production environment, you need to create one or many porlicies to give that user.

You can find sample policies in docs/policies.

  • Go to the IAM console;
  • Click on "create policy";
  • Select the JSON tab;
  • Paste the JSON file from the sample policy (or your custom policy);
  • Click on "Next: tags", then "Next: review";
  • Check that your policy is correct;
  • Click on "Create policy".

Create an IAM user

You can follow the same procedure than in the install docs, except:

  • DO NOT give that user an "Administator Access"
  • Instead, attach it the policy or policies that you have created in the previous step;
  • Save the Access Key Id and Secret Access Key in order to pass them as credentials in your CI.