JamesWoolfenden / terraform-gcp-artifact-reader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

terraform-gcp-artifact-reader

Build Status Latest Release pre-commit pre-commit

module "reader" {
  source = "JamesWoolfenden/cluster/gcp"
  region = "europe-west2"
  repo   = "pike-gcp"
  members = [
    "user:james.woolfenden@gmail.com",
  ]
}

Requirements

No requirements.

Providers

Name Version
google n/a

Modules

No modules.

Resources

Name Type
google_artifact_registry_repository_iam_member.members resource
google_artifact_registry_repository.repo data source

Inputs

Name Description Type Default Required
members Those repo readers set(string) n/a yes
region Location for the app string n/a yes
repo Repository string n/a yes

Outputs

No outputs.

Role and Permissions

The Terraform resource required is:

resource "google_project_iam_custom_role" "terraform_pike" {
  project     = "pike"
  role_id     = "terraform_pike"
  title       = "terraform_pike"
  description = "A user with least privileges"
  permissions = [
    "compute.instanceGroupManagers.get",
    "container.clusters.create",
    "container.clusters.delete",
    "container.clusters.get",
    "container.clusters.update",
    "container.operations.get",
    "iam.serviceAccounts.actAs"
  ]
}

Related Projects

Check out these related projects.

Help

Got a question?

File a GitHub issue.

Contributing

Bug Reports & Feature Requests

Please use the issue tracker to report any bugs or file feature requests.

Copyrights

Copyright © 2023 James Woolfenden

License

License

See LICENSE for full details.

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Contributors

James Woolfenden
James Woolfenden

About

License:Apache License 2.0


Languages

Language:Makefile 47.9%Language:HCL 31.8%Language:PowerShell 8.4%Language:Python 6.7%Language:Shell 5.2%