Skip to content

Commit d90793c

Browse files
Merge pull request #31 from mineiros-io/soerenmartius/iam-updates
IAM Updates
2 parents 1d1d65e + 1050982 commit d90793c

6 files changed

Lines changed: 41 additions & 7 deletions

File tree

.github/workflows/preview.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
- name: Setup asdf
2222
# asdf-vm/actions/plugins-add@v3.0.2
2323
uses: asdf-vm/actions/plugins-add@05e0d2ed97b598bfce82fd30daf324ae0c4570e6
24+
with:
25+
asdf_branch: v0.15.0
2426

2527
- name: Install tools via asdf
2628
run: asdf install
@@ -40,8 +42,8 @@ jobs:
4042

4143
- name: Cache plugin dir
4244
# for security reasons we pin commit ids and not tags.
43-
# actions/cache@v4.0.0 -> 13aacd865c20de90d75de3b17ebe84f7a17d57d2
44-
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
45+
# actions/cache@v4.3.0 -> 0057852bfaa89a56745cba8c7296529d2fc39830
46+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
4547
with:
4648
path: ~/.tflint.d/plugins
4749
key: tflint-${{ hashFiles('.tflint.hcl') }}
@@ -71,6 +73,8 @@ jobs:
7173
- name: Setup asdf
7274
# asdf-vm/actions/plugins-add@v3.0.2
7375
uses: asdf-vm/actions/plugins-add@05e0d2ed97b598bfce82fd30daf324ae0c4570e6
76+
with:
77+
asdf_branch: v0.15.0
7478

7579
- name: Install tools via asdf
7680
run: asdf install

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
- name: Setup asdf
2424
# asdf-vm/actions/plugins-add@v3.0.2
2525
uses: asdf-vm/actions/plugins-add@05e0d2ed97b598bfce82fd30daf324ae0c4570e6
26+
with:
27+
asdf_branch: v0.15.0
2628

2729
- name: Install tools via asdf
2830
run: asdf install
@@ -42,8 +44,8 @@ jobs:
4244

4345
- name: Cache plugin dir
4446
# for security reasons we pin commit ids and not tags.
45-
# actions/cache@v4.0.0 -> 13aacd865c20de90d75de3b17ebe84f7a17d57d2
46-
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
47+
# actions/cache@v4.3.0 -> 0057852bfaa89a56745cba8c7296529d2fc39830
48+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
4749
with:
4850
path: ~/.tflint.d/plugins
4951
key: tflint-${{ hashFiles('.tflint.hcl') }}
@@ -73,6 +75,8 @@ jobs:
7375
- name: Setup asdf
7476
# asdf-vm/actions/plugins-add@v3.0.2
7577
uses: asdf-vm/actions/plugins-add@05e0d2ed97b598bfce82fd30daf324ae0c4570e6
78+
with:
79+
asdf_branch: v0.15.0
7680

7781
- name: Install tools via asdf
7882
run: asdf install

CHANGELOG.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.0.0] - 2026-01-14
11+
1012
### Added
1113
- Add support for `computed_members_map`
1214
- Add support for `iam.condition`
15+
- Add support for federated principals by updated IAM module to 0.3.0
1316

1417
### Removed
1518

@@ -22,6 +25,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2225
- Migrated tests to new testsuite.
2326
- Change type of `var.labels` to `map(string)`.
2427

28+
## [1.0.0] - 2024-05-15
29+
30+
### Added
31+
- Add cleanup policies
32+
- Add semantic-release
33+
34+
### Removed
35+
- Drop support for Google provider < 5.14 due to adding cleanup policies
36+
37+
## [0.1.1] - 2024-03-19
38+
- Pre-release
39+
40+
## [0.1.0] - 2024-03-19
41+
- Pre-release
42+
2543
## [0.0.4]
2644

2745
### Added
@@ -60,7 +78,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6078

6179
- Initial Implementation
6280

63-
[unreleased]: https://github.com/mineiros-io/terraform-google-artifact-registry-repository/compare/v0.0.4...HEAD
81+
[unreleased]: https://github.com/mineiros-io/terraform-google-artifact-registry-repository/compare/v2.0.0...HEAD
82+
[2.0.0]: https://github.com/mineiros-io/terraform-google-artifact-registry-repository/compare/v1.0.0...v2.0.0
83+
[1.0.0]: https://github.com/mineiros-io/terraform-google-artifact-registry-repository/compare/v0.1.1...v1.0.0
84+
[0.1.1]: https://github.com/mineiros-io/terraform-google-artifact-registry-repository/compare/v0.1.0...v0.1.1
85+
[0.1.0]: https://github.com/mineiros-io/terraform-google-artifact-registry-repository/compare/v0.0.4...v0.1.0
6486
[0.0.4]: https://github.com/mineiros-io/terraform-google-artifact-registry-repository/compare/v0.0.3...v0.0.4
6587
[0.0.3]: https://github.com/mineiros-io/terraform-google-artifact-registry-repository/compare/v0.0.2...v0.0.3
6688
[0.0.2]: https://github.com/mineiros-io/terraform-google-artifact-registry-repository/compare/v0.0.1...v0.0.2

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,8 @@ See [variables.tf] and [examples/] for details and use-cases.
265265
- `projectEditor:projectid`: Editors of the given project. For example, `projectEditor:my-example-project`
266266
- `projectViewer:projectid`: Viewers of the given project. For example, `projectViewer:my-example-project`
267267
- `computed:{identifier}`: An existing key from `var.computed_members_map`.
268+
- `principal:{identifier}`: A Google principal identifier.
269+
- `principalSet:{identifier}`: A Google principal set identifier.
268270

269271
Default is `[]`.
270272

README.tfdoc.hcl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,8 @@ section {
351351
- `projectEditor:projectid`: Editors of the given project. For example, `projectEditor:my-example-project`
352352
- `projectViewer:projectid`: Viewers of the given project. For example, `projectViewer:my-example-project`
353353
- `computed:{identifier}`: An existing key from `var.computed_members_map`.
354+
- `principal:{identifier}`: A Google principal identifier.
355+
- `principalSet:{identifier}`: A Google principal set identifier.
354356
END
355357
}
356358

iam.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ locals {
1616

1717

1818
module "iam" {
19-
source = "github.com/mineiros-io/terraform-google-artifact-registry-repository-iam.git?ref=v0.2.0"
19+
source = "github.com/mineiros-io/terraform-google-artifact-registry-repository-iam.git?ref=v0.3.0"
2020

2121
for_each = [local.iam_map, {}][var.policy_bindings == null ? 0 : 1]
2222

@@ -34,7 +34,7 @@ module "iam" {
3434
}
3535

3636
module "policy_bindings" {
37-
source = "github.com/mineiros-io/terraform-google-artifact-registry-repository-iam.git?ref=v0.2.0"
37+
source = "github.com/mineiros-io/terraform-google-artifact-registry-repository-iam.git?ref=v0.3.0"
3838

3939
count = var.policy_bindings != null ? 1 : 0
4040

0 commit comments

Comments
 (0)