This is a demo repo to demonstrate skills of DevOps tools like AWS, Terraform, Azure DevOps pipelines (and many more to come..).
🚧Work in Progress..🚧
| Build Pipeline | Release Pipeline |
|---|---|
| Name |
|---|
| Terraform |
| AWS CLI |
AWS
- Create an IAM User with necessary permissions.
- Create an Access Key for the above user.
Create IAM User
aws iam create-user \ --user-name DNxtUser aws iam create-access-key --user-name DNxtUser aws iam attach-user-policy --policy-arn arn:aws:iam::aws:policy/AmazonEC2FullAccess --user-name DNxtUser - Setup a local AWS profile for the above user using
aws configureand the access keys provided.
Terraform
-
Download terraform from the official Hashicorp website.
-
Extract the executable file to any directory.
-
Update the Environment variable.
-
Verify using
terraform --version
Git
- Setup
user.nameanduser.emailat local level usinggit configure --local - To setup Github authentication using PAT.
git remote set-url origin https://<your_personal_access_token>@github.com/<username>/<repo_name>.git
- Existing ADO Project with required permissions.
- Service connections for S3 and Github.
- configured agent
- Installed terraform extention in ADO
- Create a
+ Newpipeline in releases. - Start with an
Empty job. - In
+ Add and artifact, SelectSource typeasGithub. - Under
Servicechoose the service connection name created for Github and underSource (repository)select the required repository. - Click on
Add. - In Stage 1, click on
1 job, 0 taskto configure the stage. - Configure the
Agent job - Select the Agent from the Agent Pool
- Create 4 terraform tasks
