Add module.redis.tf to your code:-
module "redis" {
source = "JamesWoolfenden/redis/gcp"
version = "0.0.1"
}
gcloud auth application-default login --project yourproj
No requirements.
Name | Version |
---|---|
n/a |
No modules.
Name | Type |
---|---|
google_redis_instance.pike | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
cache | n/a | object({ |
n/a | yes |
labels | n/a | map(any) |
n/a | yes |
region | n/a | string |
n/a | yes |
No outputs.
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 = [
"artifactregistry.repositories.create",
"artifactregistry.repositories.delete",
"artifactregistry.repositories.get",
"artifactregistry.repositories.update",
"cloudkms.cryptoKeys.getIamPolicy",
"cloudkms.cryptoKeys.setIamPolicy"
]
}
Check out these related projects.
- terraform-aws-codecommit - Storing ones code
Got a question?
File a GitHub issue.
Please use the issue tracker to report any bugs or file feature requests.
Copyright � 2023 James Woolfenden
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.