Skip to content

Commit

Permalink
#27 Modify CircelCI deploys to be done using AWS Roles and AWS OIDC C…
Browse files Browse the repository at this point in the history
…ontext | Modification of CircleCI
  • Loading branch information
Balamuruganjeevi authored May 14, 2024
1 parent e5bef70 commit 934b177
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,12 @@ jobs:
ANSIBLE_HOST_KEY_CHECKING: no
working_directory: ~/
steps:
- aws-cli/setup:
role_arn: "arn:aws:iam::118388513628:role/avni_circleci_instance_connect"
region: "ap-south-1"
- setup_server_access:
instance-id: "i-029f9587b33d91f35"
availability-zone: "ap-south-1a"
- deploy:
hostname: "int-staging.avniproject.org"
env: "staging"
Expand All @@ -150,6 +156,12 @@ jobs:
ANSIBLE_HOST_KEY_CHECKING: no
working_directory: ~/
steps:
- aws-cli/setup:
role_arn: "arn:aws:iam::118388513628:role/avni_circleci_instance_connect"
region: "ap-south-1"
- setup_server_access:
instance-id: "i-0a357dbb9e5a91ca2"
availability-zone: "ap-south-1b"
- deploy:
hostname: "int-prerelease.avniproject.org"
env: "prerelease"
Expand All @@ -159,6 +171,12 @@ jobs:
- image: cimg/deploy:2023.09
working_directory: ~/
steps:
- aws-cli/setup:
role_arn: "arn:aws:iam::118388513628:role/avni_circleci_instance_connect"
region: "ap-south-1"
- setup_server_access:
instance-id: "i-07e5114eea30b3b61"
availability-zone: "ap-south-1a"
- deploy:
hostname: "int-prod.avniproject.org"
env: "prod"
Expand Down

0 comments on commit 934b177

Please sign in to comment.