You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Variables: Introduce access to resolved AWS accountId and region #9005
When configuring a serverless.yml file, sometimes you may need to include the account ID or region for an AWS account in a way that doesn't resolve using CFN syntax. The only way to reliably do so is to inject the account ID using external key/value mechanisms such as dashboard params, environment variables, ssm, etc.
Proposed solution
The ability to reference a built in variable that resolves to the correct account ID or region. For example:
Reacted by Rita Łyczywek, Matiss Janis Aboltins, Piotr Grzesik, Zach Whaley, Bright Faucher, Matthieu Napoli, Rob Sutter, Andre Rabold, Mariusz Nowak and Felipe Medeiros
changed the title [-]AWS account specific variable shortcuts ${aws:accountId} and ${aws:region}[/-][+]Variabeles: Introduce access to resolved AWS `accountId` and `region` (via `aws:..`)[/+]on Apr 12, 2021
changed the title [-]Variabeles: Introduce access to resolved AWS `accountId` and `region` (via `aws:..`)[/-][+]Variables: Introduce access to resolved AWS `accountId` and `region` (via `aws:..`)[/+]on Apr 12, 2021
changed the title [-]Variables: Introduce access to resolved AWS `accountId` and `region` (via `aws:..`)[/-][+]Variables: Introduce access to resolved AWS `accountId` and `region`[/+]on Jul 7, 2021
Activity
corydorning53 commentedon Mar 30, 2021
any update on this? having same issue now that the pseudo parameter plugin is deprecated. :/
[-]AWS account specific variable shortcuts ${aws:accountId} and ${aws:region}[/-][+]Variabeles: Introduce access to resolved AWS `accountId` and `region` (via `aws:..`)[/+][-]Variabeles: Introduce access to resolved AWS `accountId` and `region` (via `aws:..`)[/-][+]Variables: Introduce access to resolved AWS `accountId` and `region` (via `aws:..`)[/+][-]Variables: Introduce access to resolved AWS `accountId` and `region` (via `aws:..`)[/-][+]Variables: Introduce access to resolved AWS `accountId` and `region`[/+]