terraform/github.tf

21 lines
421 B
HCL

terraform {
required_providers {
github = {
source = "integrations/github"
version = "~> 5.0"
}
}
}
# Configure the GitHub Provider
provider "github" {
token = "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"
}
resource "github_repository" "example" {
name = "example"
description = "My awesome codebase"
visibility = "public"
}