Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix account priority in AWS script step #1412

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

octopus-hideaki
Copy link

The AWS Script step ignores OIDC accounts when 2 accounts for a variable exist.

The script always chooses to authenticate using access keys even if the OIDC account is higher in priority according to the scoping rule.

This PR will make Calamari select the authentication method based on the account type, which is selected by scoping priority rather than the presence of access key variables.

Fixes OctopusDeploy/Issues#9120

@CLAassistant
Copy link

CLAassistant commented Dec 13, 2024

CLA assistant check
All committers have signed the CLA.

@octopus-hideaki octopus-hideaki changed the title Check account type variable Fix Account Priority in AWS Script Step Dec 13, 2024
@octopus-hideaki octopus-hideaki changed the title Fix Account Priority in AWS Script Step Fix account priority in AWS script step Dec 13, 2024
@octopus-hideaki octopus-hideaki marked this pull request as draft December 13, 2024 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants