Compare commits
No commits in common. "main" and "1.0.1" have entirely different histories.
3 changed files with 4 additions and 11 deletions
|
|
@ -2,13 +2,6 @@
|
|||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## 2.0.0 - 2025-09-09
|
||||
|
||||
### Changed
|
||||
|
||||
- Breaking change: update the repository naming scheme to match the IAM roles
|
||||
that `adyxax/tofu-module-aws-iam-ci-user >= 2.0.0` provisions.
|
||||
|
||||
## 1.0.1 - 2025-05-05
|
||||
|
||||
### Changed
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ as well as tofu tests on the repository of an OpenTofu module.
|
|||
## Usage example
|
||||
|
||||
``` yaml
|
||||
- uses: "https://git.adyxax.org/adyxax/action-tofu-aws-test@2.0.0"
|
||||
- uses: "https://git.adyxax.org/adyxax/action-tofu-test@1.0.1"
|
||||
with:
|
||||
aws-access-key-id: "${{ vars.AWS_ACCESS_KEY_ID }}"
|
||||
aws-access-key-secret: "${{ secrets.AWS_ACCESS_KEY_SECRET }}"
|
||||
|
|
|
|||
|
|
@ -25,10 +25,10 @@ runs:
|
|||
- name: "configure AWS profiles"
|
||||
shell: "bash"
|
||||
run: |
|
||||
ROLE_NAME="repository_${GITHUB_REPOSITORY/\//_}"
|
||||
REPOSITORY_NAME=$(basename ${{ github.repository }})
|
||||
cat >aws_config <<EOF
|
||||
[profile core]
|
||||
role_arn = arn:aws:iam::563391529123:role/${ROLE_NAME}
|
||||
role_arn = arn:aws:iam::563391529123:role/$REPOSITORY_NAME
|
||||
source_profile = root
|
||||
|
||||
[profile root]
|
||||
|
|
@ -37,7 +37,7 @@ runs:
|
|||
region = eu-west-3
|
||||
|
||||
[profile tests]
|
||||
role_arn = arn:aws:iam::688897985379:role/${ROLE_NAME}
|
||||
role_arn = arn:aws:iam::688897985379:role/$REPOSITORY_NAME
|
||||
source_profile = root
|
||||
EOF
|
||||
- name: "check tofu providers lock files"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue