Commit graph

9 commits

Author SHA1 Message Date
Jorge Gallegos
f9f0b33542
Add iamConfiguration support to gcp_storage_bucket
You can now set the iam configuration for a given bucket, you can set:
1. publicAccessPrevention and
2. uniformBucketLevelAccess

no support for bucketPolicyOnly because according to the storage docs:

Note: iamConfiguration also includes the bucketPolicyOnly field, which
uses a legacy name but has the same functionality as the
uniformBucketLevelAccess field. We recommend only using
uniformBucketLevelAccess, as specifying both fields may result in
unreliable behavior.

Also added integration tests for this feature

Signed-off-by: Jorge Gallegos <jgallego@redhat.com>
2025-06-26 12:04:25 -06:00
Chris Hawk
4ee4cc60b5 Enable required YAML lint rules and fix results 2025-01-14 15:15:59 -08:00
Chris Hawk
08ada5354d fix: upgrade ansible version, address test and lint errors 2023-11-17 16:39:42 -08:00
Chris Hawk
bf74697b3f feat: add support for using application default credentials when running integration tests 2023-11-09 16:34:51 -08:00
Yusuke Tsutsumi
d03d7beda2 tests: fix gcp_storage_bucket test
- gcp_storage_bucket had a hard-coded bucket name. Making it based
  on the GCP project name to allow some attribution in the case of garbage
  detection.
2022-10-09 06:15:24 +00:00
The Magician
fe79a8b1e1
Add generator information to generated resources (#5016) (#449)
Signed-off-by: Modular Magician <magic-modules@google.com>
2021-07-29 18:41:37 -05:00
Alex Stephen
516fada880 Adding namespace on integration tests + examples
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-30 22:08:25 +00:00
Alex Stephen
6e397c7e4c Ansible test refactor (preparing for custom tests)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-10 21:45:03 +00:00
Alex Stephen
d7f9a2782f moving tests 2019-09-05 15:10:46 -07:00