Commit 80fb117
authored
feat: allow backend role arn to init (AIR-1495) (#48)
## what
- Allow a backend role arn to be used during `init`
## why
- We've had interest in using a backend role for local tf operations, as
an alternative to defining an `assume_role` within backend config or
relying on ambient credentials.
## references
-
[AIR-1495](https://www.notion.so/masterpoint/Ensure-mp-infra-demonstrates-read-only-vs-write-role-separation-for-Spacelift-backend-access-as-refe-342859758a56816a8d9cd9080ed989e8)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Backend role ARN configuration is now supported through environment
variables during initialization, providing greater flexibility for
infrastructure deployments. This enhancement streamlines
multi-environment setup workflows and eliminates the need for code
modifications when managing backend configurations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 953d140 commit 80fb117
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
40 | | - | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
0 commit comments