-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #184 from CircleCI-Public/implement-oidc
feat: oidc implementation
- Loading branch information
Showing
21 changed files
with
376 additions
and
163 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
description: | | ||
Use the AWS CLI and this orb to deploy an ECS Scheduled Task Rule after updating a task definition. | ||
The update-task-definition or update-task-definition-from-json command must be run first. | ||
usage: | ||
version: 2.1 | ||
orbs: | ||
aws-cli: circleci/[email protected] | ||
aws-ecs: circleci/[email protected] | ||
jobs: | ||
deploy-scheduled-task: | ||
docker: | ||
- image: cimg/python:3.10 | ||
steps: | ||
- aws-cli/setup: | ||
# This example uses CircleCI's OpenID Connect Token to generate temporary AWS keys | ||
role-arn: "arn:aws:iam::123456789012:role/OIDC_ARN" | ||
aws-region: AWS_REGION | ||
profile-name: "OIDC-PROFILE" | ||
session-duration: 3600 | ||
role-session-name: "example-session-name" | ||
- aws-ecs/update-task-definition-from-json: | ||
task-definition-json: my-app-definition.json | ||
- aws-ecs/deploy-ecs-scheduled-task: | ||
rule-name: "example-rule" | ||
workflows: | ||
deploy: | ||
jobs: | ||
- deploy-scheduled-task: | ||
context: [CircleCI_OIDC_Token] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.