Skip to content

Commit

Permalink
Admin: Make sure all Data workflows use the same AWS account (#7877)
Browse files Browse the repository at this point in the history
  • Loading branch information
bblommers authored Jul 21, 2024
1 parent 9c32aa8 commit 7159f15
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/data-update_ec2-instance-offerings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::486285699788:role/GithubActionsRole
role-to-assume: arn:aws:iam::682283128318:role/GithubActionsRole

- name: Pull EC2 instance types from AWS
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/data-update_ec2-instance-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ name: "DataUpdate_EC2InstanceTypes"
on:
schedule:
- cron: '00 8 * * 0'
workflow_dispatch:

jobs:
update:
Expand All @@ -34,7 +35,7 @@ jobs:
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::486285699788:role/GithubActionsRole
role-to-assume: arn:aws:iam::682283128318:role/GithubActionsRole

- name: Pull EC2 instance types from AWS
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/data-update_iam-managed-policies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::486285699788:role/GithubActionsRole
role-to-assume: arn:aws:iam::682283128318:role/GithubActionsRole

- name: Pull IAM managed policies from AWS
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/data-update_ssm-default-amis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ name: "DataUpdate_SSMdefaultAMIs"
on:
schedule:
- cron: '00 10 1 * *'
workflow_dispatch:

jobs:
update:
Expand All @@ -34,7 +35,7 @@ jobs:
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::486285699788:role/GithubActionsRole
role-to-assume: arn:aws:iam::682283128318:role/GithubActionsRole

- name: Pull SSM default AMIs from AWS
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/data-update_ssm-default-parameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::486285699788:role/GithubActionsRole
role-to-assume: arn:aws:iam::682283128318:role/GithubActionsRole

- name: Pull SSM default Parameters from AWS
run: |
Expand Down

0 comments on commit 7159f15

Please sign in to comment.