Pre-requisites:
- Install Jenkins on t2 large
- Install terraform in the jenkins server
- Create the USER in aws and attach the necessary policy to get the full access
- Get the access_key and secret_key from the USER
- Manage Jenkins ----> Manage Credentials ---> Global credentials (unrestricted)---> Add Credentials -->SecretText in the above add the access_key and secret_key , create seperately for both