pythonlover12345
pythonlover12345

Reputation: 43

How to connect CircleCI and AWS?

I'm new to CircleCI, and trying to connect CircleCI - terraform - AWS.

For security reasons, I enforced MFA for aws cli. In other words, I'm using temporal 24-hour lasting:

It's quite tricky to apply circleCI in this situation.

What should I do? Should I have to change the above mentioned AWS credentials before every commit?

Upvotes: 1

Views: 547

Answers (1)

Arun Kamalanathan
Arun Kamalanathan

Reputation: 8573

Your only option is to create an access key with MFA disabled and use it for ciecleci.

There is no way around this as MFA code should be entered manually.

Also you should configure the AWS credentials as environment variable to your circleci project.

Remember, MFA is for people, not for machines

Upvotes: 1

Related Questions