From 7f8f531172b0b5da7d0fdbaa35380836657eade3 Mon Sep 17 00:00:00 2001 From: Evert Daniel Romero Garrido Date: Thu, 16 Apr 2026 12:30:51 -0600 Subject: [PATCH] fix: move oidc audiences to options and step level per Atlassian docs --- bitbucket-pipelines.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 6e797f4..b457612 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -11,12 +11,11 @@ image: atlassian/default-image:5 options: max-time: 120 - -definitions: oidc: audiences: - sts.amazonaws.com +definitions: steps: - step: ¬ify-start name: Notify Start @@ -64,7 +63,9 @@ pipelines: - step: name: 03_terraform - oidc: true + oidc: + audiences: + - sts.amazonaws.com script: - set -euo pipefail - source scripts/aws-oidc-setup.sh dev @@ -155,7 +156,9 @@ pipelines: - step: name: 03_terraform - oidc: true + oidc: + audiences: + - sts.amazonaws.com script: - set -euo pipefail - source scripts/aws-oidc-setup.sh prod