github.com/cornelk/go-cloud@v0.17.1/internal/admin/main.tf (about) 1 # Copyright 2018 The Go Cloud Development Kit Authors 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # https://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 15 terraform { 16 backend "gcs" { 17 bucket = "go-cloud-tfstate" 18 } 19 20 required_version = "~>0.12" 21 } 22 23 provider "github" { 24 version = "~> 2.0" 25 organization = "google" 26 token = var.github_token 27 } 28 29 provider "google" { 30 version = "~> 2.5" 31 } 32 33 module "go_cloud_repo" { 34 source = "./repository" 35 name = "go-cloud" 36 description = "The Go Cloud Development Kit (Go CDK): A library and tools for open cloud development in Go." 37 homepage_url = "https://gocloud.dev/" 38 39 topics = [ 40 "cloud", 41 "golang", 42 "portable", 43 "server", 44 "multi-cloud", 45 "hybrid-cloud", 46 "go", 47 "aws", 48 "gcp", 49 "azure", 50 ] 51 } 52 53 module "wire_repo" { 54 source = "./repository" 55 name = "wire" 56 description = "Compile-time Dependency Injection for Go" 57 58 topics = [ 59 "go", 60 "golang", 61 "dependency-injection", 62 "codegen", 63 "initialization", 64 ] 65 } 66