52eb83758f
* TF provider >= 4.54.0 now returns `rsa_encrypted_key` for `google_compute_disk.disks["attached-disk"]` (see hashicorp/terraform-provider-google#4448) * Add this field to expected model to fix test assertion failure * Update required TF provider to 4.55.0 (latest) since the assertion will now fail with <4.54.0, which do not return `rsa_encrypted_key` * Updated the whole repo on advice from @ludoo |
||
---|---|---|
.. | ||
README.md | ||
main.tf | ||
outputs.tf | ||
variables.tf | ||
versions.tf |
README.md
Google Cloud Container Registry Module
This module simplifies the creation of GCS buckets used by Google Container Registry.
Example
module "container_registry" {
source = "./fabric/modules/container-registry"
project_id = "myproject"
location = "EU"
iam = {
"roles/storage.admin" = ["group:cicd@example.com"]
}
}
# tftest modules=1 resources=2
Variables
name | description | type | required | default |
---|---|---|---|---|
project_id | Registry project id. | string |
✓ | |
iam | IAM bindings for topic in {ROLE => [MEMBERS]} format. | map(list(string)) |
{} |
|
location | Registry location. Can be US, EU, ASIA or empty. | string |
"" |
Outputs
name | description | sensitive |
---|---|---|
bucket_id | ID of the GCS bucket created. |